flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35231) [FalconJX] Context Lost on Event Listeners
Date Tue, 27 Dec 2016 09:10:58 GMT
Yishay Weiss created FLEX-35231:
-----------------------------------

             Summary: [FalconJX] Context Lost on Event Listeners
                 Key: FLEX-35231
                 URL: https://issues.apache.org/jira/browse/FLEX-35231
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
            Reporter: Yishay Weiss


When there are callbacks in which event listeners are added, the compiler calls the Language.closure
method with incorrect arguments, namely the second argument should be 'self' rather than 'this'.

For example, in this test app:
https://paste.apache.org/3GsA

The result is:
https://paste.apache.org/C0P2

Consequently if you run the test app in release (strict) mode you'll get a run time error.





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

Mime
View raw message