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
% cat S.scala object O { def foo(xs: Int*) { }; foo(Nil: _*) } % /usr/local/scala-2.9.2/bin/scalac -Ywarn-dead-code S.scala S.scala:1: warning: dead code following this construct object O { def foo(xs: Int*) { }; foo(Nil: _*) } ^ one warning found
I checked and the same bug is present in 2.10.0-M7.
Note that -Ywarn-dead-code is part of -Xlint.
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6339?orig=1 Reporter: @SethTisue Affected Versions: 2.9.2, 2.10.0-M7
Sorry, something went wrong.
@paulp said: The branch I point at in #6338 also takes warn-dead-code out of -Xlint.
No branches or pull requests
I checked and the same bug is present in 2.10.0-M7.
Note that -Ywarn-dead-code is part of -Xlint.
The text was updated successfully, but these errors were encountered: