summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2003-05-06 15:27:09 +0000
committerburaq <buraq@epfl.ch>2003-05-06 15:27:09 +0000
commit723503c1c8f2cfd89b24af71a638202354bc4c7e (patch)
tree1eaa48c36a1ce20b3b12642dcafb0fe3ff02e86f
parentf6ca2753186f35d418b45eea4bf962ce50bd3f0c (diff)
downloadscala-723503c1c8f2cfd89b24af71a638202354bc4c7e.tar.gz
scala-723503c1c8f2cfd89b24af71a638202354bc4c7e.tar.bz2
scala-723503c1c8f2cfd89b24af71a638202354bc4c7e.zip
reintroduced possibility to enter things twice ...
reintroduced possibility to enter things twice in the scope. Is crucial if source files should be taken instead of compiled things.
-rw-r--r--sources/scalac/symtab/Scope.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Scope.java b/sources/scalac/symtab/Scope.java
index 29fbe020cd..7874e4303d 100644
--- a/sources/scalac/symtab/Scope.java
+++ b/sources/scalac/symtab/Scope.java
@@ -178,7 +178,6 @@ public class Scope {
/** enter a symbol
*/
public Scope enter(Symbol sym) {
- assert lookupEntry(sym.name).owner != this : Debug.show(sym);
return enter(new Entry(sym, this));
}