Skip to content

0.696

Choose a tag to compare

@github-actions github-actions released this 17 Oct 17:36
Immutable release. Only release title and notes can be modified.
6169fa1

Hey everyone. In preparation for the next phase of the New Type Solver rollout, we have another round of important bugfixes.

We've also got a few improvements to the new require alias machinery and a little optimization to native codegen.

New Type Solver

  • Fix a case where Luau would erroneously simplify {} & { p: number | string } to number.
  • Fix a crash that could occur in subtyping involving generic packs.
  • Fix a case where Luau would infer a spurious union type as the result of a setmetatable call.
  • Fix #1803
  • Improve bidirectional inference of table literals in the case that the expected type has an indexer.

Luau.Require

  • Zero-initialize luarequire_Configuration function pointers before user initialization
  • Error if ambiguity is detected during alias discovery

Native Codegen

  • Do not replace known constant value with a load propagation in STORE_TVALUE

Full Changelog: 0.695...696


Co-authored-by: Annie Tang annietang@roblox.com
Co-authored-by: Hunter Goldstein hgoldstein@roblox.com
Co-authored-by: Sora Kanosue skanosue@roblox.com
Co-authored-by: Varun Saini vsaini@roblox.com
Co-authored-by: Vyacheslav Egorov vegorov@roblox.com