Skip to content

Commit 2fe8ad5

Browse files
committed
FullParameterization: Fix indentation and a typo.
1 parent bef9634 commit 2fe8ad5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/transform/FullParameterization.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ trait FullParameterization {
9191
*
9292
* @param abstractOverClass if true, include the type parameters of the class in the method's list of type parameters.
9393
* @param liftThisType if true, require created $this to be $this: (Foo[A] & Foo,this).
94-
* This is needed of created member stays inside scope of Foo(as in tailrec)
94+
* This is needed if created member stays inside scope of Foo(as in tailrec)
9595
*/
9696
def fullyParameterizedType(info: Type, clazz: ClassSymbol, abstractOverClass: Boolean = true, liftThisType: Boolean = false)(implicit ctx: Context): Type = {
9797
val (mtparamCount, origResult) = info match {
@@ -225,7 +225,7 @@ trait FullParameterization {
225225
*/
226226
def forwarder(derived: TermSymbol, originalDef: DefDef, abstractOverClass: Boolean = true, liftThisType: Boolean = false)(implicit ctx: Context): Tree = {
227227
val fun =
228-
ref(derived.termRef)
228+
ref(derived.termRef)
229229
.appliedToTypes(allInstanceTypeParams(originalDef, abstractOverClass).map(_.typeRef))
230230
.appliedTo(This(originalDef.symbol.enclosingClass.asClass))
231231

0 commit comments

Comments
 (0)