I have a very strange problem.
Here is some (simplified) Scala 2.13 code that I recently wanted to port to Scala 3.
https://scastie.scala-lang.org/pgbGGOK6TC2t0lUR3AKV5Q
It compiles fine, and while I can't run it in Scastie (no Postgres available), I've tried it locally and it works.
Version: (e.g.
4.8.1
)Hey there,
I have a very strange problem. Here is some (simplified) Scala 2.13 code that I recently wanted to port to Scala 3. https://scastie.scala-lang.org/pgbGGOK6TC2t0lUR3AKV5Q It compiles fine, and while I can't run it in Scastie (no Postgres available), I've tried it locally and it works.
However when I change
scalaVersion
to3.3.1
it no longer compiles, see here: https://scastie.scala-lang.org/MMwQdJbjRMyHbE0ovf7alw It also fails to compile when I leavescalaVersion
on 2.13 and use anSqlMirrorContext
rather than aPostgresJdbcContext
: https://scastie.scala-lang.org/svaVZIl9TZGUqV4UlfCmigI don't know how to do batch upserts on Scala 3 at this point.