From 4cd9a2bcbc63dc9fb762fa55e15ae798c6ae8f8f Mon Sep 17 00:00:00 2001 From: geseq <5458743+geseq@users.noreply.github.com> Date: Sat, 2 Nov 2019 07:36:47 +0100 Subject: [PATCH] fix #231 (#235) --- stdlib/os_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/os_file.go b/stdlib/os_file.go index ee9f625..bd3d6e2 100644 --- a/stdlib/os_file.go +++ b/stdlib/os_file.go @@ -82,7 +82,7 @@ func makeOSFile(file *os.File) *objects.ImmutableMap { }, // stat() => imap(fileinfo)/error "stat": &objects.UserFunction{ - Name: "start", + Name: "stat", Value: func(args ...objects.Object) (ret objects.Object, err error) { if len(args) != 0 { return nil, objects.ErrWrongNumArguments