Skip to content

Commit e3b86ae

Browse files
committed
Fix an issue that when we print tasty the name buffer gets written twice
1 parent 4d4521d commit e3b86ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/Pickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Pickler extends Phase {
7878
// println(i"rawBytes = \n$rawBytes%\n%") // DEBUG
7979
if (pickling ne noPrinter) {
8080
println(i"**** pickled info of $cls")
81-
println(new TastyPrinter(pickler.assembleParts()).printContents())
81+
println(new TastyPrinter(pickled).printContents())
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)