flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35143) Backslash escape problem
Date Wed, 02 Nov 2016 19:41:58 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630212#comment-15630212
] 

Alex Harui commented on FLEX-35143:
-----------------------------------

I added a unit test for this case.

> 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
>            Assignee: Alex Harui
>             Fix For: Apache FalconJX 0.8.0
>
>
> 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