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
{{ message }}
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.
As this is a fundamental issue with the interpreter, there isn't any direct way to solve the problem as a modder. Until it is fixed, I would recommend never using multiple assignment with table elements
This is a somewhat extreme solution, but if we consider our scripts to be written in 'TTS Lua', then it is the natural consequence of that language not supporting this feature, and ensures that the scripts will be 'forward-'compatible with normal lua
Describe the bug
Attempting to use multiple assignment on a table with a
__newindex
metamethod, only the first value will be forwarded to it.To Reproduce
Expected behavior
In the official Lua interpreter, this code outputs
Tabletop Simulator Info
Additional context
Upstream issue: moonsharp-devs/moonsharp#236
The text was updated successfully, but these errors were encountered: