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 apologize if this is potentially an issue with mlua and I have misreported it, I wasn't able to debug further than this.
Tables with themselves as keys immediately crash lune with the following stack trace when printed to the console.
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
This only happens with tables that have themselves as keys. Any other sort of circular pattern works fine as long as a key does not contain a table higher in the heirarchy.
Reproduction:
localcircularValues= {}
circularValues.Self=circularValuesprint(circularValues) -- Works as expected, prints { Self = <self>, }localcircularKeys= {}
circularKeys[circularKeys] ="Self"print(circularKeys) -- Crashes lune, expect to see { [<self>] = "Self", } instead but lune appears to try to print the full table again inside the key
The text was updated successfully, but these errors were encountered:
I apologize if this is potentially an issue with mlua and I have misreported it, I wasn't able to debug further than this.
Tables with themselves as keys immediately crash lune with the following stack trace when printed to the console.
This only happens with tables that have themselves as keys. Any other sort of circular pattern works fine as long as a key does not contain a table higher in the heirarchy.
Reproduction:
The text was updated successfully, but these errors were encountered: