From 6aa88d6dfe501a695183761c2b5f4bd201cdf2c0 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 6 Mar 2014 19:01:42 +0100 Subject: Main Typer reorg. Common code between tpd and Typer has been factored out into class TypeAssigner. --- src/dotty/tools/dotc/core/pickling/UnPickler.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty/tools/dotc/core/pickling/UnPickler.scala') diff --git a/src/dotty/tools/dotc/core/pickling/UnPickler.scala b/src/dotty/tools/dotc/core/pickling/UnPickler.scala index c69f60758..622752570 100644 --- a/src/dotty/tools/dotc/core/pickling/UnPickler.scala +++ b/src/dotty/tools/dotc/core/pickling/UnPickler.scala @@ -988,7 +988,7 @@ class UnPickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: case UNAPPLYtree => val fun = readTreeRef() val args = until(end, readTreeRef) - UnApply(fun, Nil, args) // !!! this is wrong in general + UnApply(fun, Nil, args, defn.AnyType) // !!! this is wrong in general case ARRAYVALUEtree => val elemtpt = readTreeRef() @@ -1067,7 +1067,7 @@ class UnPickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: setSym() val qual = readTreeRef() val mix = readTypeNameRef() - Super(qual, mix) + Super(qual, mix, inConstrCall = false) // todo: revise case THIStree => setSym() -- cgit v1.2.3