Skip to content

Commit 1659931

Browse files
committed
Add Lifted flag to lifted DefDefs
1 parent fc7e60e commit 1659931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ object LambdaLift {
341341
local.copySymDenotation(
342342
owner = newOwner,
343343
name = newName(local),
344-
initFlags = local.flags &~ Module &~ Final | Private | maybeStatic,
344+
initFlags = local.flags &~ Module &~ Final | Private | Lifted | maybeStatic,
345345
// drop Module because class is no longer a singleton in the lifted context.
346346
info = liftedInfo(local)).installAfter(thisPhase)
347347
}

0 commit comments

Comments
 (0)