mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 06:08:41 +01:00
vm; handle errors from fn.call (still investigating)
This commit is contained in:
@ -1018,6 +1018,7 @@ static WrenInterpretResult runInterpreter(WrenVM* vm, register ObjFiber* fiber)
|
||||
case METHOD_FUNCTION_CALL:
|
||||
STORE_FRAME();
|
||||
method->as.primitive(vm, args);
|
||||
if (wrenHasError(fiber)) RUNTIME_ERROR();
|
||||
LOAD_FRAME();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user