Is the "a" array really two dimentional (check, don't assume)?
In my script it is:
var a = [ [ 0 ] ];
var a = [ [ 0 ] ];
To copy to clipboard, switch view to plain text mode
I don't have expert ECMAScript knowledge, but such definition looks surely to be two-dimensional.
So this works? <evaluate skipped>
Yep. And code after it crash:
for(;;)
{
QScriptValue oFnStart = oEngine.evaluate( "OnStart" );
Q_ASSERT( oFnStart.isFunction() );
oFnStart.call(); // Crash here in deep bytecode interpreter internals.
}
for(;;)
{
QScriptValue oFnStart = oEngine.evaluate( "OnStart" );
Q_ASSERT( oFnStart.isFunction() );
oFnStart.call(); // Crash here in deep bytecode interpreter internals.
}
To copy to clipboard, switch view to plain text mode
Bookmarks