Andy Dufilie created FLEX-35012:
-----------------------------------
Summary: Classes internal to a package-level function get null
package
Key: FLEX-35012
URL: https://issues.apache.org/jira/browse/FLEX-35012
Project: Apache Flex
Issue Type: Bug
Components: FalconJX
Affects Versions: Apache FalconJX 0.5.0
Reporter: Andy Dufilie
Priority: Minor
AS input:
{code}
package foo.bar {
public function testPackageLevelFunction():Number {
return Internal.x;
}
}
internal class Internal {
public static const x:Number = 3;
}
{code}
Incorrect JS output:
{code}
goog.provide('foo.bar.testPackageLevelFunction');
foo.bar.testPackageLevelFunction = function() {
return null.Internal.x;
}
null.Internal = function() {
};
null.Internal.x = 3;
null.Internal.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Internal',
qName: 'null.Internal'}] };
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)