summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/ClosureHistory.java
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2004-08-23 14:58:37 +0000
committerMartin Odersky <odersky@gmail.com>2004-08-23 14:58:37 +0000
commit4a1a36b3441d1a1b1013941f73ce83f4837f874b (patch)
tree2cc92f9ba393b1fb351058fd3b0f788e2b07527c /sources/scalac/symtab/ClosureHistory.java
parentba35c9553c4cee8e1142d6eb7b561fdef65447a2 (diff)
downloadscala-4a1a36b3441d1a1b1013941f73ce83f4837f874b.tar.gz
scala-4a1a36b3441d1a1b1013941f73ce83f4837f874b.tar.bz2
scala-4a1a36b3441d1a1b1013941f73ce83f4837f874b.zip
*** empty log message ***
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);
}