rce-incorporated / Fiu

Luau bytecode interpreter for Luau
MIT License
91 stars 18 forks source link

Fix issue with closure upvalue capturing #9

Closed green-real closed 9 months ago

green-real commented 9 months ago

Fixed an issue with closures not being able to capture themselves as upvalues, because they did not exist on the stack while the captures were being handled.

Added new staging test for this resolved issue to make sure it remains resolved in the future.