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.2.2, 3.3.0-RC3, 3.3.1-RC1-bin-20230328-5c2efc5-NIGHTLY
class Foo trait Bar: val foo : Int val f : Option[foo.type] = Some(foo) def g : Boolean = f match case None => false case Some(_) => true
Warning : match may not be exhaustive. It would fail on pattern case: Some(_)
No warning : case Some(_) is recited.
case Some(_)
The text was updated successfully, but these errors were encountered:
dwijnand
Successfully merging a pull request may close this issue.
Compiler version
3.2.2, 3.3.0-RC3, 3.3.1-RC1-bin-20230328-5c2efc5-NIGHTLY
Minimized code
Output
Expectation
No warning :
case Some(_)
is recited.The text was updated successfully, but these errors were encountered: