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/607 #1131

Merged
merged 23 commits into from
Dec 15, 2023
Merged

Sync to upstream/release/607 #1131

merged 23 commits into from
Dec 15, 2023

Conversation

aatxe
Copy link
Collaborator

@aatxe aatxe commented Dec 15, 2023

What's changed?

  • Fix up the std::iterator_traits definitions for some Luau data structures.
  • Replace some of the usages of std::unordered_set and std::unordered_map with Luau-provided data structures to increase performance and reduce overall number of heap allocations.
  • Update some of the documentation links in comments throughout the codebase to correctly point to the moved repository.
  • Expanded JSON encoder for AST to support singleton types.
  • Fixed a bug in luau-analyze where exceptions in the last module being checked during multithreaded analysis would not be rethrown.

New type solver

  • Introduce a refine type family to handle deferred refinements during type inference, replacing the old RefineConstraint.
  • Continued work on the implementation of type states, fixing some known bugs/blockers.
  • Added support for variadic functions in new non-strict mode, enabling broader support for builtins and the Roblox API.

Internal Contributors

Co-authored-by: Aaron Weiss [email protected]
Co-authored-by: Alexander McCord [email protected]
Co-authored-by: Andy Friesen [email protected]
Co-authored-by: Vyacheslav Egorov [email protected]

@aatxe aatxe merged commit ff502f0 into master Dec 15, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants