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
SethTisue
changed the title
Incorrect warning about non-exhaustive match with inner class
Exhaustivity warning should tell you when outer pointer is the cause
Aug 26, 2023
Example:
Output:
This doesn't make sense, because the code explicitly matches that pattern.
If I move the definition of
FancyFoo
out ofNonExhaustive
, the warning goes away.The text was updated successfully, but these errors were encountered: