0.696
Immutable
release. Only release title and notes can be modified.
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 }tonumber. - 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
setmetatablecall. - Fix #1803
- Improve bidirectional inference of table literals in the case that the expected type has an indexer.
Luau.Require
- Zero-initialize
luarequire_Configurationfunction 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