[IR] Improve printing the value parameter when there is an error
This commit is contained in:
committed by
Alexander Udalov
parent
f7ba1b4a7a
commit
e4c2fa1080
+1
-1
@@ -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()}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user