I added sbt-toplecat
to my repo and I fixed most of the errors with my code but there is one issue I'm not sure how to fix:
'nowarn' is not a valid choice for '-Wunused'
I am running Scala 2.13. How do I resolve this error?
nowarn
is available from Scala 2.13.2. I am guessing you updated to sbt-tpolecat
0.1.12, which added this option in Add -Wunused:nowarn to 2.13 builds. #21
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.12")
however kept your Scala version at 2.13.1 or 2.13.0
scalaVersion := "2.13.1"
To fix the issue try updating Scala version to 2.13.2
scalaVersion := "2.13.2"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With