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.
2 parents e724058 + 897e3b1 commit 5ce4cafCopy full SHA for 5ce4caf
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