Skip to content

Handle unrelatable skolems in TypeVar bounds#6421

Merged
adriaanm merged 1 commit intoscala:2.13.xfrom
joroKr21:typevar-skolem-bound
Aug 9, 2018
Merged

Handle unrelatable skolems in TypeVar bounds#6421
adriaanm merged 1 commit intoscala:2.13.xfrom
joroKr21:typevar-skolem-bound

Conversation

@joroKr21
Copy link
Member

by existentially abstracting them.

Adds a necessary boolean flag to existentialAbstraction to flip
the variance for upper bounds which need to be minimized.

Fixes scala/bug#5559, fixes scala/bug#5579, fixes scala/bug#10519
and fixes scala/bug#10771

Depends on #6257

@scala-jenkins scala-jenkins added this to the 2.13.0-M4 milestone Mar 13, 2018
@joroKr21 joroKr21 force-pushed the typevar-skolem-bound branch 2 times, most recently from 5950659 to c104144 Compare April 26, 2018 21:55
@joroKr21

This comment has been minimized.

@joroKr21

This comment has been minimized.

@adriaanm
Copy link
Contributor

😮Impressive! I will try to review before Scala Days, but lots of stuff going on :-/

@adriaanm adriaanm self-requested a review April 30, 2018 14:29
@szeiger szeiger modified the milestones: 2.13.0-M4, 2.13.0-M5 May 3, 2018
@joroKr21
Copy link
Member Author

Does this make sense without #6257 🤔

by existentially abstracting them.

Adds a necessary boolean flag to `existentialAbstraction` to flip
the variance for upper bounds which need to be minimized.

Fixes scala/bug#5559, fixes scala/bug#5579, fixes scala/bug#10519
and fixes scala/bug#10771
@adriaanm adriaanm force-pushed the typevar-skolem-bound branch from c104144 to 69dd610 Compare August 8, 2018 15:14
Copy link
Contributor

@adriaanm adriaanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants