summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-21 11:36:43 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-21 11:36:43 +0000
commit351971e83a2e460881f097394c8748172a322696 (patch)
treef4a7ca34441e129be245377b42b8e982cefff85e /sources
parentaba90f19643a240eee0eacf361b34278a8b62964 (diff)
downloadscala-351971e83a2e460881f097394c8748172a322696.tar.gz
scala-351971e83a2e460881f097394c8748172a322696.tar.bz2
scala-351971e83a2e460881f097394c8748172a322696.zip
- Fixed method infoAt
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/symtab/Symbol.java7
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.