Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Feb 4, 2021

Fixes #11291
Fixes #6781

@bishabosha
Copy link
Member

bishabosha commented Feb 4, 2021

does this fix #6781?, (or at least with another small change, now that enum apply method calls are widened by type ascription)

@nicolasstucki
Copy link
Contributor Author

It fixes the main issue of #6781. But we still have the widening to take care of.

@nicolasstucki nicolasstucki marked this pull request as ready for review February 4, 2021 17:43
@nicolasstucki nicolasstucki requested a review from odersky February 4, 2021 17:43
@odersky odersky merged commit a63b1d1 into scala:master Feb 6, 2021
@odersky odersky deleted the fix-#11291 branch February 6, 2021 16:27
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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.

Should inline matches strip type ascription? Cannot reduce inline match with an enum-based Nat

4 participants