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

insert a comment block in an arithmetic expression, compiler error occurred. ( 演算式の中にコメントブロックを挿入するとコンパイラエラーになる )

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: Japanese

    Description

      Steps to reproduce:
      1.input this code.
      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
      <fx:Script>
      <![CDATA[
      protected override function createChildren() : void

      { super.createChildren(); var x_:Number; x_ = 100 /* hoge */ + 2; //OK x_ = 100 /* hoge */ - 2; //OK x_ = 100 /* hoge */ / 2; //NG x_ = 100 /* hoge */ * 2; //NG }

      ]]
      >
      </fx:Script>
      </s:Application>

      Actual Results:
      Compiler error occur.

      Expected Results:
      Compiler error doesn't occur.

      Workaround (if any):
      none.
      Incidentally, Flex SDK 3 is doesn't occur.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: