-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Unreachable case when matching with a match type subpattern #13189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Minimized def foo(opt: Option[Tuple.Tail[NonEmptyTuple]]): Unit =
opt match
case None => ???
case Some(a) => ???
|
Looks like this is due to:
(edit: more trace logging)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.0.1
Did not happen on 3.0.0
Minimized code
Output
Expectation
It compiles
The text was updated successfully, but these errors were encountered: