We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a84054 commit 155e1beCopy full SHA for 155e1be
src/dotty/tools/dotc/transform/LambdaLift.scala
@@ -279,7 +279,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
279
local.copySymDenotation(
280
owner = newOwner,
281
name = newName(local),
282
- initFlags = local.flags | Private | maybeStatic | maybeNotJavaPrivate,
+ initFlags = local.flags &~ InSuperCall | Private | maybeStatic | maybeNotJavaPrivate,
283
info = liftedInfo(local)).installAfter(thisTransform)
284
if (local.isClass)
285
for (member <- local.asClass.info.decls)
0 commit comments