Page 1 of 1

[1.1.107] Crash with recursed concatenation of localisation strings

Posted: Thu May 02, 2024 1:27 am
by BurninSun

Code: Select all

/c local t = {""} t[2] = t game.print(t)
This code tries to recursively localize {"", {"", {"", {"", {"",....}}}}} eventually crashing due to stack overflow.

How to handle it (if at all) is left as an exercise for the developer.

Re: [1.1.107] Crash with recursed concatenation of localisation strings

Posted: Thu May 02, 2024 1:46 am
by Rseding91
Thanks for the report. Simply don’t do that.