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
gi> import "time"
elapsed: '14.527µs'
gi> time.Now()
elapsed: '128.408µs'
gi> a:=time.Now()
error from Lua vm.Call(0,0): '[string "..."]:1: attempt to index global '__type__time' (a nil value)'. supplied lua with: ' a = __gi_clone2(time.Now(), __type__time.Time);'
lua stack:
========== begin DumpLuaStack: top = 1
DumpLuaStack: i=1, t= 4
String : [string "..."]:1: attempt to index global '__type__time' (a nil value)
========= end of DumpLuaStack
gi>
The Luar wrapped Go value for the time.Time{} is coming back just fine, but the type system needs to be taught how to name types from non-main packages.
The text was updated successfully, but these errors were encountered:
The Luar wrapped Go value for the time.Time{} is coming back just fine, but the type system needs to be taught how to name types from non-main packages.
The text was updated successfully, but these errors were encountered: