What's Changed
As always, a weekly Luau update!
This week we have further improvements to new type solver, fixing a few of the popular issues reported. The fragment autocomplete is even more stable and we believe it's ready for broader use.
Aside from that we have a few general fixes/improvements:
- Fixed data race when multi-threaded typechecking is used, appearing as a random crash at the end of typechecking
- AST data is now available from
Luau::Module
New Type Solver
- Fixed type refinements made by function calls which could attach
nil
as an option of a type before (Fixes #1528) - Improved bidirectional typechecking in tables (Fixes #1596)
- Fixed normalization of negated types
getmetatable()
onany
type should no longer report an error
Fragment Autocomplete
- Fixed auto-complete suggestions being provided inside multiline comments
- Fixed an assertion failure that could happen when old type solver was used
- Fixed issues with missing suggestions when multiple statements are on the same line
- Fixed memory safety issues
Full Changelog: 0.663...0.664
Internal Contributors
Co-authored-by: Andy Friesen [email protected]
Co-authored-by: Hunter Goldstein [email protected]
Co-authored-by: Vighnesh Vijay [email protected]
Co-authored-by: Vyacheslav Egorov [email protected]