-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header.rightItems - Error code: 1046: Type was not found or was not a compile-time constant: DisplayObject. #30
Comments
Yes, I've noticed this issue. If I recall correctly, I could also reproduce it in the Flex SDK. For some reason, the compiler doesn't automatically import the type of the Vector if it isn't used elsewhere. As a workaround, I think you can explicitly declare the Vector, like this:
|
Ok kewl. I just thought it might be something that could be fixed, if not it really doesn't matter. :) |
I had planned to fix this one, but I decided to wait until after Feathers SDK 2.2 was released. I simply haven't found the time yet. |
It's fine, I just tried the Vector and it compiled fine. Seems like it shouldn't be a priority for you right now IMHO. |
Hey, I have been getting this error which obviously the compiler is not importing DisplayObject behind the scenes, you run into this?
If I add
import starling.display.DisplayObject;
the error goes away.The text was updated successfully, but these errors were encountered: