Skip to content

0.646

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Oct 18:43
543de6e

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 aaronweiss@roblox.com
Co-authored-by: Hunter Goldstein hgoldstein@roblox.com
Co-authored-by: Varun Saini vsaini@roblox.com
Co-authored-by: Vyacheslav Egorov vegorov@roblox.com

Full Changelog: 0.645...0.646