diff options
Diffstat (limited to 'repl')
-rw-r--r-- | repl/repl.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repl/repl.go b/repl/repl.go index feccbe4..f90313e 100644 --- a/repl/repl.go +++ b/repl/repl.go @@ -215,7 +215,7 @@ func MakeLoad() func(thread *starlark.Thread, module string) (starlark.StringDic cache[module] = nil // Load it. - thread := &starlark.Thread{Load: thread.Load} + thread := &starlark.Thread{Name: "exec " + module, Load: thread.Load} globals, err := starlark.ExecFile(thread, module, nil, nil) e = &entry{globals, err} |