diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-28 05:55:32 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-28 05:55:32 +0000 |
commit | 8f8507d071a0bc2e9a14dbf8e2ee42f353cea338 (patch) | |
tree | 57419ef5ba487208abbc09b5d780830110dbc316 /sources/scalac/symtab/classfile/PackageParser.java | |
parent | 8f86ae48c341b0676d8162ed8a4c11be0ce0a27b (diff) | |
download | scala-8f8507d071a0bc2e9a14dbf8e2ee42f353cea338.tar.gz scala-8f8507d071a0bc2e9a14dbf8e2ee42f353cea338.tar.bz2 scala-8f8507d071a0bc2e9a14dbf8e2ee42f353cea338.zip |
- Added phase changes
Diffstat (limited to 'sources/scalac/symtab/classfile/PackageParser.java')
-rw-r--r-- | sources/scalac/symtab/classfile/PackageParser.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/scalac/symtab/classfile/PackageParser.java b/sources/scalac/symtab/classfile/PackageParser.java index 544db13092..346272230b 100644 --- a/sources/scalac/symtab/classfile/PackageParser.java +++ b/sources/scalac/symtab/classfile/PackageParser.java @@ -37,6 +37,8 @@ public class PackageParser extends Type.LazyType { /** complete package type symbol p by loading all package members */ public void complete(Symbol p) { + Phase phase = global.currentPhase; + global.currentPhase = global.getFirstPhase(); long msec = System.currentTimeMillis(); Scope members = new Scope(); String dirname = null; @@ -57,6 +59,7 @@ public class PackageParser extends Type.LazyType { dirname = "anonymous package"; global.operation("scanned " + dirname + " in " + (System.currentTimeMillis() - msec) + "ms"); + global.currentPhase = phase; } private boolean isMostRecent(AbstractFile f, Symbol previous, HashMap symFile) { |