Restrict retention for annotations with target EXPRESSION
#KT-13762 Fixed
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class test
|
||||
|
||||
fun foo(@test <!UNUSED_PARAMETER!>f<!> : Int) {}
|
||||
|
||||
Reference in New Issue
Block a user