You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Harbs (JIRA)" <ji...@apache.org> on 2016/07/17 10:55:20 UTC

[jira] [Updated] (FLEX-35112) Escape Backslashes not Retained in String Literals, Result in Syntax Error

     [ 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)