Files
kotlin-fork/idea/testData/intentions/convertToBlockBody/annotatedExpr.kt.after
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

6 lines
96 B
Plaintext
Vendored

target(AnnotationTarget.EXPRESSION)
annotation class ann
fun foo(): Int {
return (@ann 1)
}