diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-10 02:29:56 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-10 02:29:56 +0000 |
commit | 98bd45db839f0ec470d1fdbd42d5c748e428f4b5 (patch) | |
tree | 7cc9c1111515fa57b4a8917b87b61ae1cdf54282 /sources/scalac/symtab/classfile/UnPickle.java | |
parent | 70d535ae7b9e689b699a5327cdee747464874420 (diff) | |
download | scala-98bd45db839f0ec470d1fdbd42d5c748e428f4b5.tar.gz scala-98bd45db839f0ec470d1fdbd42d5c748e428f4b5.tar.bz2 scala-98bd45db839f0ec470d1fdbd42d5c748e428f4b5.zip |
- Added new factory methods in class Symbol
- Removed hack from ClassSymbol.dualClass
- Rewrote PackageParser and adapted other parsers and analyzer to use
the new factory method
- Replaced some unsound calls to Symbol.module by calls to Symbol.dualClass
Diffstat (limited to 'sources/scalac/symtab/classfile/UnPickle.java')
-rw-r--r-- | sources/scalac/symtab/classfile/UnPickle.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/symtab/classfile/UnPickle.java b/sources/scalac/symtab/classfile/UnPickle.java index 7efb9c318f..f87a411f47 100644 --- a/sources/scalac/symtab/classfile/UnPickle.java +++ b/sources/scalac/symtab/classfile/UnPickle.java @@ -39,10 +39,10 @@ public class UnPickle implements Kinds, Modifiers, EntryTags, TypeTags { global = Global.instance; if (root.isConstructor()) { this.classroot = root.constructorClass(); - this.moduleroot = classroot.module(); + this.moduleroot = classroot.dualClass().module(); } else if (root.isType()) { this.classroot = root; - this.moduleroot = classroot.module(); + this.moduleroot = classroot.dualClass().module(); } else { this.moduleroot = root; this.classroot = root.owner().lookup(root.name.toTypeName()); |