Files
kotlin-fork/idea/testData/intentions/convertToBlockBody/annotatedExpr.kt
T
Mikhail Glukhikh 0d2a81f098 Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00

4 lines
88 B
Kotlin
Vendored

target(AnnotationTarget.EXPRESSION)
annotation class ann
fun foo(): Int = <caret>@ann 1