You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix pattern generation in "ordinal" mirror method (scala#17570)
The "ordinal" method generated non-sensical patterns if the cases of a
sealed trait were found in the trait itself. In that case the ordinal
method would be placed in the companion object, but still tried to
access the cases via the `this` of the companion class.
We are now more careful and fall back to type projections in
comparisons.
Fixesscala#17556
0 commit comments