Skip to content

Conversation

@Blaisorblade
Copy link
Contributor

@Blaisorblade Blaisorblade commented Apr 9, 2018

Fix #4272.
Debugging revealed that in the failing testcase e2: TypeBounds while e1: TypeRef, and it's not clear why it should be otherwise.

Other fixes are possible, this one is easy to maintain but will repeat a few
checks.

@Blaisorblade Blaisorblade requested review from smarter and removed request for smarter April 9, 2018 00:10
@smarter
Copy link
Member

smarter commented Apr 9, 2018

I think I would deal with this by rewriting the pattern match to match on (e1, e2) to handle all cases in one go

Debugging revealed that in the failing testcase `e2: TypeBounds` while `e1:
TypeRef`, and it's not clear why it should be otherwise.
@Blaisorblade
Copy link
Contributor Author

@smarter What about now? Commits should now also make sense in isolation.

@Blaisorblade Blaisorblade merged commit 9723748 into scala:master Apr 9, 2018
@Blaisorblade Blaisorblade deleted the fix-4272 branch April 9, 2018 14:53
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.

Exception in thread "main" java.lang.AssertionError: cannot merge Constraint(...)

2 participants