diff options
Diffstat (limited to 'sources/scalac/transformer/LambdaLift.java')
-rw-r--r-- | sources/scalac/transformer/LambdaLift.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/scalac/transformer/LambdaLift.java b/sources/scalac/transformer/LambdaLift.java index f1f0949146..f8d5218659 100644 --- a/sources/scalac/transformer/LambdaLift.java +++ b/sources/scalac/transformer/LambdaLift.java @@ -581,10 +581,6 @@ public class LambdaLift extends OwnerTransformer case LabelDef(_, _, _): Symbol sym = tree.symbol(); assert sym.isLocal() : sym; - if (!sym.owner().owner().isClass()) { - assert sym.owner().owner().owner().isClass(): tree; - sym.setOwner(sym.owner().owner()); - } break; } |