[IR] Improve printing the value parameter when there is an error

This commit is contained in:
Javier Segovia Córdoba
2023-07-17 16:01:48 +02:00
committed by Alexander Udalov
parent f7ba1b4a7a
commit e4c2fa1080
@@ -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()}")
}
}