Developing an editor plugin in maniascript I attempted to use the class CGameItemModel which inherits from CCollector and that has a "Name" member. However, the compiler kept erroring out telling me that Name was not a member of CGameItemModel. I then attempted to downcast to CCollector and I was able to access the "Name" no problem. This is an acceptable work around for me but it's slightly irritating because it creates a compiler warning about my downcast.
Here is a minimal example you can use to reproduce the compile error. Simply switch which line is commented out to see one of them compiles and one does not.
#RequireContext CMapEditorPlugin
main() {
log(Items[0].ItemModel.Name);
//log((Items[0].ItemModel as CCollector).Name);
}