summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources/scalac/symtab/Scope.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/scalac/symtab/Scope.java b/sources/scalac/symtab/Scope.java
index ee20684da8..7206a9ca02 100644
--- a/sources/scalac/symtab/Scope.java
+++ b/sources/scalac/symtab/Scope.java
@@ -145,6 +145,7 @@ public class Scope {
}
public Scope enter(Entry e) {
+ assert this != Scope.EMPTY: Debug.show(e.sym);
elems = e;
elemsCache = null;
if (hashtable != null) {