LuaValue[] stack = new LuaValue[p.maxstacksize];
System.arraycopy(Constants.NILS, 0, stack, 0, p.maxstacksize);
switch (p.numparams) {
default:
stack[0] = arg;
<BUG>return execute(state, stack, Constants.NONE).eval(state).arg1();
</BUG>
case 0:
<BUG>return execute(state, stack, arg).eval(state).arg1();
</BUG>
}

LuaValue[] stack = new LuaValue[p.maxstacksize];
System.arraycopy(Constants.NILS, 0, stack, 0, p.maxstacksize);
return execute(state, stack, Constants.NONE).eval(state).first();
