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/649 #1489

Merged
merged 204 commits into from
Oct 25, 2024
Merged

Sync to upstream/release/649 #1489

merged 204 commits into from
Oct 25, 2024

Conversation

aatxe
Copy link
Collaborator

@aatxe aatxe commented Oct 25, 2024

What's new?

  • More progress on the upcoming analysis API for fragment type inference.
  • Fix a bug in type normalization where intersection did not appropriately respect resource limits (affects new and old type solvers).
  • Allow type normalization to track cyclic pairs of types in inhabitance checks.
  • Fix a bug in the old type solver where Unifier did not necessarily live long enough.
  • Check the coroutine stack size before resuming in the Luau VM.

New Type Solver

  • Add support for typestating table.freeze and updated its behavior to transform the given table types into being marked read-only for all of its properties. More to come here for indexers when we add support for read-only indexers.
  • Fix string.format with no arguments does not report a type error in new solver strict mode #1453 by adding a missing arity check to string.format.
  • Fix a crash when editing caused by invalid AST states not being visited properly by the type solver.
  • Fix a crash in type simplification caused by missing follow calls.

Internal Contributors:

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

aatxe and others added 30 commits November 3, 2023 12:47
- Add SUBRK and DIVRK bytecode instructions
    - Enables future performance optimizations

Miscellaneous
- Small performance improvements to new non-strict mode
- Introduce more scripts for fuzzing
- Improcements to dataflow analysis
Co-authored-by: Alexander McCord <[email protected]>
Co-authored-by: Andy Friesen <[email protected]>
Co-authored-by: Aviral Goel <[email protected]>
Co-authored-by: David Cope <[email protected]>
Co-authored-by: Lily Brown <[email protected]>
Co-authored-by: Vyacheslav Egorov <[email protected]>
@aatxe aatxe merged commit db80939 into master Oct 25, 2024
8 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.

string.format with no arguments does not report a type error in new solver strict mode
7 participants