[JS IR BE] Don't copy type parameters in secondary ctor lowering

This commit is contained in:
Svyatoslav Kuzmich
2018-08-28 20:55:26 +03:00
parent a01b6de2d8
commit dde1e9335e
@@ -257,7 +257,8 @@ class SecondaryCtorLowering(val context: JsIrBackendContext) {
newTarget: IrSimpleFunctionSymbol
) = IrCallImpl(call.startOffset, call.endOffset, call.type, newTarget).apply {
// copyTypeArgumentsFrom(call)
// TODO: Should constructors have type arguments
// copyTypeArgumentsFrom(call)
for (i in 0 until call.valueArgumentsCount) {
putValueArgument(i, call.getValueArgument(i))