Skip to content

Commit 55aae90

Browse files
authored
Merge pull request #6133 from tgodzik/tasty-printer-fix
Fix an issue that when we print tasty the name buffer gets written twice
2 parents 8ecc927 + e3b86ae commit 55aae90

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)