Hello folks,
Not sure if that’s the right place to report this but one project of mine is failing to compile with Scala 2.13.17 (RenovateBot suggested the upgrade).
I can’t reproduce the error in a simple scala-cli script but this does fail to compile with Maven and scala-maven-plugin (4.9.6).
Minified code:
//> using scala 2.13.17
//> using dep com.softwaremill.sttp.client::core:2.3.0
import sttp.client._
implicit val sttpBackend: SttpBackend[Identity, Nothing, NothingT] = ???
val someUrl = "http://example.com"
val response: Identity[Response[Either[String, String]]] = basicRequest.post(uri"$someUrl").send()
Error I get when compiling with Maven (on the last line):
a type was inferred to be kind-polymorphic `Nothing` to conform to `F[_]`