aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/sbt
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-17 15:08:59 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:28 +0200
commit5fe6f54de36224974bdd3a9169f899f6df25971e (patch)
treeaf7d433304a4b35c38f1c2cccecee240353ffadc /compiler/src/dotty/tools/dotc/sbt
parent700e7ac6658a1d699502c94141091012d18519c4 (diff)
downloaddotty-5fe6f54de36224974bdd3a9169f899f6df25971e.tar.gz
dotty-5fe6f54de36224974bdd3a9169f899f6df25971e.tar.bz2
dotty-5fe6f54de36224974bdd3a9169f899f6df25971e.zip
Eliminate ParamType
Replace with ParamRef
Diffstat (limited to 'compiler/src/dotty/tools/dotc/sbt')
-rw-r--r--compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala b/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala
index 89e935bd5..dd060ea09 100644
--- a/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala
+++ b/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala
@@ -460,7 +460,7 @@ private class ExtractAPICollector(implicit val ctx: Context) extends ThunkHolder
new api.Annotated(apiType(tpe), Array(apiAnnotation(annot)))
case tp: ThisType =>
apiThis(tp.cls)
- case tp: ParamType =>
+ case tp: ParamRef =>
// TODO: Distinguishing parameters based on their names alone is not enough,
// the binder is also needed (at least for type lambdas).
new api.ParameterRef(tp.paramName.toString)