piccolo icon indicating copy to clipboard operation
piccolo copied to clipboard

RawTable fmt::Debug implementation can overflow stack

Open jihiggins opened this issue 1 year ago • 0 comments

When printing a table with {:?}, if it has __index set to itself, it overflows the stack by recursively printing itself

Not entirely sure what the desired behavior should be, especially since the cycles probably won't always be that simple? But right now, debug printing the wrong thing will cause it to crash 😬

jihiggins avatar Jul 26 '24 17:07 jihiggins