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
i'm v dumb about metatable stuff, but i'm able to resolve the stack overflow issue by building and adjusting a local tpairs table which reflects expose + except params. see https://www.diffchecker.com/fNViUcZr/ for side-by-side to current code (chose a different name just for differentiation in testing):
issue description + repro
going through documentation tasks, i realized that i expect
tab.readonly
to create a proxy which also inherits othertab
functionality, eg.tab.print
.repro script
since
tab.print
callspairs
, running the above results in aC stack overflow
pointing tonorns/lua/lib/tabutil.lua
Line 231 in 15c9cf9
workaround
i'm v dumb about metatable stuff, but i'm able to resolve the stack overflow issue by building and adjusting a local
tpairs
table which reflectsexpose
+except
params. see https://www.diffchecker.com/fNViUcZr/ for side-by-side to current code (chose a different name just for differentiation in testing):pairs workaround
if this is at all reasonable, i'd be happy to PR this fix -- or i'd be happy to PR a much better one with some quick guidance <3
The text was updated successfully, but these errors were encountered: