-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
-Wconf:msg doesn't work as in scala2 #18804
Comments
Probably related to #18829 A simple example works, so probably a combination of macro expansion and premature erroring. It should emit configured messaging at the end of the run. "Simple example":
|
The problem appears to be the I was able to make the scastie work by removing fatal warnings. Conversely I wasn't able to find any |
Can this be backported to 3.3.x? |
Compiler version
3.3.1
Minimized code
Could be anything, but I was testing with the example code from scalatest:
https://scastie.scala-lang.org/MlixqluOSei8PhRAqT69aw
Output
It fails to compile with
unused value of type org.scalatest.Assertion
Expectation
The same exact code+sbt configuration works in scala 2.13, compiling without error
https://scastie.scala-lang.org/Bdz9lvvrT6y84XverBCfCA
The output of
-Wconf:help
on scala 3.3.1 suggests that this should work:The text was updated successfully, but these errors were encountered: