Skip to content

Commit 4e6e2d1

Browse files
Add missing nameColor abstraction
1 parent a3f4f06 commit 4e6e2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class TastyPrinter(bytes: Array[Byte])(implicit ctx: Context) {
4848
def printNat() = print(Yellow(" " + readNat()).show)
4949
def printName() = {
5050
val idx = readNat()
51-
print(Magenta(" " + idx + " [" + nameRefToString(NameRef(idx)) + "]").show)
51+
print(nameColor(" " + idx + " [" + nameRefToString(NameRef(idx)) + "]").show)
5252
}
5353
def printTree(): Unit = {
5454
newLine()

0 commit comments

Comments
 (0)