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
dwijnand
changed the title
Exhaustiveness check does not work with irrefutable unapply involving dependend types
Exhaustiveness check does not work with irrefutable unapply involving dependent types
Jul 22, 2021
Looks to me like the way patterns are projected to spaces captures the dependent type, while the reading of the unappy signature doesn't, so they don't cancel out.
dwijnand
changed the title
Exhaustiveness check does not work with irrefutable unapply involving dependent types
Spurious exhaustivity warning using an irrefutable unapply with a singleton type
Jul 26, 2021
reproduction steps
minimized code:
problem
Expect everything to compile without warnings, but gives
If the dependent type is removed or
(null: Blub)
used, the warning will go awayThe text was updated successfully, but these errors were encountered: