Skip to content

Commit

Permalink
Merge pull request #434 from alexarchambault/scala-2.13.12
Browse files Browse the repository at this point in the history
Add Scala 2.13.12 support
  • Loading branch information
alexarchambault authored Oct 16, 2023
2 parents 5e737d5 + d3755f8 commit df369e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
scala: [2.12.18, 2.13.11]
scala: [2.12.18, 2.13.12]
os: [ubuntu-latest]
java: [11, 8]
steps:
Expand Down
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ lazy val Version = new {
val scala213Versions = Seq(
"2.13.9",
"2.13.10",
"2.13.11"
"2.13.11",
"2.13.12"
)
val scala212Versions = Seq(
"2.12.15",
Expand Down Expand Up @@ -118,7 +119,7 @@ lazy val server = project
"org.slf4j" % "slf4j-api" % "2.0.9",
"org.jboss.xnio" % "xnio-nio" % "3.8.0.Final",
"org.scalameta" % "semanticdb-scalac-core" % Version.scalameta cross CrossVersion.full,
("org.scalameta" %% "mtags" % "0.11.12").cross(CrossVersion.full)
("org.scalameta" %% "mtags" % "1.0.1").cross(CrossVersion.full)
),
(Compile / packageBin) := {
import java.io.FileOutputStream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class MetabrowseServer(
prevState.close()
}
val newState = State(
OnDemandSymbolIndex.empty(),
OnDemandSymbolIndex.empty()(
scala.meta.internal.metals.EmptyReportContext
),
sourcepath.sources,
InteractiveSemanticdb.newCompiler(
sourcepath.classpath.mkString(File.pathSeparator),
Expand Down

0 comments on commit df369e6

Please sign in to comment.