We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ef72b commit 1070499Copy full SHA for 1070499
src/dotty/tools/dotc/transform/LambdaLift.scala
@@ -408,16 +408,4 @@ class LambdaLift extends MiniPhaseTransform with IdentityDenotTransformer { this
408
409
override def transformTypeDef(tree: TypeDef)(implicit ctx: Context, info: TransformerInfo) =
410
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
-*/
+}
0 commit comments