luau/Common/include/Luau
vegorov-rbx 68cdcc4a3a
Sync to upstream/release/677 (#1872)
# What's Changed?

This week comes with many improvements to the new type solver and an important fix to the garbage collection to make it more robust in memory constrained scenarios.

# Runtime
- Garbage collection will no longer run out of memory itself, which could have happened when resizing arrays to a smaller size

# New Type Solver
- Type refinements on external types should now work and should no longer normalize the type into `never`
- Improved error reporting when `string.format` is used with a dynamic format string
- Updated type signature of `getmetatable` library function to use the corresponding type function and produce better type inference
- Restored a type mismatch error when converting function types with different number of generic parameters, like `() -> ()` into `<T>() -> ()`
- Types resulting from compound assignments have been simplified, reducing cyclic type introduction and inference failures
- Fixed function generic types leaking into tables during bidirectional type inference (Fixes #1808 and #1821 )
- Stability and performance improvements (Fixes #1860 )

# Internal Contributors

Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Ariel Weiss <aaronweiss@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: Vighnesh Vijay <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2025-06-06 11:52:47 -07:00
..
Bytecode.h Implement support for math.lerp (#1608) 2025-01-09 09:42:07 -08:00
BytecodeUtils.h Sync to upstream/release/631 (#1299) 2024-06-20 16:37:55 -07:00
Common.h Sync to upstream/release/650 (#1502) 2024-11-01 12:06:07 -07:00
DenseHash.h Sync to upstream/release/631 (#1299) 2024-06-20 16:37:55 -07:00
ExperimentalFlags.h Sync to upstream/release/677 (#1872) 2025-06-06 11:52:47 -07:00
Variant.h Sync to upstream/release/651 (#1513) 2024-11-08 13:41:45 -08:00
VecDeque.h Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00