Skip to content

Commit e83df26

Browse files
committed
Fix dotty deviation failure in TailRec
1 parent ed4cba0 commit e83df26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class TailRec extends TreeTransform with DenotTransformer {
129129
Block(
130130
List(res),
131131
vparamss0.foldLeft(Apply(call, List(This(owner))))
132-
{case (call, args) => Apply(call, args.map(x=> Ident(x.symbol.termRef)))}
132+
{(call, args) => Apply(call, args.map(x => Ident(x.symbol.termRef)))}
133133
)
134134
}
135135
else {

0 commit comments

Comments
 (0)