0.646
What's Changed?
- Fix some cases where documentation symbols would not be available when mouseovering at certain positions in the code
- Scaffolding to help embedders have more control over how
typeof(x)
refines types - Refinements to require-by-string semantics. See luau-lang/rfcs#56 for details.
New Solver
- Fix many crashes in the new solver (thanks you for your bug reports!)
- Type functions all evaluate in a single VM. This should improve typechecking performance and reduce memory use.
export type function
is now forbidden and fails with a clear error message- Type functions that access locals in the surrounding environment are now properly a parse error
- You can now use
:setindexer(types.never, types.never)
to delete an indexer from a table type.
Internal Contributors
Co-authored-by: Aaron Weiss [email protected]
Co-authored-by: Hunter Goldstein [email protected]
Co-authored-by: Varun Saini [email protected]
Co-authored-by: Vyacheslav Egorov [email protected]
Full Changelog: 0.645...0.646