Skip to content

Commit e5789b8

Browse files
authored
Fix Kotlin master compilation (#245)
1 parent 8068e8e commit e5789b8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/VersionSpecificApi.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import org.jetbrains.kotlin.ir.symbols.IrSimpleFunctionSymbol
2222
import org.jetbrains.kotlin.ir.types.IrType
2323
import org.jetbrains.kotlin.platform.TargetPlatform
2424

25+
@Suppress("detekt.LongParameterList")
2526
interface VersionSpecificApi {
2627
fun isJs(platform: TargetPlatform?): Boolean
2728
fun isWasm(platform: TargetPlatform?): Boolean

compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@ internal class RpcStubGenerator(
434434
type = fieldType,
435435
callee = ctx.functions.lazyGetValue,
436436
typeArgumentsCount = 1,
437-
valueArgumentsCount = 2,
438437
).apply {
439438
putTypeArgument(0, fieldType)
440439

@@ -747,7 +746,6 @@ internal class RpcStubGenerator(
747746
callee = ctx.functions.rpcClientCall.symbol,
748747
type = method.function.returnType,
749748
typeArgumentsCount = 1,
750-
valueArgumentsCount = 1,
751749
).apply {
752750
dispatchReceiver = irCallProperty(
753751
clazz = stubClass,

0 commit comments

Comments
 (0)