flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Lacasse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35143) Backslash escape problem
Date Mon, 31 Oct 2016 21:05:58 GMT
Andre Lacasse created FLEX-35143:

             Summary: Backslash escape problem
                 Key: FLEX-35143
                 URL: https://issues.apache.org/jira/browse/FLEX-35143
             Project: Apache Flex
          Issue Type: Bug
          Components: FlexJS
    Affects Versions: Apache FlexJS 0.7.0
         Environment: windows
            Reporter: Andre Lacasse

Backslash are lost in string with the JS conversion.

The actionscript 3 code
var o:Object = {};
o["\\"] = "Bonjour";

The JS output with missing backslash cause error.

var /** @type {Object} */ o = {};
o["\"] = "Bonjour";

This message was sent by Atlassian JIRA

View raw message