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
I get a spurious warning "catch block may intercept non-local return from method check", but it only catches specific exceptions:
def foo() { try { for (i <- 1 until 5) return } catch { case _: NullPointerException | _: RuntimeException => } }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-7433?orig=1 Reporter: @dragos Affected Versions: 2.11.0-M2 See #6994
Sorry, something went wrong.
@retronym said: scala/scala#2653
retronym
No branches or pull requests
I get a spurious warning "catch block may intercept non-local return from method check", but it only catches specific exceptions:
The text was updated successfully, but these errors were encountered: