diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrBuiltinSymbolsContainer.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrBuiltinSymbolsContainer.kt index 1e2b360172140..649698546dacf 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrBuiltinSymbolsContainer.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrBuiltinSymbolsContainer.kt @@ -135,7 +135,6 @@ class Fir2IrBuiltinSymbolsContainer( constructorSymbol, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 0, ) } diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/IrBuiltInsOverFir.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/IrBuiltInsOverFir.kt index 6c366a20dd196..32bd920b8d6f6 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/IrBuiltInsOverFir.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/IrBuiltInsOverFir.kt @@ -377,7 +377,6 @@ class IrBuiltInsOverFir( constructorSymbol, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 0, ) annotationCall diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt index 97e215e9e814d..a14fb56666342 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt @@ -873,7 +873,7 @@ class CallAndReferenceGenerator( @OptIn(UnsafeDuringIrConstructionAPI::class) // Error class constructor is already created, see IrErrorClassImpl. IrConstructorCallImpl( startOffset, endOffset, type, type.symbol.owner.primaryConstructor!!.symbol, - valueArgumentsCount = 0, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, + typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, source = FirAnnotationSourceElement(annotation), ) } diff --git a/compiler/ir/backend.common/test/org/jetbrains/kotlin/backend/common/IrValidatorTest.kt b/compiler/ir/backend.common/test/org/jetbrains/kotlin/backend/common/IrValidatorTest.kt index da1ce060e4c90..b2a6b0d7a23bc 100644 --- a/compiler/ir/backend.common/test/org/jetbrains/kotlin/backend/common/IrValidatorTest.kt +++ b/compiler/ir/backend.common/test/org/jetbrains/kotlin/backend/common/IrValidatorTest.kt @@ -416,7 +416,6 @@ class IrValidatorTest { symbol = annotationConstructor.symbol, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 0, ) ) file2.addChild(annotatedClass) diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/ir/IrBuilder.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/ir/IrBuilder.kt index fdd7219b15517..629a1f1026b3d 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/ir/IrBuilder.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/ir/IrBuilder.kt @@ -91,7 +91,6 @@ object JsIrBuilder { target, typeArgumentsCount = irClass.typeParameters.size, constructorTypeArgumentsCount = owner.typeParameters.size, - valueArgumentsCount = owner.valueParameters.size, origin = origin ).apply { typeArguments?.let { diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/CallableReferenceLowering.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/CallableReferenceLowering.kt index 01c1a76908b46..f9fc8961c9c9c 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/CallableReferenceLowering.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/CallableReferenceLowering.kt @@ -92,7 +92,6 @@ class CallableReferenceLowering(private val context: JsCommonBackendContext) : B startOffset, endOffset, type, ctor.symbol, typeArgumentsCount = 0, /*TODO: properly set type arguments*/ constructorTypeArgumentsCount = 0, - valueArgumentsCount = vpCount, origin = JsStatementOrigins.CALLABLE_REFERENCE_CREATE ).apply { boundReceiver?.let { @@ -323,7 +322,6 @@ class CallableReferenceLowering(private val context: JsCommonBackendContext) : B callee.symbol, callee.countContextTypeParameters(), callee.typeParameters.size, - callee.valueParameters.size, JsStatementOrigins.CALLABLE_REFERENCE_INVOKE ) is IrSimpleFunction -> diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/InteropCallableReferenceLowering.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/InteropCallableReferenceLowering.kt index 1a0e7407f7931..0a01de80e538d 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/InteropCallableReferenceLowering.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/InteropCallableReferenceLowering.kt @@ -535,8 +535,7 @@ class InteropCallableReferenceLowering(val context: JsIrBackendContext) : BodyLo lambdaType, constructor.symbol, lambdaInfo.lambdaClass.typeParameters.size, - constructor.typeParameters.size, - constructor.valueParameters.size + constructor.typeParameters.size ) for ((i, vp) in factoryFunction.valueParameters.withIndex()) { diff --git a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/DirectInvokeLowering.kt b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/DirectInvokeLowering.kt index 57baa28bdb111..cd1b50311d3a2 100644 --- a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/DirectInvokeLowering.kt +++ b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/DirectInvokeLowering.kt @@ -101,8 +101,7 @@ internal class DirectInvokeLowering(private val context: JvmBackendContext) : Fi IrConstructorCallImpl( expression.startOffset, expression.endOffset, expression.type, irFun.symbol, typeArgumentsCount = irFun.typeParameters.size, - constructorTypeArgumentsCount = 0, - valueArgumentsCount = irFun.valueParameters.size + constructorTypeArgumentsCount = 0 ).apply { copyReceiverAndValueArgumentsForDirectInvoke(receiver, expression) } diff --git a/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/BuiltInsLowering.kt b/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/BuiltInsLowering.kt index 0e980f4c4eb7a..dec6d7f3fdfc6 100644 --- a/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/BuiltInsLowering.kt +++ b/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/BuiltInsLowering.kt @@ -184,7 +184,6 @@ class BuiltInsLowering(val context: WasmBackendContext) : FileLoweringPass { type = kclassConstructor.returnType, symbol = kclassConstructor.symbol, typeArgumentsCount = 1, - valueArgumentsCount = 1, constructorTypeArgumentsCount = 0 ).also { it.putClassTypeArgument(0, type) diff --git a/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/WasmSharedVariablesManager.kt b/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/WasmSharedVariablesManager.kt index 876d6f98817f9..f292823f5ee4b 100644 --- a/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/WasmSharedVariablesManager.kt +++ b/compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/WasmSharedVariablesManager.kt @@ -41,8 +41,7 @@ class WasmSharedVariablesManager(val context: WasmBackendContext) : SharedVariab type = boxClass.defaultType, symbol = constructorSymbol, typeArgumentsCount = boxClass.owner.typeParameters.size, - constructorTypeArgumentsCount = constructorSymbol.owner.typeParameters.size, - valueArgumentsCount = constructorSymbol.owner.valueParameters.size + constructorTypeArgumentsCount = constructorSymbol.owner.typeParameters.size ).apply { putValueArgument(0, initializer) } diff --git a/compiler/ir/ir.actualization/src/main/kotlin/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualLinker.kt b/compiler/ir/ir.actualization/src/main/kotlin/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualLinker.kt index fdb0306e86b82..ef5a6833e6eb6 100644 --- a/compiler/ir/ir.actualization/src/main/kotlin/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualLinker.kt +++ b/compiler/ir/ir.actualization/src/main/kotlin/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualLinker.kt @@ -256,7 +256,6 @@ internal open class ActualizerVisitor(private val symbolRemapper: SymbolRemapper constructorSymbol, expression.typeArgumentsCount, expression.constructorTypeArgumentsCount, - valueArgumentsCount, mapStatementOrigin(expression.origin), ).apply { copyRemappedTypeArgumentsFrom(expression) diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt index 3715d9928c673..b59b955750526 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt @@ -260,7 +260,6 @@ fun IrBuilderWithScope.irCall( ): IrConstructorCall = IrConstructorCallImpl( startOffset, endOffset, type, callee, - valueArgumentsCount = callee.owner.valueParameters.size, typeArgumentsCount = callee.owner.typeParameters.size + constructedClass.typeParameters.size, constructorTypeArgumentsCount = callee.owner.typeParameters.size ) diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/impl/builders.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/impl/builders.kt index 5627c10d3df1a..e6e30e707ba5e 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/impl/builders.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/impl/builders.kt @@ -841,9 +841,9 @@ fun IrConstructorCallImpl( symbol: IrConstructorSymbol, typeArgumentsCount: Int, constructorTypeArgumentsCount: Int, - valueArgumentsCount: Int = symbol.owner.valueParameters.size, origin: IrStatementOrigin? = null, source: SourceElement = SourceElement.NO_SOURCE, + valueArgumentsCount: Int = symbol.owner.valueParameters.size, ): IrConstructorCallImpl = IrConstructorCallImplWithShape( startOffset = startOffset, endOffset = endOffset, diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/IrUtils.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/IrUtils.kt index 2bf96758dbfb8..bd5118d095edd 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/IrUtils.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/IrUtils.kt @@ -518,7 +518,6 @@ fun irConstructorCall( symbol = newSymbol, typeArgumentsCount = typeArgumentsCount, constructorTypeArgumentsCount = 0, - valueArgumentsCount = call.valueArgumentsCount, origin = origin ).apply { copyTypeAndValueArgumentsFrom( diff --git a/plugins/atomicfu/atomicfu-compiler/src/org/jetbrains/kotlinx/atomicfu/compiler/backend/js/AtomicfuJsIrTransformer.kt b/plugins/atomicfu/atomicfu-compiler/src/org/jetbrains/kotlinx/atomicfu/compiler/backend/js/AtomicfuJsIrTransformer.kt index 2505cbe658135..69fa425c5def7 100644 --- a/plugins/atomicfu/atomicfu-compiler/src/org/jetbrains/kotlinx/atomicfu/compiler/backend/js/AtomicfuJsIrTransformer.kt +++ b/plugins/atomicfu/atomicfu-compiler/src/org/jetbrains/kotlinx/atomicfu/compiler/backend/js/AtomicfuJsIrTransformer.kt @@ -262,7 +262,6 @@ class AtomicfuJsIrTransformer(private val context: IrPluginContext) { arrayConstructorSymbol.owner.returnType, arrayConstructorSymbol, typeArgumentsCount = arrayConstructorSymbol.owner.typeParameters.size, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1 ).apply { putValueArgument(0, size) } diff --git a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ClassStabilityTransformer.kt b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ClassStabilityTransformer.kt index d3f561d557b93..c7def64993a74 100644 --- a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ClassStabilityTransformer.kt +++ b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ClassStabilityTransformer.kt @@ -199,7 +199,6 @@ class ClassStabilityTransformer( StabilityInferredClass.constructors.first(), typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1, origin = null ).also { it.putValueArgument(0, irConst(parameterMask)) diff --git a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTargetAnnotationsTransformer.kt b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTargetAnnotationsTransformer.kt index 1a1ac1454c38b..f2824538bf1e2 100644 --- a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTargetAnnotationsTransformer.kt +++ b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTargetAnnotationsTransformer.kt @@ -516,7 +516,6 @@ class ComposableTargetAnnotationsTransformer( classSymbol.constructors.first(), typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1, origin = null ) diff --git a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTypeRemapper.kt b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTypeRemapper.kt index 3c8161504c16a..48c8793bc5992 100644 --- a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTypeRemapper.kt +++ b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableTypeRemapper.kt @@ -22,13 +22,11 @@ import androidx.compose.compiler.plugins.kotlin.hasComposableAnnotation import androidx.compose.compiler.plugins.kotlin.isComposableAnnotation import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext import org.jetbrains.kotlin.backend.common.extensions.IrPluginContextImpl -import org.jetbrains.kotlin.backend.common.peek import org.jetbrains.kotlin.backend.common.pop import org.jetbrains.kotlin.builtins.StandardNames import org.jetbrains.kotlin.ir.builders.declarations.addValueParameter import org.jetbrains.kotlin.ir.declarations.* import org.jetbrains.kotlin.ir.expressions.* -import org.jetbrains.kotlin.ir.expressions.impl.IrCallImpl import org.jetbrains.kotlin.ir.expressions.impl.IrCallImplWithShape import org.jetbrains.kotlin.ir.expressions.impl.IrConstructorCallImpl import org.jetbrains.kotlin.ir.symbols.IrSimpleFunctionSymbol @@ -145,7 +143,6 @@ internal class DeepCopyIrTreeWithRemappedComposableTypes( newCallee, expression.typeArgumentsCount, expression.constructorTypeArgumentsCount, - expression.valueArgumentsCount, mapStatementOrigin(expression.origin) ).apply { copyRemappedTypeArgumentsFrom(expression) diff --git a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposerParamTransformer.kt b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposerParamTransformer.kt index fcb5ffb29eaa6..ffc76f2c8993b 100644 --- a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposerParamTransformer.kt +++ b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposerParamTransformer.kt @@ -178,8 +178,7 @@ class ComposerParamTransformer( type = composableIrClass.defaultType, symbol = composableIrClass.primaryConstructor!!.symbol, typeArgumentsCount = 0, - constructorTypeArgumentsCount = 0, - valueArgumentsCount = 0 + constructorTypeArgumentsCount = 0 ) fun IrCall.withComposerParamIfNeeded(composerParam: IrValueParameter): IrCall { @@ -320,7 +319,6 @@ class ComposerParamTransformer( ctor, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1, origin = null ).also { it.putValueArgument(0, underlyingType.defaultValue(startOffset, endOffset)) @@ -436,7 +434,6 @@ class ComposerParamTransformer( symbol = ctor, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1, ).also { it.putValueArgument( 0, @@ -699,7 +696,6 @@ class ComposerParamTransformer( symbol = jvmSyntheticIrClass.primaryConstructor!!.symbol, typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 0, ) copy.body = context.irFactory.createBlockBody(UNDEFINED_OFFSET, UNDEFINED_OFFSET) { statements.add( diff --git a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/DurableFunctionKeyTransformer.kt b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/DurableFunctionKeyTransformer.kt index 511ff528e6997..ceb0e8ad3e722 100644 --- a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/DurableFunctionKeyTransformer.kt +++ b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/DurableFunctionKeyTransformer.kt @@ -173,7 +173,6 @@ class DurableFunctionKeyTransformer( keyMetaAnnotation.constructors.single(), typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 3 ).apply { putValueArgument(0, irConst(key.key.hashCode())) putValueArgument(1, irConst(key.startOffset)) @@ -189,7 +188,6 @@ class DurableFunctionKeyTransformer( metaClassAnnotation.constructors.single(), typeArgumentsCount = 0, constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1 ).apply { putValueArgument(0, irConst(file)) } diff --git a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/LiveLiteralTransformer.kt b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/LiveLiteralTransformer.kt index 21634c2f7ee30..1a0fb56d1586f 100644 --- a/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/LiveLiteralTransformer.kt +++ b/plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/LiveLiteralTransformer.kt @@ -214,8 +214,7 @@ open class LiveLiteralTransformer( liveLiteralInfoAnnotation.defaultType, liveLiteralInfoAnnotation.constructors.single(), typeArgumentsCount = 0, - constructorTypeArgumentsCount = 0, - valueArgumentsCount = 2 + constructorTypeArgumentsCount = 0 ).apply { putValueArgument(0, irConst(key)) putValueArgument(1, irConst(offset)) @@ -229,8 +228,7 @@ open class LiveLiteralTransformer( liveLiteralFileInfoAnnotation.defaultType, liveLiteralFileInfoAnnotation.constructors.single(), typeArgumentsCount = 0, - constructorTypeArgumentsCount = 0, - valueArgumentsCount = 1 + constructorTypeArgumentsCount = 0 ).apply { putValueArgument(0, irConst(file)) } diff --git a/plugins/fir-plugin-prototype/src/org/jetbrains/kotlin/ir/plugin/AbstractTransformerForGenerator.kt b/plugins/fir-plugin-prototype/src/org/jetbrains/kotlin/ir/plugin/AbstractTransformerForGenerator.kt index 414ee7f74c33f..bf941d941b406 100644 --- a/plugins/fir-plugin-prototype/src/org/jetbrains/kotlin/ir/plugin/AbstractTransformerForGenerator.kt +++ b/plugins/fir-plugin-prototype/src/org/jetbrains/kotlin/ir/plugin/AbstractTransformerForGenerator.kt @@ -80,8 +80,7 @@ abstract class AbstractTransformerForGenerator( constructedType, constructor.symbol, typeArgumentsCount = 0, - constructorTypeArgumentsCount = 0, - valueArgumentsCount = 0 + constructorTypeArgumentsCount = 0 ) val returnStatement = IrReturnImpl(-1, -1, irBuiltIns.nothingType, function.symbol, constructorCall) return irFactory.createBlockBody(-1, -1, listOf(returnStatement)) diff --git a/plugins/kotlinx-serialization/kotlinx-serialization.backend/src/org/jetbrains/kotlinx/serialization/compiler/backend/ir/BaseIrGenerator.kt b/plugins/kotlinx-serialization/kotlinx-serialization.backend/src/org/jetbrains/kotlinx/serialization/compiler/backend/ir/BaseIrGenerator.kt index 3286f30d2ce48..fcf06ee8de455 100644 --- a/plugins/kotlinx-serialization/kotlinx-serialization.backend/src/org/jetbrains/kotlinx/serialization/compiler/backend/ir/BaseIrGenerator.kt +++ b/plugins/kotlinx-serialization/kotlinx-serialization.backend/src/org/jetbrains/kotlinx/serialization/compiler/backend/ir/BaseIrGenerator.kt @@ -81,7 +81,6 @@ abstract class BaseIrGenerator(private val currentClass: IrClass, final override jsExportIgnoreCtor.symbol, jsExportIgnore.typeParameters.size, jsExportIgnoreCtor.typeParameters.size, - jsExportIgnoreCtor.valueParameters.size, ) }