diff options
author | Martin Odersky <odersky@gmail.com> | 2003-08-21 10:30:27 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-08-21 10:30:27 +0000 |
commit | b227b272110f0654064632642c2ca1031e7c68c6 (patch) | |
tree | 747970915b10fc1eb9b80481c44052a3808fd08f /sources/scalac/symtab/Type.java | |
parent | 7b1200a4f4ecd1014055f65f384bd814754256b0 (diff) | |
download | scala-b227b272110f0654064632642c2ca1031e7c68c6.tar.gz scala-b227b272110f0654064632642c2ca1031e7c68c6.tar.bz2 scala-b227b272110f0654064632642c2ca1031e7c68c6.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/symtab/Type.java')
-rw-r--r-- | sources/scalac/symtab/Type.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java index 5a66ff9a17..847b847baa 100644 --- a/sources/scalac/symtab/Type.java +++ b/sources/scalac/symtab/Type.java @@ -989,7 +989,7 @@ public class Type implements Modifiers, Kinds, TypeTags, EntryTags { Type toInstance(Symbol sym, Type pre, Symbol clazz) { if (pre == NoType || clazz.kind != CLASS) return this; - Symbol ownclass = sym.owner().primaryConstructorClass(); + Symbol ownclass = sym.owner().constructorClass(); if (ownclass == clazz && pre.widen().symbol().isSubClass(ownclass)) { switch (pre.baseType(ownclass)) { |