mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
fix do wrap bugs
This commit is contained in:
@@ -94,11 +94,7 @@ func runCall(c call, stack stack) (any, ArErr) {
|
||||
level[param] = args[i]
|
||||
}
|
||||
resp, err := runVal(x.run, append(x.stack, level))
|
||||
switch x := resp.(type) {
|
||||
case PassBackJumpStatment:
|
||||
resp = x.value
|
||||
}
|
||||
return resp, err
|
||||
return openJump(resp), err
|
||||
}
|
||||
return nil, ArErr{"Runtime Error", "type '" + typeof(callable) + "' is not callable", c.line, c.path, c.code, true}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user