Improve compatibility with lua 5.2.

This commit is contained in:
James Roseborough
2012-09-20 05:15:31 +00:00
parent 406068190b
commit 4d8877e56b
7 changed files with 69 additions and 41 deletions

View File

@@ -555,5 +555,10 @@ public class FragmentsTest extends TestSuite {
"end\n"+
"g()\n");
}
public void testNullError() {
runFragment( LuaValue.varargsOf(LuaValue.FALSE, LuaValue.NIL),
"return pcall(error)\n");
}
}
}