You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must post issues only here. Questions, ideas must be posted in discussions.
GopherLua is a Lua5.1 implementation. You should be familiar with Lua programming language. Have you read Lua 5.1 reference manual carefully?
GopherLua is a Lua5.1 implementation. In Lua, to keep it simple, it is more important to remove functionalities rather than to add functionalities unlike other languages . If you are going to introduce some new cool functionalities into the GopherLua code base and the functionalities can be implemented by existing APIs, It should be implemented as a library.
Please answer the following before submitting your issue:
What version of GopherLua are you using? : newest version from git pull
What version of Go are you using? : 1.19.5
What operating system and processor architecture are you using? : Windows 10 64 bit on AMD
What did you do? : Tried running Ikemen GO, which depends on gopher-lua v0.0.0-20220504180219-658193537a64.
local a, b, c = "1", "3", "1"
a, b, c= tonumber(a), tonumber(b) or a, tonumber(c)
print(a, type(a), b, type(b), c, type(c))
printed 1, number, 3, string, 1, number
and the expected type for all 3 arguments should be equal to number.
It seemed I was getting my start crash result as of a few weeks ago with gopher-lua's 1.0.0 update. In the end, I was only suggested to either downgrade the gopher-lua version I was using to v0.0.0-20220504180219-658193537a64, and/or bring it up over here, but this team should certainly know.
The text was updated successfully, but these errors were encountered:
You must post issues only here. Questions, ideas must be posted in discussions.
Please answer the following before submitting your issue:
A performed test here:
printed
1, number, 3, string, 1, number
and the expected type for all 3 arguments should be equal to number.
It seemed I was getting my start crash result as of a few weeks ago with gopher-lua's 1.0.0 update. In the end, I was only suggested to either downgrade the gopher-lua version I was using to v0.0.0-20220504180219-658193537a64, and/or bring it up over here, but this team should certainly know.
The text was updated successfully, but these errors were encountered: