luau/tests/conformance
ayoungbloodrbx 66202dc4ac
Sync to upstream/release/684 (#1930)
## General
- Support AstStatDeclareGlobal output as a source string (via
@karl-police in #1889)
- Luau heap dump correctly reports the size of a string, now including
overhead for the string type
- Prevent yields from Luau `xpcall` error handling function.
 
## Analysis
- Avoid exponential blowup when normalizing union of normalized free
variables.
- Fix type pack-related bugs that caused infinite recursion when:
  - A generic type pack was bound to itself during subtyping.
- In type pack flattening, when that same generic type pack was now
being bound another generic type pack which contained it.
- Properly simplify `any & (*error-type* | string)` to `*error-type* |
*error-type* | string` instead of hanging due to creating a huge union
type.

---

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: Vyacheslav Egorov <vegorov@roblox.com>

---------

Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com>
Co-authored-by: Varun Saini <61795485+vrn-sn@users.noreply.github.com>
Co-authored-by: Menarul Alam <malam@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Ariel Weiss <aaronweiss@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
2025-07-25 15:33:42 -07:00
..
apicalls.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
assert.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
attrib.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
basic.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
bitwise.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
buffers.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
calls.luau Sync to upstream/release/684 (#1930) 2025-07-25 15:33:42 -07:00
clear.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
closure.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
constructs.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
coroutine.luau Sync to upstream/release/684 (#1930) 2025-07-25 15:33:42 -07:00
coverage.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
cyield.luau Sync to upstream/release/671 (#1787) 2025-04-25 14:19:27 -07:00
datetime.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
debug.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
debugger.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
errors.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
events.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
exceptions.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
gc.luau Sync to upstream/release/677 (#1872) 2025-06-06 11:52:47 -07:00
ifelseexpr.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
interrupt.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
iter.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
literals.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
locals.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
math.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
move.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
native.luau Sync to upstream/release/682 (#1912) 2025-07-11 11:36:47 -07:00
native_types.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
native_userdata.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
ndebug_upvalues.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
pcall.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
pm.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
safeenv.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
sort.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
strconv.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
stringinterp.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
strings.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
tables.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
tmerror.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
tpack.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
types.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
userdata.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
utf8.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
vararg.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
vector.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
vector_library.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00