Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3331C200B47 for ; Sun, 17 Jul 2016 12:55:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31F56160A6C; Sun, 17 Jul 2016 10:55:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0371160A6B for ; Sun, 17 Jul 2016 12:55:21 +0200 (CEST) Received: (qmail 46548 invoked by uid 500); 17 Jul 2016 10:55:20 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 46539 invoked by uid 99); 17 Jul 2016 10:55:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2016 10:55:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8885C2C029F for ; Sun, 17 Jul 2016 10:55:20 +0000 (UTC) Date: Sun, 17 Jul 2016 10:55:20 +0000 (UTC) From: "Harbs (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-35112) Escape Backslashes not Retained in String Literals, Result in Syntax Error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 17 Jul 2016 10:55:22 -0000 [ 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)