Improve bytecode generation.

This commit is contained in:
James Roseborough
2010-08-12 05:26:02 +00:00
parent 386e89aedf
commit 02be06c7b6
2 changed files with 16 additions and 1 deletions

View File

@@ -535,7 +535,7 @@ public class FragmentsTest extends TestSuite {
"return 5\n" );
}
public void testTwoLoops() {
public void testLoopVarUpvalues() {
runFragment( LuaValue.valueOf("b"),
"local env = {}\n" +
"for a,b in pairs(_G) do\n" +