New issue
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
Work around "a pure expression does nothing" warning, take 3 #6363
Conversation
Fixes sbt#6161 Ref scala/bug#12112 This uses the configurable warning backported to Scala 2.12.
@eed3si9n This PR breaks the dotty repository. I get 100 errors like these:
|
Sorry! I knew I should've used fqn. Do you have a term named |
Yes I do: val scala = inputKey[Unit]("run compiled binary using the correct classpath, or the user supplied classpath") |
Ah, I see the problem now :) |
Will this be backported to 1.4? |
@marcospereira Probably not. |
In case anyone else arrives here while attempting to decipher why this warning is appearing when they compile their plugin, you may want to bump the
So long as you're comfortable requiring client projects to use 1.5.0 or later, this will make the warning disappear. Thanks @eed3si9n for all you do! |
Fixes #6161
Ref scala/bug#12112
This uses the configurable warning backported to Scala 2.12.