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/517 #408

Merged
merged 61 commits into from
Mar 4, 2022
Merged

Sync to upstream/release/517 #408

merged 61 commits into from
Mar 4, 2022

Conversation

zeux
Copy link
Collaborator

@zeux zeux commented Mar 4, 2022

  • Fix type definition for table.freeze to be more generic
  • Fix an edge case when type checking result was dependent on the type pointer values
  • Fix a bug in type checking that would sometimes lead to modification of generic type definitions
  • Fix a bug in type checking that could lead to extension of sealed tables in rare cases
  • Improve "global is used as local" lint to flag uses of global values that are contained to a function more often
  • Add lua_stackdepth C API to query the number of entries in the call stack
  • Improve performance of freeing tables (~5% lift on some GC benchmarks)
  • Implement table.clone (RFC: table.clone #362)

zeux and others added 30 commits November 4, 2021 19:12
Changes:
- Support for time tracing for analysis/compiler (not currently exposed
  through CLI)
- Support for type pack arguments in type aliases (#83)
- Basic support for require(path) in luau-analyze
- Add a lint warning for table.move with 0 index as part of
  TableOperation lint
- Remove last STL dependency from Luau.VM
- Minor VS2022 performance tuning

Co-authored-by: Rodactor <rodactor@roblox.com>
- A series of major optimizations to type checking performance on complex
programs/types (up to two orders of magnitude speedup for programs
involving huge tagged unions)
- Fix a few issues encountered by UBSAN (and maybe fix s390x builds)
- Fix gcc-11 test builds
- Fix a rare corner case where luau_load wouldn't wake inactive threads
which could result in a use-after-free due to GC
- Fix CLI crash when error object that's not a string escapes to top level
This doesn't contain all changes for 507 yet but we might want to do the
Luau 0.507 release a bit earlier to end the year sooner.
This version isn't for release because we've skipped some internal
numbers due to year-end schedule changes, but it's better to merge
separately.
@zeux zeux merged commit dbdf91f into master Mar 4, 2022
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.

1 participant