diff options
Diffstat (limited to 'sources/scalac/transformer/ExpandMixins.java')
-rw-r--r-- | sources/scalac/transformer/ExpandMixins.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/transformer/ExpandMixins.java b/sources/scalac/transformer/ExpandMixins.java index dc4d9a04ef..57ab76a5e9 100644 --- a/sources/scalac/transformer/ExpandMixins.java +++ b/sources/scalac/transformer/ExpandMixins.java @@ -95,7 +95,7 @@ public class ClassExpander { switch (parents[i]) { case TypeRef(Type prefix, Symbol mixin, Type[] args): map.insertSymbol(mixin, clasz); - cloner.owners.put(mixin.constructor(), clasz); + cloner.owners.put(mixin.primaryConstructor(), clasz); inlineMixinTParams(type); Tree.Apply constr = (Tree.Apply)template.parents[i]; inlineMixinVParams(mixin.valueParams(), constr.args); |