"Unreachable case" warning when pattern matching on an option of opaque type #19254
Unanswered
avella2409
asked this question in
General Question
Replies: 1 comment
-
Looks like a bug to me. The cause might be related to the fact that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, when using an opaque type I've encountered a behavior that I was not expecting.
I would like to understand why in the following example, when using
List
, I got anUnreachable case
warning, but when usingSet
, everything is fine. I know thatList
is a class andSet
is a trait but have no idea why it saysUnreachable case
.Do you have any idea? (Scala 3.3.1)
Beta Was this translation helpful? Give feedback.
All reactions