Skip to content

Fix #1252: Fix variance checking for parameterized typedefs #6318

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

Merged
merged 1 commit into from
Apr 17, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Apr 16, 2019

940f517 added these checks but missed
the case where a TypeLambdaTree type is a TypeBounds, this commit just
adds the missing case as well as an explanatory comment in TypeLambdaTree.

@smarter
Copy link
Member Author

smarter commented Apr 16, 2019

@sstucki Note that this doesn't fix the deeper issue you mentioned in #1252 (comment), I suggest you open another issue for that one.

@smarter smarter requested a review from odersky April 16, 2019 13:36
940f517 added these checks but missed
the case where a TypeLambdaTree type is a TypeBounds, this commit just
adds the missing case as well as an explanatory comment in TypeLambdaTree.
@sstucki
Copy link
Contributor

sstucki commented Apr 16, 2019

@sstucki Note that this doesn't fix the deeper issue you mentioned (...), I suggest you open another issue for that one.

There you go @smarter: #6320

@odersky odersky merged commit afb7a8b into scala:master Apr 17, 2019
@allanrenucci allanrenucci deleted the fix-hkvariance branch April 17, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants