We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code causes "warning: unreachable code"
def test1(x: Int) = { x match { case c if c < 0 => 0 case 1 => 1 case _ => 2 } }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6056?orig=1 Reporter: Denis Petrov (denis) Affected Versions: 2.9.1, 2.10.0-M4 Duplicates #6048
Sorry, something went wrong.
@adriaanm said: dupe of #6048 test added there
No branches or pull requests
This code causes "warning: unreachable code"
The text was updated successfully, but these errors were encountered: