From 95fb97c1d2e7861a456ad7a036f723603a0e1ac1 Mon Sep 17 00:00:00 2001 From: paltherr Date: Tue, 28 Oct 2003 12:15:19 +0000 Subject: - Fixed rawFirstInfoStartPhase --- sources/scalac/symtab/Symbol.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sources/scalac/symtab') 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: -- cgit v1.2.3