Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile an app containing the following code:
<Rect height="100" width="20" left="05" top="70">
<fill>
<SolidColor color="0xFFFFFF"/>
</fill>
<stroke>
<SolidColorStroke color="0x4769C4" weight="10"/>
</stroke>
</Rect>
2. Change the "05" to "-05" and recompile
Actual Results:
1. Compiler error: cannot parse value of type Number from text '05'.
2. Compiles fine, interpreting the string as -5
Expected Results:
1. Should compile fine just like 2 (except interpreting the string as +5)
Workaround (if any):
Remove any leading 0s.