Files
kotlin-fork/idea/testData/quickfix/addAnnotationTarget/basic4.kt.after
T
Nikolay Krasko eb71e686da Stable order of generated annotation targets
A random order of usages is enabled in 193 platform that makes tests flaky without the commit.
2019-11-27 12:26:54 +03:00

10 lines
195 B
Plaintext
Vendored

// "Add annotation target" "true"
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE)
annotation class Foo
@Foo
class Test {
@Foo
fun foo(): @Foo Int = 1
}