ProhibitRepeatedUseSiteTargetAnnotationsMigrationInspection: add test
#KT-36257
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// LANGUAGE_VERSION: 1.4
|
||||
// PROBLEM: none
|
||||
|
||||
@Repeatable
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann(val n: Int)
|
||||
|
||||
@get:Ann(10)<caret>
|
||||
val a: String
|
||||
@Ann(20) get() = "foo"
|
||||
Reference in New Issue
Block a user