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/555 #768

Merged
merged 45 commits into from
Dec 2, 2022
Merged

Sync to upstream/release/555 #768

merged 45 commits into from
Dec 2, 2022

Conversation

vegorov-rbx
Copy link
Collaborator

@vegorov-rbx vegorov-rbx commented Dec 2, 2022

  • Type mismatch errors now mention if unification failed in covariant or invariant context, to explain why sometimes derived class can't be converted to base class or why T can't be converted into T? and so on
  • Class type indexing is no longer an error in non-strict mode (still an error in strict mode)
  • Fixed cyclic type packs not being displayed in the type
  • Added an error when unrelated types are compared with ==/~=
  • Fixed false positive errors involving sub-type tests with a never type
  • Fixed miscompilation of multiple assignment statements (Fixes Lua comma evaluation order issue? tfound[1],num = num, num - 1 breaks on luau sometime after 0.541 #754)
  • Type inference stability improvements

@vegorov-rbx vegorov-rbx merged commit 59ae47d into master Dec 2, 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.

Lua comma evaluation order issue? tfound[1],num = num, num - 1 breaks on luau sometime after 0.541
4 participants