Skip to content

Commit

Permalink
build with and test against Scala 2.13.13
Browse files Browse the repository at this point in the history
- Remove expressions now detected as unused by the compiler
- Fix regression in docs, introduced in 3ae87d4
  • Loading branch information
bjaglin committed Feb 24, 2024
1 parent 9ba20ae commit 696a1c4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bin/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ cs resolve \
ch.epfl.scala:scalafix-core_2.12:$version \
ch.epfl.scala:scalafix-core_2.13:$version \
ch.epfl.scala:scalafix-reflect_2.12.19:$version \
ch.epfl.scala:scalafix-reflect_2.13.12:$version \
ch.epfl.scala:scalafix-reflect_2.13.13:$version \
ch.epfl.scala:scalafix-cli_2.12.19:$version \
ch.epfl.scala:scalafix-cli_2.13.12:$version \
ch.epfl.scala:scalafix-cli_2.13.13:$version \
ch.epfl.scala:scalafix-testkit_2.12.19:$version \
ch.epfl.scala:scalafix-testkit_2.13.12:$version \
ch.epfl.scala:scalafix-testkit_2.13.13:$version \
-r sonatype:public
1 change: 0 additions & 1 deletion docs/developers/semantic-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ scope

```scala mdoc
import scalafix.v1._
import scala.meta._
```

```scala mdoc:passthrough
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/symbol-matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ pattern.

```scala mdoc
doc.tree.traverse {
case function @ Term.Apply.After_4_6_0(successObject(_), List(argument)) =>
case function @ Term.Apply.After_4_6_0(successObject(_), Term.ArgClause(List(argument))) =>
println(function.pos.formatMessage("info",
s"Argument of Success is $argument"))
}
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import sbt._

object Dependencies {
val scala212 = sys.props.getOrElse("scala212.nightly", "2.12.19")
val scala213 = sys.props.getOrElse("scala213.nightly", "2.13.12")
val scala213 = sys.props.getOrElse("scala213.nightly", "2.13.13")
val scala3 = sys.props.getOrElse("scala3.nightly", "3.4.0")

val bijectionCoreV = "0.9.7"
Expand Down
1 change: 1 addition & 0 deletions project/ScalafixBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
)

private val PreviousScalaVersion: Map[String, String] = Map(
"2.13.13" -> "2.13.12",
"2.12.19" -> "2.12.18"
)

Expand Down

0 comments on commit 696a1c4

Please sign in to comment.