diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-01 18:44:28 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-01 18:44:28 +0000 |
commit | b8f8fb77bb2b890aa0f5665234f22625bc4c4edc (patch) | |
tree | d22d8d112c34aa3e3c160580988c96a3368165f7 /sources | |
parent | c86863e436b5ce337284a4cb71ef875d9c419abb (diff) | |
download | scala-b8f8fb77bb2b890aa0f5665234f22625bc4c4edc.tar.gz scala-b8f8fb77bb2b890aa0f5665234f22625bc4c4edc.tar.bz2 scala-b8f8fb77bb2b890aa0f5665234f22625bc4c4edc.zip |
- Fixed to correctly retrieve reference to ROOT...
- Fixed to correctly retrieve reference to ROOT.module()
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/symtab/classfile/UnPickle.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/scalac/symtab/classfile/UnPickle.java b/sources/scalac/symtab/classfile/UnPickle.java index 5939455f30..8b824524d8 100644 --- a/sources/scalac/symtab/classfile/UnPickle.java +++ b/sources/scalac/symtab/classfile/UnPickle.java @@ -186,6 +186,7 @@ public class UnPickle implements Kinds, Modifiers, EntryTags, TypeTags { } if (name == Names.ROOT && owner == Symbol.NONE) { sym = Global.instance.definitions.ROOT_CLASS; + if (tag == EXTref) sym = sym.module(); } else { sym = owner.info().lookup(name); if (tag == EXTMODCLASSref) { |