diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-03-31 14:31:43 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-03-31 14:50:40 +0200 |
commit | 2fe8ad5d6dbcac4de9ee263ab30d4cc02ceab9ca (patch) | |
tree | eb6262489cf63d1390c82ec3498313f397d944eb /src/dotty/tools/dotc/transform/FullParameterization.scala | |
parent | bef963479349e9b977074c68a44cfc1d5926dbbf (diff) | |
download | dotty-2fe8ad5d6dbcac4de9ee263ab30d4cc02ceab9ca.tar.gz dotty-2fe8ad5d6dbcac4de9ee263ab30d4cc02ceab9ca.tar.bz2 dotty-2fe8ad5d6dbcac4de9ee263ab30d4cc02ceab9ca.zip |
FullParameterization: Fix indentation and a typo.
Diffstat (limited to 'src/dotty/tools/dotc/transform/FullParameterization.scala')
-rw-r--r-- | src/dotty/tools/dotc/transform/FullParameterization.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/transform/FullParameterization.scala b/src/dotty/tools/dotc/transform/FullParameterization.scala index cc8aeb9c4..be64df384 100644 --- a/src/dotty/tools/dotc/transform/FullParameterization.scala +++ b/src/dotty/tools/dotc/transform/FullParameterization.scala @@ -91,7 +91,7 @@ trait FullParameterization { * * @param abstractOverClass if true, include the type parameters of the class in the method's list of type parameters. * @param liftThisType if true, require created $this to be $this: (Foo[A] & Foo,this). - * This is needed of created member stays inside scope of Foo(as in tailrec) + * This is needed if created member stays inside scope of Foo(as in tailrec) */ def fullyParameterizedType(info: Type, clazz: ClassSymbol, abstractOverClass: Boolean = true, liftThisType: Boolean = false)(implicit ctx: Context): Type = { val (mtparamCount, origResult) = info match { @@ -225,7 +225,7 @@ trait FullParameterization { */ def forwarder(derived: TermSymbol, originalDef: DefDef, abstractOverClass: Boolean = true, liftThisType: Boolean = false)(implicit ctx: Context): Tree = { val fun = - ref(derived.termRef) + ref(derived.termRef) .appliedToTypes(allInstanceTypeParams(originalDef, abstractOverClass).map(_.typeRef)) .appliedTo(This(originalDef.symbol.enclosingClass.asClass)) |