Skip to content

Commit

Permalink
Merge pull request #240 from sjrd/scala-3.2
Browse files Browse the repository at this point in the history
Upgrade to Scala 3.2.2.
  • Loading branch information
bishabosha authored Jan 13, 2023
2 parents e937243 + d553121 commit 0b81317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sbt.internal.util.ManagedLogger

import org.scalajs.jsenv.nodejs.NodeJSEnv

val usedScalaCompiler = "3.1.0"
val usedScalaCompiler = "3.2.2"
val usedTastyRelease = usedScalaCompiler

val SourceDeps = config("sourcedeps").hide
Expand Down
19 changes: 2 additions & 17 deletions tasty-query/shared/src/test/scala/tastyquery/ReadTreeSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ class ReadTreeSuite extends RestrictedUnpicklingSuite {
Right(List(TypeParam(TypeName(SimpleName("T")), _, _))),
Left(List(ValDef(SimpleName("x"), TypeIdent(TypeName(SimpleName("T"))), None, _)))
),
TypeWrapper(_),
TypeIdent(TypeName(SimpleName("T"))),
Some(Ident(SimpleName("x"))),
_
)
Expand Down Expand Up @@ -1815,22 +1815,7 @@ class ReadTreeSuite extends RestrictedUnpicklingSuite {
// No bound on the match result
None,
TypeIdent(TypeName(SimpleName("X"))),
List(
TypeCaseDef(
TypeTreeBind(
TypeName(UniqueName("_$", nme.EmptySimpleName, 1)),
BoundedTypeTree(
TypeBoundsTree(
TypeWrapper(TypeRefInternal(ScalaPackageRef(), TypeName(SimpleName("Nothing")))),
TypeWrapper(TypeRefInternal(ScalaPackageRef(), TypeName(SimpleName("Any"))))
),
None
),
_
),
TypeIdent(TypeName(SimpleName("Int")))
)
)
List(TypeCaseDef(TypeIdent(TypeName(nme.Wildcard)), TypeIdent(TypeName(SimpleName("Int")))))
)
),
_
Expand Down

0 comments on commit 0b81317

Please sign in to comment.