Cyrill Zadra created FLEX-33714:
-----------------------------------

             Summary: Falcon compiler is stricter with ++ and -- operator on 
constants.
                 Key: FLEX-33714
                 URL: https://issues.apache.org/jira/browse/FLEX-33714
             Project: Apache Flex
          Issue Type: Bug
          Components: Falcon
    Affects Versions: Apache Falcon 1.0
            Reporter: Cyrill Zadra
             Fix For: Apache Falcon 1.0


private const testValue:int = 0;

            public function DecrementOperator()
            {           
                        testValue--;
                        testValue++;
            }
}

Falcon compiler throws error where legacy doesnt.

Do we need to make Falcon less strict or update Flex SDK code? 

(2 examples from flex sdk)
sdk\frameworks\projects\spark\src\spark\components\gridClasses\GridSelection.as:1399
sdk\frameworks\projects\spark\src\spark\components\gridClasses\GridSelection.as:1674




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to