summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/classfile/CLRClassParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/symtab/classfile/CLRClassParser.java')
-rw-r--r--sources/scalac/symtab/classfile/CLRClassParser.java17
1 files changed, 3 insertions, 14 deletions
diff --git a/sources/scalac/symtab/classfile/CLRClassParser.java b/sources/scalac/symtab/classfile/CLRClassParser.java
index 3e66d59fdc..026755a73f 100644
--- a/sources/scalac/symtab/classfile/CLRClassParser.java
+++ b/sources/scalac/symtab/classfile/CLRClassParser.java
@@ -103,21 +103,10 @@ public class CLRClassParser extends SymbolLoader {
nclazz.allConstructors().setInfo(this);
nclazz.module().setInfo(this);
//
- alias.setInfo(scalac.symtab.Type
- .typeRef(clazz.owner().thisType(),
- nclazz, scalac.symtab.Type.EMPTY_ARRAY));
+ alias.setInfo(make.classType(nclazz));
alias.allConstructors()
- .setInfo(MethodType(Symbol.EMPTY_ARRAY, nclazz.info()));
-// statics.enter(nclazz);
-// Scope.Entry e = statics.lookupEntry(clazz.module().name);
-// if (e != Scope.Entry.NONE)
-// statics.unlink(e);
-// statics.enter(nclazz.module());
-
- Scope.Entry e = statics.lookupEntry(alias.name); // Why is this ???
- if (e != Scope.Entry.NONE)
- statics.unlink(e);
- statics.enter(alias);
+ .setInfo(MethodType(Symbol.EMPTY_ARRAY, alias.info()));
+ statics.enterNoHide(alias);
}
// read field information