You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Andy Dufilie (JIRA)" <ji...@apache.org> on 2016/01/18 17:35:39 UTC
[jira] [Created] (FLEX-35012) Classes internal to a package-level
function get null package
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)