summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-28 12:15:19 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-28 12:15:19 +0000
commit95fb97c1d2e7861a456ad7a036f723603a0e1ac1 (patch)
treec5c5f9b8f6454770514dbcd27974bb34911098c9 /sources/scalac/symtab
parent5ec41c878f34f62b67b0ea477ff172549d025c2c (diff)
downloadscala-95fb97c1d2e7861a456ad7a036f723603a0e1ac1.tar.gz
scala-95fb97c1d2e7861a456ad7a036f723603a0e1ac1.tar.bz2
scala-95fb97c1d2e7861a456ad7a036f723603a0e1ac1.zip
- Fixed rawFirstInfoStartPhase
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r--sources/scalac/symtab/Symbol.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java
index 2a258dd9f7..03d5cbd6fa 100644
--- a/sources/scalac/symtab/Symbol.java
+++ b/sources/scalac/symtab/Symbol.java
@@ -895,7 +895,8 @@ public abstract class Symbol implements Modifiers, Kinds {
TypeIntervalList infos = this.infos;
assert infos != null : this;
while (infos.prev != null) infos = infos.prev;
- return infos.start;
+ Phase phase = infos.start;
+ return phase.prev != null && phase.next != null ? phase.next : phase;
}
/** Get type at start of current phase. The type of a symbol is: