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
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 leave
scalaVersion
on 2.13 and use anSqlMirrorContext
rather than aPostgresJdbcContext
:https://scastie.scala-lang.org/svaVZIl9TZGUqV4UlfCmig
I don't know how to do batch upserts on Scala 3 at this point.
The text was updated successfully, but these errors were encountered: