aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/UnPickler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-06 19:01:42 +0100
committerMartin Odersky <odersky@gmail.com>2014-03-07 11:15:38 +0100
commit6aa88d6dfe501a695183761c2b5f4bd201cdf2c0 (patch)
treebecb8b13bb8d94c9aac7e8e280cde50491ba3efa /src/dotty/tools/dotc/core/pickling/UnPickler.scala
parentdbd5a4d22b6164b708a87b508d9b9f135b44a3ee (diff)
downloaddotty-6aa88d6dfe501a695183761c2b5f4bd201cdf2c0.tar.gz
dotty-6aa88d6dfe501a695183761c2b5f4bd201cdf2c0.tar.bz2
dotty-6aa88d6dfe501a695183761c2b5f4bd201cdf2c0.zip
Main Typer reorg.
Common code between tpd and Typer has been factored out into class TypeAssigner.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/UnPickler.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/UnPickler.scala4
1 files changed, 2 insertions, 2 deletions
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()