Skip to content

Commit 46c1ce4

Browse files
committed
Cleanup
1 parent 5f3c3e8 commit 46c1ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/ExpandSAMs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ExpandSAMs extends MiniPhase {
3434
ctx.platform.isSam(cls)
3535

3636
override def transformBlock(tree: Block)(implicit ctx: Context): Tree = tree match {
37-
case Block(stats @ (fn: DefDef) :: Nil, cl @ Closure(_, fnRef, tpt)) if fnRef.symbol == fn.symbol =>
37+
case Block(stats @ (fn: DefDef) :: Nil, Closure(_, fnRef, tpt)) if fnRef.symbol == fn.symbol =>
3838
tpt.tpe match {
3939
case NoType =>
4040
tree // it's a plain function

0 commit comments

Comments
 (0)