summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources/scalac/symtab/Type.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java
index 328ef7bacf..6ccedad1ce 100644
--- a/sources/scalac/symtab/Type.java
+++ b/sources/scalac/symtab/Type.java
@@ -2309,7 +2309,7 @@ public class Type implements Modifiers, Kinds, TypeTags {
Type this1 = unbox();
if (this1 != this) return this1;
else if (args.length == 0) return this;
- else return typeRef(pre, sym, Type.EMPTY_ARRAY);
+ else return typeRef(sym.owner().thisType(), sym, Type.EMPTY_ARRAY);
}
default: throw new ApplicationError();