-inline Argument Causes RTE
If I add the -inline compiler option to my game library project, it builds fine, but when running the game, I get run time errors:
[Fault] exception, information=ReferenceError: Error #1069: Property com.pblabs.engine:PBE::_main not found on class com.pblabs.engine.PBE and there is no default value.
_main is a private static sprite on class PBE which is used when I access a public static getter like this: PBE.mainStage. I can confirm when this error occurs that _main and _main.stage are populated. I haven't added any [Inline] tags to my poject - just the compiler option and I'm using AIR 3.8 Beta.
Can someone please help me understand why this is happening? Should I submit a bug or is this normal behaviour?
