summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/ClosureHistory.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/symtab/ClosureHistory.java')
-rw-r--r--sources/scalac/symtab/ClosureHistory.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/scalac/symtab/ClosureHistory.java b/sources/scalac/symtab/ClosureHistory.java
index 514e093f29..0f5073cd89 100644
--- a/sources/scalac/symtab/ClosureHistory.java
+++ b/sources/scalac/symtab/ClosureHistory.java
@@ -66,6 +66,10 @@ public class ClosureHistory extends History {
for (int i = 0; i < parents.length; i++)
addParents(table, parents[i]);
return;
+ case SingleType(_, _):
+ case ThisType(_):
+ addParents(table, type.singleDeref());
+ return;
default:
throw Debug.abort("illegal case", type);
}