1
0
Fork 0
mirror of https://github.com/luau-lang/luau.git synced 2025-04-08 12:50:54 +01:00
luau/EqSat/include/Luau
vegorov-rbx c2e72666d9
Sync to upstream/release/662 ()
## What's new

This update brings improvements to the new type solver, roundtrippable
AST parsing mode and closes multiple issues reported in this repository.

* `require` dependency tracing for non-string requires now supports `()`
groups in expressions and types as well as an ability to type annotate a
value with a `typeof` of a different module path
* Fixed rare misaligned memory access in Compiler/Typechecker on 32 bit
platforms (Closes )

## New Solver

* Fixed crash/UB in subtyping of type packs (Closes )
* Fixed incorrect type errors when calling `debug.info` (Closes 
and Resolves )
* Fixed incorrect boolean and string equality comparison result in
user-defined type functions (Closes )
* Fixed incorrect class types being produced in user-defined type
functions when multiple classes share the same name (Closes )
* Improved bidirectional typechecking for table literals containing
elements that have not been solved yet (Closes )

## Roundtrippable AST

* Added source information for `AstStatTypeAlias`
* Fixed an issue with `AstTypeGroup` node (added in ) producing
invalid AST json. Contained type is now named 'inner' instead of 'type'
* Fixed end location of the `do ... end` statement

---

Internal Contributors:

Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com>
Co-authored-by: Talha Pathan <tpathan@roblox.com>
Co-authored-by: Varun Saini <vsaini@roblox.com>
Co-authored-by: Vighnesh Vijay <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2025-02-21 10:24:12 -08:00
..
EGraph.h Sync to upstream/release/662 () 2025-02-21 10:24:12 -08:00
Id.h Sync to upstream/release/651 () 2024-11-08 13:41:45 -08:00
Language.h Sync to upstream/release/656 () 2025-01-10 11:34:39 -08:00
LanguageHash.h Sync to upstream/release/651 () 2024-11-08 13:41:45 -08:00
Slice.h Equality graphs () 2024-07-16 10:35:20 -07:00
UnionFind.h Sync to upstream/release/651 () 2024-11-08 13:41:45 -08:00