luau/fuzz
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
..
basic.luau chore: update applicable .lua files to .luau (#1560) 2025-02-21 14:29:20 -08:00
CMakeLists.txt Sync to upstream/release/674 (#1832) 2025-05-16 12:39:58 -07:00
compiler.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
format.cpp Sync to upstream/release/570 (#885) 2023-03-31 11:42:49 -07:00
libprotobuf-mutator-patch.patch Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -08:00
linter.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
luau.proto Sync to upstream/release/678 (#1878) 2025-06-13 09:36:35 -07:00
number.cpp Sync to upstream/release/517 (#408) 2022-03-04 08:36:33 -08:00
parser.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
proto.cpp Sync to upstream/release/679 (#1884) 2025-06-20 15:55:42 -07:00
protoprint.cpp Sync to upstream/release/684 (#1930) 2025-07-25 15:33:42 -07:00
prototest.cpp Sync to upstream/release/516 (#397) 2022-02-24 15:53:37 -08:00
syntax.dict Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
transpiler.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
typeck.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00