diff options
Diffstat (limited to 'sources/scalac')
-rw-r--r-- | sources/scalac/symtab/Type.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java index 6ccedad1ce..4ffdeb496d 100644 --- a/sources/scalac/symtab/Type.java +++ b/sources/scalac/symtab/Type.java @@ -2308,8 +2308,7 @@ public class Type implements Modifiers, Kinds, TypeTags { else { Type this1 = unbox(); if (this1 != this) return this1; - else if (args.length == 0) return this; - else return typeRef(sym.owner().thisType(), sym, Type.EMPTY_ARRAY); + else return sym.typeConstructor(); } default: throw new ApplicationError(); |