fix getindex and add debug

This commit is contained in:
2023-06-16 10:02:16 +01:00
parent ec53db45d5
commit 3071da2e2d
5 changed files with 13 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ func parseCall(code UNPARSEcode, index int, codelines []UNPARSEcode) (any, bool,
}
func runCall(c call, stack stack, stacklevel int) (any, ArErr) {
var callable any
var callable any = c.callable
switch x := c.callable.(type) {
case builtinFunc:
callable = x