Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala 3.3 #638

Merged
merged 4 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ThisBuild / version := "2.16.0-SNAPSHOT"

ThisBuild / scalaVersion := "2.13.10"

ThisBuild / crossScalaVersions := Seq("2.11.12", "2.12.17", "2.13.10", "3.2.2")
ThisBuild / crossScalaVersions := Seq("2.11.12", "2.12.17", "2.13.10", "3.3.0")

resolvers ++= Resolver.sonatypeOssRepos("snapshots")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object AnyValScala2SerializerTest {
case class LBD(values: List[BD])
}

//see AnyValSerializerTest for cases that also work with Scala3
//see also AnyValSerializerTest
class AnyValScala2SerializerTest extends BaseFixture {
import AnyValScala2SerializerTest._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object AnyValSerializerTest {
case class BigIntAnyValHolder(value: BigIntAnyVal)
}

//see AnyValScala2SerializerTest for cases that only work with Scala2
//see AnyVal2SerializerTest for cases that only work with Scala2 and Scala3.3 but not earlier versions of Scala3
class AnyValSerializerTest extends BaseFixture {
import AnyValSerializerTest._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import com.fasterxml.jackson.module.scala.DefaultScalaModule

import scala.annotation.meta.getter

object JsonValueScala2Test {
object JsonValueTest {
case class ValueClass(@(JsonValue @getter) value: String)
}

class JsonValueScala2Test extends SerializerTest {
import JsonValueScala2Test._
// does not work with Scala3 prior to 3.3.0
class JsonValueTest extends SerializerTest {
import JsonValueTest._

override def module: Module = DefaultScalaModule

Expand Down