parent
388b3e73b0
commit
4cd9a2bcbc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue