Skip to content

Commit

Permalink
chore: Add support for Scala 2.13.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Sep 24, 2024
1 parent 8007c4e commit f883b7c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions bin/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ coursier fetch \
org.scalameta:mtags_2.13.12:$version \
org.scalameta:mtags_2.13.13:$version \
org.scalameta:mtags_2.13.14:$version \
org.scalameta:mtags_2.13.15:$version \
org.scalameta:mtags_2.12.16:$version \
org.scalameta:mtags_2.12.17:$version \
org.scalameta:mtags_2.12.18:$version \
Expand Down
3 changes: 2 additions & 1 deletion project/V.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object V {
val scala210 = "2.10.7"
val scala211 = "2.11.12"
val scala212 = "2.12.20"
val scala213 = "2.13.14"
val scala213 = "2.13.15"
val scala3 = "3.3.3"

// When you can add to removedScalaVersions in MtagsResolver.scala with the last released version
Expand Down Expand Up @@ -152,6 +152,7 @@ object V {
"2.13.11",
"2.13.12",
"2.13.13",
"2.13.14",
)

def minimumSupportedSbtVersion = {
Expand Down
3 changes: 2 additions & 1 deletion tests/cross/src/test/scala/tests/pc/CompletionDocSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,8 @@ class CompletionDocSuite extends BaseCompletionSuite {
|**Returns:** the result of evaluating the value, as a `Success` or `Failure`
|Try[T](r: => T): Try[T]""".stripMargin,
"2.13.13" -> baseScala21313Docs,
"2.13.14" -> baseScala21313Docs
"2.13.14" -> baseScala21313Docs,
"2.13.15" -> baseScala21313Docs
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class CompletionScalaCliSuite extends BaseCompletionSuite {
check(
"plugin".tag(
IgnoreScalaVersion(version =>
Set("2.12.16", "2.12.20")(version) ||
Set("2.12.16", "2.13.15")(version) ||
version.contains(
"NIGHTLY"
) || version.contains(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MacroCompletionSuite extends BaseCompletionSuite {

// @tgodzik macros will not work in Dotty
override def ignoreScalaVersion: Option[IgnoreScalaVersion] =
Some(IgnoreScala3.and(IgnoreScalaVersion(_ == "2.12.20")))
Some(IgnoreScala3)

override def scalacOptions(classpath: Seq[Path]): Seq[String] =
classpath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class SignatureHelpDocSuite extends BaseSignatureHelpSuite {
|""".stripMargin,
"2.13.13" -> docsAfter21313,
"2.13.14" -> docsAfter21313,
"2.13.15" -> docsAfter21313,
"3" ->
"""|Applies the given binary operator `op` to the given initial value `z` and all
| elements of this collection, going left to right. Returns the initial value if this collection
Expand Down

0 comments on commit f883b7c

Please sign in to comment.