Skip to content

Adjust subtype rule as proposed in language issue #495 #497

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

Closed
wants to merge 1 commit into from

Conversation

eernstg
Copy link
Member

@eernstg eernstg commented Aug 6, 2019

This changes the subtype check for two generic function types such that it only requires mutual subtyping, which is sound and slightly more permissive than the current rules as well as the upcoming NNBD rules.

@eernstg
Copy link
Member Author

eernstg commented Mar 12, 2020

Closing this PR, the change is being made as part of null-safety.

@eernstg eernstg closed this Mar 12, 2020
@eernstg eernstg deleted the mutual_subtype_bounds_aug19 branch March 12, 2020 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants