1
0

fix function call

This commit is contained in:
otya128
2016-12-02 21:30:58 +09:00
parent ccc9da91e1
commit bc48b11efa

View File

@@ -1269,6 +1269,7 @@ class CallFunctionCode : Code
void resolve(VM vm)
{
func = vm.currentSlot.functions.get(name, null);
if (!func)
throw new SyntaxError(name);
}
override void execute(VM vm)