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
To produce the problem, create a script file testx.lua containing the text assert(false). (I cannot generate the problem by typing this into the interpreter/repl, it has to be in a script file.)
Then invoke the debug build of the interpreter like this:
$ ./luau -i testx.lua
One gets an error message and prompt in the interpreter, as expected. Press any key. Now the interpreter crashes. Here's a sample session:
### What's new?
* Remove a case of unsound `table.move` optimization
* Add Luau stack slot reservations that were missing in REPL (fixes#1273)
### New Type Solver
* Assignments have been completely reworked to fix a case of cyclic
constraint dependency
* When indexing, if the fresh type's upper bound already contains a
compatible indexer, do not add another upper bound
* Distribute type arguments over all type families sans `eq`, `keyof`,
`rawkeyof`, and other internal type families
* Fix a case where `buffers` component weren't read in two places (fixes#1267)
* Fix a case where things that constitutes a strong ref were slightly
incorrect
* Fix a case where constraint dependencies weren't setup wrt `for ...
in` statement
### Native Codegen
* Fix an optimization that splits TValue store only when its value and
its tag are compatible
* Implement a system to plug additional type information for custom host
userdata types
---
### Internal Contributors
Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Vighnesh Vijay <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
---------
Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: David Cope <dcope@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
I've confirmed this issue against c8fe77c, though I think it's been around for longer.
I have to make some small changes to the source to be able to build on my system, but I don't think these are responsible. The changes are:
My system is a Mac OS 10.15.7 with MacPorts.
The issue only arises with a debug build of Luau. Here is my build command:
To produce the problem, create a script file
testx.lua
containing the textassert(false)
. (I cannot generate the problem by typing this into the interpreter/repl, it has to be in a script file.)Then invoke the debug build of the interpreter like this:
One gets an error message and prompt in the interpreter, as expected. Press any key. Now the interpreter crashes. Here's a sample session:
The text was updated successfully, but these errors were encountered: