We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
3.1.1-RC1
trait T[-X] case class CC[-X](x: List[T[X]]) extends T[Nothing] case class Id[-X](x: String) extends T[X] def f[X](tree: T[X]) = tree match case CC(Id("hi") :: Nil) => ??? case CC(refs) => ??? case _ => ???
-- [E030] Match case Unreachable Warning: ../../new/test.scala:8:7 ------------- 8 | case CC(refs) => ??? | ^^^^^^^^ | Unreachable case 1 warning found
No warning
The text was updated successfully, but these errors were encountered:
dwijnand
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.1.1-RC1
Minimized example
Output
Expectation
No warning
The text was updated successfully, but these errors were encountered: