-
Notifications
You must be signed in to change notification settings - Fork 690
Closed
Description
- GopherLua version : 2b3f02d
- go version go1.21.1 linux/amd64
- Linux 6.5.4-gentoo-x86_64
code:
file = "/tmp"
fd, _, code = io.open(file, "r")
_, _, ecode = fd:read(1)
print(ecode) Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio:
$ lua ~/tmp/f.lua
21Gopher-lua:
⨯ extra/wrapper.lua:17: read /tmp: is a directory
stack traceback:
[G]: in function 'read'
extra/wrapper.lua:17: in function 'exec'
<string>:1: in main chunk
[G]: ?
Lua works fine, gopher lua throws an exception.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels