aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-16 19:06:14 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:28 +0200
commite6abcfc0d8009210cef8b78d14c13ddab267d921 (patch)
tree14cc12f650d49df06923b9c4cf792d0261040067 /compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
parent5811755f91d2bd501124922c0348923b430f0c49 (diff)
downloaddotty-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.scala2
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)