Skip to content

Commit c129b2e

Browse files
committed
Upgrade mtags version to 1.3.0 (was 1.2.2-SNAPSHOT). Use mtags cross compiled for Scala 2.13.14. 1.2.x is not cross published for latest Scala 2.13 versions
1 parent a583f34 commit c129b2e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: presentation-compiler/test/dotty/tools/pc/base/BaseInlayHintsSuite.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class BaseInlayHintsSuite extends BasePCSuite {
1818
base: String,
1919
expected: String,
2020
kind: Option[Int] = None,
21+
hintsInPatternMatch: Boolean = false
2122
): Unit =
2223
def pkgWrap(text: String) =
2324
if (text.contains("package")) text
@@ -35,7 +36,8 @@ class BaseInlayHintsSuite extends BasePCSuite {
3536
true,
3637
true,
3738
true,
38-
true
39+
true,
40+
hintsInPatternMatch
3941
)
4042

4143
val inlayHints = presentationCompiler

Diff for: project/Build.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ object Build {
13421342
BuildInfoPlugin.buildInfoDefaultSettings
13431343

13441344
lazy val presentationCompilerSettings = {
1345-
val mtagsVersion = "1.2.2+25-bb9dfbb9-SNAPSHOT"
1345+
val mtagsVersion = "1.3.0"
13461346

13471347
Seq(
13481348
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
@@ -1351,7 +1351,7 @@ object Build {
13511351
"io.get-coursier" % "interface" % "1.0.18",
13521352
"org.scalameta" % "mtags-interfaces" % mtagsVersion,
13531353
),
1354-
libraryDependencies += ("org.scalameta" % "mtags-shared_2.13.13" % mtagsVersion % SourceDeps),
1354+
libraryDependencies += ("org.scalameta" % "mtags-shared_2.13.14" % mtagsVersion % SourceDeps),
13551355
ivyConfigurations += SourceDeps.hide,
13561356
transitiveClassifiers := Seq("sources"),
13571357
scalacOptions ++= Seq("-source", "3.3"), // To avoid fatal migration warnings

0 commit comments

Comments
 (0)