diff options
Diffstat (limited to 'sources/scalac/ast/TreeGen.java')
-rw-r--r-- | sources/scalac/ast/TreeGen.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java index 1bbb32aebf..4abd940f9c 100644 --- a/sources/scalac/ast/TreeGen.java +++ b/sources/scalac/ast/TreeGen.java @@ -1094,7 +1094,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags { AbsTypeDef tree = make.AbsTypeDef( sym.pos, sym, - TypeTerm(sym.pos, sym.nextInfo()), + TypeTerm(sym.pos, sym.isViewBounded() ? sym.vuBound() : sym.nextInfo()), TypeTerm(sym.pos, sym.loBound())); tree.setType(Type.NoType); return tree; |