Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync to upstream/release/656 #1612

Merged
merged 3 commits into from
Jan 10, 2025
Merged

Sync to upstream/release/656 #1612

merged 3 commits into from
Jan 10, 2025

Conversation

hgoldstein
Copy link
Contributor

General

All code has been re-formatted by clang-format; this is not mechanically enforced, so Luau may go out-of-sync over the course of the year.

New Solver

  • Track free types interior to a block of code on Scope, which should reduce the number of free types that remain un-generalized after type checking is complete (e.g.: less errors like 'a <: number is incompatible with number).

Autocomplete

  • Fragment autocomplete now does not provide suggestions within comments (matching non-fragment autocomplete behavior).
  • Autocomplete now respects iteration and recursion limits (some hangs will now early exit with a "unification too complex error," some crashes will now become internal complier exceptions).

Runtime


Co-authored-by: Aaron Weiss [email protected]
Co-authored-by: David Cope [email protected]
Co-authored-by: Hunter Goldstein [email protected]
Co-authored-by: Vighnesh Vijay [email protected]
Co-authored-by: Vyacheslav Egorov [email protected]

Note: Fixed conflicts by hand in:
- Analysis/src/ConstraintGenerator.cpp
- CodeGen/src/OptimizeConstProp.cpp
- VM/src/lmathlib.cpp
- tests/Conformance.test.cpp
@hgoldstein hgoldstein merged commit c759cd5 into master Jan 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants