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 6bcc318 commit b0b6902Copy full SHA for b0b6902
src/dotty/tools/dotc/transform/LambdaLift.scala
@@ -294,7 +294,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
294
local.copySymDenotation(
295
owner = newOwner,
296
name = newName(local),
297
- initFlags = local.flags | Private | maybeStatic | maybeNotJavaPrivate,
+ initFlags = local.flags &~ InSuperCall | Private | maybeStatic | maybeNotJavaPrivate,
298
info = liftedInfo(local)).installAfter(thisTransform)
299
if (local.isClass)
300
for (member <- local.asClass.info.decls)
0 commit comments