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
+8
@@ -0,0 +1,8 @@
|
||||
// CHOOSE_USE_SITE_TARGET: receiver
|
||||
|
||||
@Target(AnnotationTarget.TYPE, AnnotationTarget.VALUE_PARAMETER)
|
||||
annotation class C
|
||||
|
||||
class Extension
|
||||
|
||||
fun @receiver:C Extension.foo(): String = ""
|
||||
Reference in New Issue
Block a user