Skip to content

Commit 1070499

Browse files
committed
Dropped comment.
1 parent a3ef72b commit 1070499

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

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

+1-13
Original file line numberDiff line numberDiff line change
@@ -408,16 +408,4 @@ class LambdaLift extends MiniPhaseTransform with IdentityDenotTransformer { this
408408

409409
override def transformTypeDef(tree: TypeDef)(implicit ctx: Context, info: TransformerInfo) =
410410
if (needsLifting(tree.symbol)) liftDef(tree) else tree
411-
}
412-
413-
414-
/* done in lazyvals?
415-
case Block(stats, expr0) =>
416-
val (lzyVals, rest) = stats partition {
417-
case stat: ValDef => stat.symbol.isLazy || stat.symbol.isModuleVar
418-
case _ => false
419-
}
420-
if (lzyVals.isEmpty) tree
421-
else treeCopy.Block(tree, lzyVals ::: rest, expr0)
422-
423-
*/
411+
}

0 commit comments

Comments
 (0)