K2: add proper catch parameter annotation targeting
In this commit we begin counting a catch parameter as both a local variable and a value parameter for the purpose of annotation targeting. #KT-61691 Fixed
This commit is contained in:
committed by
Space Team
parent
91aa679214
commit
ffd77850ef
@@ -19,6 +19,8 @@ object AnnotationTargetLists {
|
||||
onlyWithUseSiteTarget(PROPERTY_SETTER, VALUE_PARAMETER)
|
||||
}
|
||||
|
||||
val T_CATCH_PARAMETER = targetList(LOCAL_VARIABLE, VALUE_PARAMETER)
|
||||
|
||||
val T_DESTRUCTURING_DECLARATION = targetList(DESTRUCTURING_DECLARATION)
|
||||
|
||||
private fun TargetListBuilder.propertyTargets(backingField: Boolean, delegate: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user