From ac4b7485137b9895d8757549697f5ab27bf054f7 Mon Sep 17 00:00:00 2001 From: Kamil Podsiadlo Date: Tue, 5 Apr 2022 22:41:02 +0200 Subject: [PATCH] fix: compilation errors --- .../main/scala/scala/meta/internal/metals/BuildTargetInfo.scala | 1 + .../scala/scala/meta/internal/metals/FileDecoderProvider.scala | 1 + tests/unit/src/test/scala/tests/MetalsEnrichmentsSuite.scala | 1 + tests/unit/src/test/scala/tests/UriEncoderDecoderSuite.scala | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/metals/src/main/scala/scala/meta/internal/metals/BuildTargetInfo.scala b/metals/src/main/scala/scala/meta/internal/metals/BuildTargetInfo.scala index 8fe949fbbad..cf45826ee98 100644 --- a/metals/src/main/scala/scala/meta/internal/metals/BuildTargetInfo.scala +++ b/metals/src/main/scala/scala/meta/internal/metals/BuildTargetInfo.scala @@ -5,6 +5,7 @@ import java.nio.file.Path import scala.collection.mutable.ListBuffer import scala.meta.internal.metals.MetalsEnrichments._ +import scala.meta.internal.mtags.URIEncoderDecoder import ch.epfl.scala.bsp4j.BuildTarget import ch.epfl.scala.bsp4j.BuildTargetIdentifier diff --git a/metals/src/main/scala/scala/meta/internal/metals/FileDecoderProvider.scala b/metals/src/main/scala/scala/meta/internal/metals/FileDecoderProvider.scala index 096b1dd6082..697eb19aa00 100644 --- a/metals/src/main/scala/scala/meta/internal/metals/FileDecoderProvider.scala +++ b/metals/src/main/scala/scala/meta/internal/metals/FileDecoderProvider.scala @@ -25,6 +25,7 @@ import scala.meta.internal.metals.clients.language.MetalsQuickPickItem import scala.meta.internal.metals.clients.language.MetalsQuickPickParams import scala.meta.internal.metap.Main import scala.meta.internal.mtags.SemanticdbClasspath +import scala.meta.internal.mtags.URIEncoderDecoder import scala.meta.internal.parsing.ClassFinder import scala.meta.internal.parsing.ClassWithPos import scala.meta.io.AbsolutePath diff --git a/tests/unit/src/test/scala/tests/MetalsEnrichmentsSuite.scala b/tests/unit/src/test/scala/tests/MetalsEnrichmentsSuite.scala index 630fc18554e..aba9204d54a 100644 --- a/tests/unit/src/test/scala/tests/MetalsEnrichmentsSuite.scala +++ b/tests/unit/src/test/scala/tests/MetalsEnrichmentsSuite.scala @@ -35,4 +35,5 @@ class MetalsEnrichmentsSuite extends BaseSuite { val path = uri.toAbsolutePath assert(path.toString().contains("hello space+world")) } + } diff --git a/tests/unit/src/test/scala/tests/UriEncoderDecoderSuite.scala b/tests/unit/src/test/scala/tests/UriEncoderDecoderSuite.scala index fc2e677c1e5..ae6055946ef 100644 --- a/tests/unit/src/test/scala/tests/UriEncoderDecoderSuite.scala +++ b/tests/unit/src/test/scala/tests/UriEncoderDecoderSuite.scala @@ -1,6 +1,6 @@ package tests -import scala.meta.internal.metals.URIEncoderDecoder +import scala.meta.internal.mtags.URIEncoderDecoder class UriEncoderDecoderSuite extends BaseSuite {