flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35112) Escape Backslashes not Retained in String Literals, Result in Syntax Error
Date Sun, 17 Jul 2016 10:56:20 GMT

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

Harbs commented on FLEX-35112:
------------------------------

I fixed up the description to use code blocks.

> Escape Backslashes not Retained in String Literals, Result in Syntax Error
> --------------------------------------------------------------------------
>
>                 Key: FLEX-35112
>                 URL: https://issues.apache.org/jira/browse/FLEX-35112
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>            Reporter: Yishay Weiss
>
> - In as3 insert line:
> {code:ActionScript}
> var bs:String = "\\";
> {code}
> -compile
> expected:
> {code:JavaScript}
> var /** @type {string} */ bs = "\\";
> {code}
> actual:
> {code:JavaScript}
> var /** @type {string} */ bs = "\";
> {code}
> and a syntax error:
> Invalid or unexpected token,..



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

Mime
View raw message