diff options
Diffstat (limited to 'vm0/func.go')
| -rw-r--r-- | vm0/func.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm0/func.go b/vm0/func.go index 6976530..ee503bc 100644 --- a/vm0/func.go +++ b/vm0/func.go @@ -60,7 +60,7 @@ func (i *Interp) declareFunc(r *parser.Node, scope string) { for _, arg := range args { i.push(arg.Interface()) } - if _, err := i.Run(r.Child[len(r.Child)-1], fscope); err != nil { + if err := i.Run(r.Child[len(r.Child)-1], fscope); err != nil { panic(err) } b := len(i.stack) - len(out) |
