diff --git a/compiler/ir/backend.jvm/codegen/src/org/jetbrains/kotlin/backend/jvm/codegen/AnnotationCodegen.kt b/compiler/ir/backend.jvm/codegen/src/org/jetbrains/kotlin/backend/jvm/codegen/AnnotationCodegen.kt index 88624a1dbdb..47b27ad08d4 100644 --- a/compiler/ir/backend.jvm/codegen/src/org/jetbrains/kotlin/backend/jvm/codegen/AnnotationCodegen.kt +++ b/compiler/ir/backend.jvm/codegen/src/org/jetbrains/kotlin/backend/jvm/codegen/AnnotationCodegen.kt @@ -216,7 +216,7 @@ abstract class AnnotationCodegen( else if (param.defaultValue != null) continue // Default value will be supplied by JVM at runtime. else if (context.state.classBuilderMode.generateBodies) //skip error for KAPT - error("No value for annotation parameter $param") + error("No value for annotation parameter ${param.render()}") } }