aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/tasty
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-17 13:17:49 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:28 +0200
commit2b5d1a80023f5676f5a97f0c56919c1f04f7ce2f (patch)
tree2a6acc50c54594e7cfe48314cdc46dc4922bc72c /compiler/src/dotty/tools/dotc/core/tasty
parent30af0b52e4e5b185ef84496559dc44c8d93d6357 (diff)
downloaddotty-2b5d1a80023f5676f5a97f0c56919c1f04f7ce2f.tar.gz
dotty-2b5d1a80023f5676f5a97f0c56919c1f04f7ce2f.tar.bz2
dotty-2b5d1a80023f5676f5a97f0c56919c1f04f7ce2f.zip
Refactor ParamRef so that no type params are needed
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty')
-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 8801eb19b..a9cd9be1d 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: TermParamRef =>
assert(pickleParamType(tpe), s"orphan method parameter: $tpe")
case tpe: LazyRef =>
pickleType(tpe.ref)