diff options
author | michelou <michelou@epfl.ch> | 2004-09-16 14:34:32 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2004-09-16 14:34:32 +0000 |
commit | c2e80c44ac2c2176f1905ccfc981804b66759c1d (patch) | |
tree | 0e028afbd295e3f8e4e36aebfa1b7f2f61aab9bf | |
parent | a28ac701981ce242fd2998e45d7d9607fbcf22a1 (diff) | |
download | scala-c2e80c44ac2c2176f1905ccfc981804b66759c1d.tar.gz scala-c2e80c44ac2c2176f1905ccfc981804b66759c1d.tar.bz2 scala-c2e80c44ac2c2176f1905ccfc981804b66759c1d.zip |
- removed wrong (?) if-test in method 'liftSymb...
- removed wrong (?) if-test in method 'liftSymbol'.
-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; } |