flex-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/FLEX-35112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harbs updated FLEX-35112:
-------------------------
    Description: 
- 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,..

  was:
- In as3 insert line:
var bs:String = "\\";

-compile

expected:

var /** @type {string} */ bs = "\\";

actual:

var /** @type {string} */ bs = "\";
and a syntax error:
Invalid or unexpected token,..


> 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