flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Tynjala (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34912) Object class in JS.swc is not dynamic, resulting in error when setting properties
Date Tue, 21 Jul 2015 23:20:04 GMT
Josh Tynjala created FLEX-34912:
-----------------------------------

             Summary: Object class in JS.swc is not dynamic, resulting in error when setting
properties
                 Key: FLEX-34912
                 URL: https://issues.apache.org/jira/browse/FLEX-34912
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
    Affects Versions: Apache FalconJX 0.0.3
            Reporter: Josh Tynjala


Try the following code:

var test:Object = {};
test.whatever = "some value";

The compiler will give the following error:

Access of possibly undefined property whatever.

The reason is because the Object class in JS.swc isn't marked as dynamic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message