ActionScript 3 compiler - - bug
We have found a nice bug in mxmlc compiller
var a:Number = 10;
var b:Number = 20;
var c:Number = a - - b;
trace (c);
It’s correct! Result is 30. But mxmlc ant task doesn’t compile this code sometimes…
It’s very surprising bug.
February 19th, 2008 at 2:35 am
I tried the same with Flex builder 3 milestone 4 SDK but got the correct answer, i faced the same problem while using the Flex ant task and using mxmlc, can you guys tell me how did you came to know? reason is while using Flex builder, it gives correct but same with Ant Taks fails.