Compiler error in AESKey: for-loops in static initializers should be nested inside anonymous functions
Opened this issue · 0 comments
GoogleCodeExporter commented
{ // start initializer
(function():void
{
var i : uint;
for (i = 0; i < 256; i++)
{
//do whatever
}
} ( )); // function is called directly
} // end initializer
If for loops reside directly inside the initializer, the code is marked as
unreachable, and the flex compiler will not compile the class.
I have attached a corrected version of the AESKey Class.
Original issue reported on code.google.com by tobiasgo...@me.com
on 4 Oct 2010 at 10:17
Attachments: