Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35143

Backslash escape problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.7.0
    • Apache FalconJX 0.8.0
    • FlexJS
    • None
    • windows

    Description

      Backslash are lost in string with the JS conversion.

      The actionscript 3 code

      var o:Object = {};
      o["\\"] = "Bonjour";
      

      The JS output with missing backslash cause error.

      var /** @type {Object} */ o = {};
      o["\"] = "Bonjour";
      

      Attachments

        Activity

          People

            aharui Alex Harui
            scolabAndre Andre Lacasse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: