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 e724058 commit 897e3b1Copy full SHA for 897e3b1
semanticdb/test/dotty/semanticdb/Semanticdbs.scala
@@ -82,7 +82,7 @@ object Semanticdbs {
82
def printTextDocument(doc: s.TextDocument): String = {
83
val sb = new StringBuilder
84
val occurrences = doc.occurrences.sorted
85
- val sourceFile = new SourceFile(doc.uri, doc.text)
+ val sourceFile = SourceFile.virtual(doc.uri, doc.text)
86
var offset = 0
87
occurrences.foreach { occ =>
88
val range = occ.range.get
0 commit comments