[JS IR BE] Don't copy type parameters in secondary ctor lowering
This commit is contained in:
+2
-1
@@ -257,7 +257,8 @@ class SecondaryCtorLowering(val context: JsIrBackendContext) {
|
|||||||
newTarget: IrSimpleFunctionSymbol
|
newTarget: IrSimpleFunctionSymbol
|
||||||
) = IrCallImpl(call.startOffset, call.endOffset, call.type, newTarget).apply {
|
) = 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) {
|
for (i in 0 until call.valueArgumentsCount) {
|
||||||
putValueArgument(i, call.getValueArgument(i))
|
putValueArgument(i, call.getValueArgument(i))
|
||||||
|
|||||||
Reference in New Issue
Block a user