diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-16 19:06:14 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-06 13:15:28 +0200 |
commit | e6abcfc0d8009210cef8b78d14c13ddab267d921 (patch) | |
tree | 14cc12f650d49df06923b9c4cf792d0261040067 /compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala | |
parent | 5811755f91d2bd501124922c0348923b430f0c49 (diff) | |
download | dotty-e6abcfc0d8009210cef8b78d14c13ddab267d921.tar.gz dotty-e6abcfc0d8009210cef8b78d14c13ddab267d921.tar.bz2 dotty-e6abcfc0d8009210cef8b78d14c13ddab267d921.zip |
Get rid of Name parameter for LambdaType and ParamRef
Use an abstract type instead.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala index fc697bb4a..8801eb19b 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala @@ -266,7 +266,7 @@ class TreePickler(pickler: TastyPickler) { case TypeBounds(lo, hi) if lo eq hi => pickleNewType(lo, richTypes) case _ => assert(false, s"orphan poly parameter: $tpe") } - case tpe: ParamRef[_, _] => + case tpe: ParamRef[_] => assert(pickleParamType(tpe), s"orphan method parameter: $tpe") case tpe: LazyRef => pickleType(tpe.ref) |