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

Fix type check issues #1064

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Fix type check issues #1064

merged 1 commit into from
Feb 15, 2024

Conversation

degory
Copy link
Owner

@degory degory commented Feb 15, 2024

Bugs fixed:

Technical:

  • Remove workarounds for recently fixed anonymous function argument type inference issue
  • Add integration tests asserting generic type arguments are compatible with object
  • Make error messages for failed type inference consistent with each other

Bugs fixed:
- Fix issue where null was wrongly treated as assignment compatible with value types (closes Null should not be assignment compatible with value types #1061)
- Fix issue where different generic type arguments were sometimes wrongly treated as assignment compatible with each other (closes #1062)
- Fix issue where null was wrongly treated as assignment compatible with generic type arguments (closes #1063)

Technical:
- Remove workarounds for recently fixed anonymous function argument type inference issue
- Add integration tests asserting generic type arguments are compatible with object
- Make error messages for failed type inference consistent with each other
@degory degory merged commit 58d106f into main Feb 15, 2024
12 checks passed
@degory degory deleted the degory/fix-type-compare-issues-1 branch February 15, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant