diff --git a/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/VersionSpecificApi.kt b/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/VersionSpecificApi.kt index 5c5e36d7..52c7542c 100644 --- a/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/VersionSpecificApi.kt +++ b/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/VersionSpecificApi.kt @@ -22,6 +22,7 @@ import org.jetbrains.kotlin.ir.symbols.IrSimpleFunctionSymbol import org.jetbrains.kotlin.ir.types.IrType import org.jetbrains.kotlin.platform.TargetPlatform +@Suppress("detekt.LongParameterList") interface VersionSpecificApi { fun isJs(platform: TargetPlatform?): Boolean fun isWasm(platform: TargetPlatform?): Boolean diff --git a/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt b/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt index 6fc67343..158788c1 100644 --- a/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt +++ b/compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt @@ -434,7 +434,6 @@ internal class RpcStubGenerator( type = fieldType, callee = ctx.functions.lazyGetValue, typeArgumentsCount = 1, - valueArgumentsCount = 2, ).apply { putTypeArgument(0, fieldType) @@ -747,7 +746,6 @@ internal class RpcStubGenerator( callee = ctx.functions.rpcClientCall.symbol, type = method.function.returnType, typeArgumentsCount = 1, - valueArgumentsCount = 1, ).apply { dispatchReceiver = irCallProperty( clazz = stubClass,