diff -r b01ee7446984 -r 457110815c87 src/BytecodeCompiler.cpp --- a/src/BytecodeCompiler.cpp Sat Aug 04 21:06:47 2012 -0700 +++ b/src/BytecodeCompiler.cpp Sat Aug 04 21:23:39 2012 -0700 @@ -238,7 +238,6 @@ __ dup(); __ getfield(expr->fieldIndex(), expr->type()); } - } else { IndexExpression *index = node->lvalue()->toIndexExpression(); __ note_position(index->pos()); @@ -295,7 +294,7 @@ // :TODO: get rid of the BOUNDS instruction, embed it in g/setarray*? // We can't emit it here because the stack is slightly out of position. // __ bounds(); - __ setarray(index->left()->type()->contained()); + __ setarray(index->left()->type()); } }