aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/TreeBuffer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-02-12 20:29:11 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-18 11:11:05 +0100
commit0ed27cc87d1f080836b319f97cbf900c2ba2c234 (patch)
treeb49ddea5d864140e6b7e64f2a61a409e348bd745 /src/dotty/tools/dotc/core/pickling/TreeBuffer.scala
parent5ae8b128eb3e694c3fbb83124371a9bbb9d698fe (diff)
downloaddotty-0ed27cc87d1f080836b319f97cbf900c2ba2c234.tar.gz
dotty-0ed27cc87d1f080836b319f97cbf900c2ba2c234.tar.bz2
dotty-0ed27cc87d1f080836b319f97cbf900c2ba2c234.zip
Fix serialization of Bind-defined types in type patterns.
These are now represented as BIND nodes in pickled types.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/TreeBuffer.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/TreeBuffer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/TreeBuffer.scala b/src/dotty/tools/dotc/core/pickling/TreeBuffer.scala
index 41a08d2ca..287e2f334 100644
--- a/src/dotty/tools/dotc/core/pickling/TreeBuffer.scala
+++ b/src/dotty/tools/dotc/core/pickling/TreeBuffer.scala
@@ -154,7 +154,7 @@ class TreeBuffer extends TastyBuffer(1000000) {
var saved = 0
do {
saved = adjustDeltas()
- println(s"adjusting deltas, saved = $saved")
+ pickling.println(s"adjusting deltas, saved = $saved")
} while (saved > 0 && length / saved < 100)
adjustOffsets()
val wasted = compress()