Add intentions for specifying use-site targets for an annotation
So #KT-19871 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e162749366
commit
e06c13732f
+9
@@ -0,0 +1,9 @@
|
||||
// CHOOSE_USE_SITE_TARGET: setparam
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
@Target(AnnotationTarget.TYPE, AnnotationTarget.VALUE_PARAMETER)
|
||||
annotation class C
|
||||
|
||||
class Extension
|
||||
|
||||
fun @C<caret> Extension.foo(): String = ""
|
||||
Reference in New Issue
Block a user