What steps will reproduce the problem?
1. calling methodBuilder.addAsmSource() with source string given in example
tutorial :)
What is the expected output? What do you see instead?
Exception is raised.
What version of the product are you using? On what operating system?
Checked out files from svn, today. Windows 7, Flash CS6.
Please provide any additional information below.
There are simple type cast problem, in MethodBodyBuilder.addAsmSource()
function. I've changed the following lines to fix it:
addOpcodes( result[0] );
to
addOpcodes( Vector.<Op>( result[0] ) );
and in function addBackPatches():
_backpatches = _backpatches.concat( newBackpatches );
to
_backpatches = _backpatches.concat( Vector.<JumpTargetData>(newBackpatches) );
BTW, great work, thanks!