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/623 #1236

Merged
merged 84 commits into from
Apr 25, 2024
Merged

Sync to upstream/release/623 #1236

merged 84 commits into from
Apr 25, 2024

Conversation

alexmccord
Copy link
Member

What's changed?

New Type Solver

  • Unification of two fresh types no longer binds them together.
  • Replaced uses of raw emplace with emplaceType to catch cyclic bound types when they are created.
  • SetIndexerConstraint is blocked until the indexer result type is not blocked.
  • Fix a case where a blocked type got past the constraint solver.
  • Searching for free types should no longer traverse into ClassTypes.
  • Fix a corner case that could result in the non-testable type ~{}.
  • Fix incorrect flagging when any was a parameter of some checked function in nonstrict type checker.
  • IterableConstraint now consider tables without __iter to be iterables.

Native Code Generation

  • Improve register type info lookup by program counter.
  • Generate type information for locals and upvalues

Internal Contributors

Co-authored-by: Aaron Weiss aaronweiss@roblox.com
Co-authored-by: Alexander McCord amccord@roblox.com
Co-authored-by: Andy Friesen afriesen@roblox.com
Co-authored-by: James McNellis jmcnellis@roblox.com
Co-authored-by: Vighnesh Vijay vvijay@roblox.com
Co-authored-by: Vyacheslav Egorov vegorov@roblox.com

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 <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: David Cope <dcope@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
@Vighnesh-V Vighnesh-V merged commit 259e509 into master Apr 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.

None yet

6 participants