From e3b86aea3b2eb7548a20685d6f6fcd6f2596c483 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Wed, 20 Mar 2019 19:19:44 +0100 Subject: [PATCH] Fix an issue that when we print tasty the name buffer gets written twice --- compiler/src/dotty/tools/dotc/transform/Pickler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/transform/Pickler.scala b/compiler/src/dotty/tools/dotc/transform/Pickler.scala index 400df66aaa7d..d50087f534ef 100644 --- a/compiler/src/dotty/tools/dotc/transform/Pickler.scala +++ b/compiler/src/dotty/tools/dotc/transform/Pickler.scala @@ -78,7 +78,7 @@ class Pickler extends Phase { // println(i"rawBytes = \n$rawBytes%\n%") // DEBUG if (pickling ne noPrinter) { println(i"**** pickled info of $cls") - println(new TastyPrinter(pickler.assembleParts()).printContents()) + println(new TastyPrinter(pickled).printContents()) } } }