Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile attached files using:
javac -classpath <path to flex-compiler-oem.java> OEMTest.java
2. Run using:
java -cp .:<path to flex-compiler-oem.java> OEMTest
Actual Results:
Loading configuration file /Users/hero/frameworks/flex-config.xml
/Users/gauravj/Downloads/ConditionalExcludeSprite.as(26): col: 19 Error: Duplicate function definition.
public function createShapes():void
^
compiler error? true
Loading configuration file /Users/hero/frameworks/flex-config.xml
/Users/gauravj/Downloads/ConditionalExcludeSprite.as(25): col: 11 Error: Access of undefined property Ellipse.
SHAPES::Ellipse
^
compiler error? true
Loading configuration file /Users/hero/frameworks/flex-config.xml
compiler error? false
Loading configuration file /Users/hero/frameworks/flex-config.xml
compiler error? false
The last compilation succeeds even though the conditional arguments are cleared.
Expected Results:
The last compilation should fail.
Workaround (if any):
Modify the java file and comment the swc cache..