Skip to content

Commit 3aa53ba

Browse files
NIT
1 parent c841d31 commit 3aa53ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/build/src/main/scala/scala/build/bsp/BspClient.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package scala.build.bsp
22

3-
import ch.epfl.scala.bsp4j.Location
43
import ch.epfl.scala.{bsp4j => b}
54

65
import java.lang.{Boolean => JBoolean}
@@ -196,7 +195,7 @@ class BspClient(
196195
new b.Diagnostic(range, diag.message)
197196

198197
diag.relatedInformation.foreach { relatedInformation =>
199-
val location = new Location(path.toNIO.toUri.toASCIIString, range)
198+
val location = new b.Location(path.toNIO.toUri.toASCIIString, range)
200199
val related = new b.DiagnosticRelatedInformation(location, relatedInformation.message)
201200
bDiag.setRelatedInformation(List(related).asJava)
202201
}

0 commit comments

Comments
 (0)