diff options
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/transformer/AddConstructors.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/transformer/AddConstructors.java b/sources/scalac/transformer/AddConstructors.java index 1237ff32e4..bc00cfd709 100644 --- a/sources/scalac/transformer/AddConstructors.java +++ b/sources/scalac/transformer/AddConstructors.java @@ -90,7 +90,7 @@ public class AddConstructors extends Transformer { constrType = Type.PolyType(tparamSyms, constrType); if (!classConstr.isExternal()) - constrType.cloneType(classConstr, constr); + constrType = constrType.cloneType(classConstr, constr); constr.setInfo(constrType); constructors.put(classConstr, constr); |