Skip to content

Commit ceb9083

Browse files
authored
Fix compilation on Kotlin/Native (#172)
1 parent 790a1f3 commit ceb9083

File tree

1 file changed

+1
-1
lines changed
  • compiler-plugin/compiler-plugin-backend/src/main/core/kotlinx/rpc/codegen/extension

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ internal class RPCStubGenerator(
696696
emptyList()
697697
}
698698

699-
methodClass.superTypes = listOf(ctx.rpcMethodClassArguments.defaultType)
699+
methodClass.superTypes += ctx.rpcMethodClassArguments.defaultType
700700

701701
methodClass.addFunction {
702702
name = ctx.functions.asArray.name

0 commit comments

Comments
 (0)