You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Andre Lacasse (JIRA)" <ji...@apache.org> on 2016/10/31 21:05:58 UTC

[jira] [Created] (FLEX-35143) Backslash escape problem

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)