Files
kotlin-fork/idea/testData/quickfix/addAnnotationTarget/expression3.kt.after
T
Mikhail Glukhikh 39d28f1c92 AddAnnotationTargetTest: replace retention annotation if needed
This fixes testExpression3 from this test group
2018-09-18 11:50:32 +03:00

9 lines
173 B
Plaintext
Vendored

// "Add annotation target" "true"
@Target(AnnotationTarget.EXPRESSION)
@Retention(AnnotationRetention.SOURCE)
annotation class Foo
fun test() {
var v = 0
@Foo v++
}