Skip to content

Commit d5168c3

Browse files
committed
Reformatting to avoid a long line
1 parent 9dfc098 commit d5168c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,10 @@ class TailRec extends MiniPhaseTransform with DenotTransformer with FullParamete
247247
} else targs
248248

249249
val method = if (callTargs.nonEmpty) TypeApply(Ident(label.termRef), callTargs) else Ident(label.termRef)
250-
val thisPassed = if(this.method.owner.isClass) method appliedTo(receiver.ensureConforms(method.tpe.widen.firstParamTypes.head)) else method
250+
val thisPassed =
251+
if (this.method.owner.isClass)
252+
method.appliedTo(receiver.ensureConforms(method.tpe.widen.firstParamTypes.head))
253+
else method
251254

252255
val res =
253256
if (thisPassed.tpe.widen.isParameterless) thisPassed

0 commit comments

Comments
 (0)