-
Notifications
You must be signed in to change notification settings - Fork 33
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
Silencer plugin suppresses compilation errors when scalafix semantic db is enabled #43
Comments
Here is a repo that reproduces the problem https://github.com/steinybot/bug-reports/tree/silencer/scalafix-incompatible |
Thanks for the report and reproduction. Without looking into details right now, this may be caused by the same problem as #7 which is ultimately a problem in the Please try this workaround: #7 (comment) |
@ghik that does not fix the bug for me |
We were having this problem over here, I didn't spot this open issue until just now: |
This is most likely still the fault of Here's the 2.13.1+ version of silencer's The semanticdb plugin needs to do something similar with its |
This is most likely going to be fixed by scalameta/scalameta#1992 |
I have this issue when using scala 2.13.1, scalafix 0.9.11 and silencer 1.6.0. Updating to scalafix 0.9.12 fixes the problem for me. |
I seem to be having this issue with Scala 2.12.17. Since the fix in scalameta/scalameta#1992 is for Scala 2.13.1+, I wonder if I maybe need an older version that does not have this issue. I have silencer 1.7.12. I've tried both WartRemover 2.4.21 and 3.0.11. Even without Scalafix, just setting Update: It looks like there is a different reporter implementation for Scala 2.12.10 vs. 2.12.13 so maybe they did fix it and I just don't have a new enough version of SemanticDB. |
I had recently enabled the silencer sbt plugin and then started noticing really strange behaviour where I knew I had compilation errors but the
sbt compile
task would succeed.sbt test
would also succeed but not actually run any tests.It turns out that there is some sort of incompatibility between Silencer, Scalafix SemanticDB and Scala 2.13.1.
build.sbt
:src/main/scala/Main.scala
:project/build.properties
:project/plugins.sbt
:The text was updated successfully, but these errors were encountered: