summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2004-09-16 14:34:32 +0000
committermichelou <michelou@epfl.ch>2004-09-16 14:34:32 +0000
commitc2e80c44ac2c2176f1905ccfc981804b66759c1d (patch)
tree0e028afbd295e3f8e4e36aebfa1b7f2f61aab9bf
parenta28ac701981ce242fd2998e45d7d9607fbcf22a1 (diff)
downloadscala-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.java4
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;
}