You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with an sbt plugin with sbt-tpolecat I came across an issue caused by -Ywarn-unused:privates. It produces false positives in some cases. Combined with fatal warnings this breaks my build for no reason. Run following gist with scala-cli (or latest scala) for reproduction: https://gist.github.com/majk-p/9d6dfffce77688c835ddd148fcc3af77
When working with an sbt plugin with sbt-tpolecat I came across an issue caused by
-Ywarn-unused:privates
. It produces false positives in some cases. Combined with fatal warnings this breaks my build for no reason. Run following gist with scala-cli (or latest scala) for reproduction: https://gist.github.com/majk-p/9d6dfffce77688c835ddd148fcc3af77It's caused by a bug in Scala 2.12 discussed scala/bug#9294 and as stated by the maintainers it won't be fixed.
I'd like to suggest not including this flag for 2.12 sbt modules to avoid confusion
The text was updated successfully, but these errors were encountered: