diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-21 11:36:43 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-21 11:36:43 +0000 |
commit | 351971e83a2e460881f097394c8748172a322696 (patch) | |
tree | f4a7ca34441e129be245377b42b8e982cefff85e /sources/scalac | |
parent | aba90f19643a240eee0eacf361b34278a8b62964 (diff) | |
download | scala-351971e83a2e460881f097394c8748172a322696.tar.gz scala-351971e83a2e460881f097394c8748172a322696.tar.bz2 scala-351971e83a2e460881f097394c8748172a322696.zip |
- Fixed method infoAt
Diffstat (limited to 'sources/scalac')
-rw-r--r-- | sources/scalac/symtab/Symbol.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java index e7b6b2530b..6e4cf0d874 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -801,7 +801,12 @@ public abstract class Symbol implements Modifiers, Kinds { /** Get info at start of given phase */ protected final Type infoAt(Phase phase) { - return initialize().rawInfoAt(phase); + Global global = phase.global; + Phase current = global.currentPhase; + global.currentPhase = phase; + Type info = info(); + global.currentPhase = current; + return info; } /** Get info at start of current phase, without forcing lazy types. |