diff options
author | paltherr <paltherr@epfl.ch> | 2003-05-06 11:14:00 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-05-06 11:14:00 +0000 |
commit | 7099e17fb256720a84284086e2811416320905f4 (patch) | |
tree | 55e93764fa6664dafa887d8c1a046d23fe2c2e40 | |
parent | 3db933967d05b4a06c275462d4f07b61db9a462f (diff) | |
download | scala-7099e17fb256720a84284086e2811416320905f4.tar.gz scala-7099e17fb256720a84284086e2811416320905f4.tar.bz2 scala-7099e17fb256720a84284086e2811416320905f4.zip |
- Removed commented out code
-rw-r--r-- | sources/scalac/symtab/Scope.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sources/scalac/symtab/Scope.java b/sources/scalac/symtab/Scope.java index c205342011..29fbe020cd 100644 --- a/sources/scalac/symtab/Scope.java +++ b/sources/scalac/symtab/Scope.java @@ -184,19 +184,6 @@ public class Scope { public Scope enterOrOverload(Symbol sym) { Entry e = lookupEntry(sym.name); - /* !!! - if (e == Entry.NONE) { - return enter(sym); - } else { - sym = e.sym.overloadWith(sym); - if (e.owner == this) { - e.setSymbol(sym); - return this; - } else { - return enter(new Entry(sym, this)); - } - } - */ if (e.owner == this && (sym.flags & Modifiers.PRIVATE) == 0) { e.setSymbol(e.sym.overloadWith(sym)); return this; |