We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c841d31 commit 3aa53baCopy full SHA for 3aa53ba
modules/build/src/main/scala/scala/build/bsp/BspClient.scala
@@ -1,6 +1,5 @@
1
package scala.build.bsp
2
3
-import ch.epfl.scala.bsp4j.Location
4
import ch.epfl.scala.{bsp4j => b}
5
6
import java.lang.{Boolean => JBoolean}
@@ -196,7 +195,7 @@ class BspClient(
196
195
new b.Diagnostic(range, diag.message)
197
198
diag.relatedInformation.foreach { relatedInformation =>
199
- val location = new Location(path.toNIO.toUri.toASCIIString, range)
+ val location = new b.Location(path.toNIO.toUri.toASCIIString, range)
200
val related = new b.DiagnosticRelatedInformation(location, relatedInformation.message)
201
bDiag.setRelatedInformation(List(related).asJava)
202
}
0 commit comments