Open EindbaasExpress opened 2 years ago
Hello, I was hoping to use sbt-tpolecat in a project of mine that depends on upickle, but it seems that macroRW is causing this compiler warning, so I can't make warnings fatal.
Minimized example: https://scastie.scala-lang.org/Pk7pFpgzT16Nccuyb7JKCA
import upickle.default._ case class Foo(num: Int) val rw: ReadWriter[Foo] = macroRW
build.sbt
scalaVersion := "2.13.5" scalacOptions ++= Seq("-Xlint", "-Xfatal-warnings") libraryDependencies += "com.lihaoyi" %% "upickle" % "1.3.8"
Result:
match may not be exhaustive. It would fail on the following input: (x: Int forSome x not in 0) ID: 345 Original Author: raquo
Hello, I was hoping to use sbt-tpolecat in a project of mine that depends on upickle, but it seems that macroRW is causing this compiler warning, so I can't make warnings fatal.
Minimized example: https://scastie.scala-lang.org/Pk7pFpgzT16Nccuyb7JKCA
build.sbt
Result: