diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-17 15:08:59 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-06 13:15:28 +0200 |
commit | 5fe6f54de36224974bdd3a9169f899f6df25971e (patch) | |
tree | af7d433304a4b35c38f1c2cccecee240353ffadc /compiler/src/dotty/tools/dotc/sbt | |
parent | 700e7ac6658a1d699502c94141091012d18519c4 (diff) | |
download | dotty-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.scala | 2 |
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) |