From 98bd45db839f0ec470d1fdbd42d5c748e428f4b5 Mon Sep 17 00:00:00 2001 From: paltherr Date: Wed, 10 Mar 2004 02:29:56 +0000 Subject: - 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 --- sources/scalac/symtab/classfile/UnPickle.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/scalac/symtab/classfile/UnPickle.java') 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()); -- cgit v1.2.3