Skip to content

Commit

Permalink
Update to scala 3.3.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdziuban committed Feb 23, 2024
1 parent d5f86d3 commit 961667d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
scala: [3.3.1]
scala: [3.3.2]
java: [temurin@8, temurin@11, temurin@17, temurin@21]
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Global / onChangedBuildSource := ReloadOnSourceChanges

val scalaV = "3.3.1"
val scalaV = "3.3.2"

ThisBuild / scalaVersion := scalaV
ThisBuild / crossScalaVersions := Seq(scalaV)
Expand Down Expand Up @@ -33,7 +33,7 @@ lazy val root = project.in(file("."))
name := "scala-ts",
organization := "bondlink",
version := "0.14.0",
scalaVersion := "3.3.1",
scalaVersion := scalaV,

Test / scalacOptions += "-Yretain-trees",
Compile / doc / scalacOptions += "-skip-by-regex:^scalats\\.BuildInfo\\$$",
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/scalats/tests/Arbitrary.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object arbitrary {

case _: Mirror.SumOf[A] =>
Arbitrary((insts match {
case a :: b :: rest => Gen.oneOf(a.arbitrary, b.arbitrary, rest.map(_.arbitrary): _*)
case a :: b :: rest => Gen.oneOf(a.arbitrary, b.arbitrary, rest.map(_.arbitrary)*)
case a :: Nil => a.arbitrary
case Nil => Gen.const(null)
}).map(_.asInstanceOf[A]))
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/scalats/tests/UnionWithTypeParamTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export type FooU<A1> = t.TypeOf<FooCU<t.Type<A1>>>;
val fooFile = "foo.ts"

val types = Map(
fooFile -> (List(parse[Foo[_]]), expectedFooCode),
fooFile -> (List(parse[Foo[?]]), expectedFooCode),
)
}

Expand Down

0 comments on commit 961667d

Please sign in to comment.