We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
protobufMessage.arguments
1 parent a2bcdc7 commit 881695dCopy full SHA for 881695d
compiler-plugin/compiler-plugin-backend/src/main/kotlin/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt
@@ -1245,7 +1245,7 @@ internal class RpcStubGenerator(
1245
val protobufMessage = owner.getAnnotation(ctx.withCodecAnnotation.owner.kotlinFqName)
1246
1247
return if (protobufMessage != null) {
1248
- val classReference = protobufMessage.arguments.single() as? IrClassReference
+ val classReference = vsApi{ protobufMessage.argumentsVS }.single() as? IrClassReference
1249
?: error("Expected IrClassReference for ${ctx.withCodecAnnotation.owner.kotlinFqName} parameter")
1250
1251
val codec = classReference.classType
0 commit comments