Skip to content

Commit 9b1a32e

Browse files
committed
Fix source path index color
1 parent d74496e commit 9b1a32e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ class TastyPrinter(bytes: Array[Byte]) {
202202
sb.append(s"\n source paths:\n")
203203
val sortedPath = sources.toSeq.sortBy(_._1.index)
204204
for ((addr, nameRef) <- sortedPath) {
205-
sb.append(treeStr("%6d: ".format(addr.index)))
205+
sb.append(treeStr("%6d".format(addr.index)))
206+
sb.append(": ")
206207
sb.append(nameStr(s"${nameRef.index} [${tastyName(nameRef)}]"))
207208
sb.append("\n")
208209
}

0 commit comments

Comments
 (0)