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
{code:java}
var o:Object = {};
o["\\"] = "Bonjour";
{code}

The JS output with missing backslash cause error.

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



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

Mime
View raw message