Files
kotlin-fork/idea/testData/quickfix/addAnnotationTarget/withJava.before.Main.kt
T
2018-04-11 17:00:37 +03:00

14 lines
238 B
Kotlin
Vendored

// "Add annotation target" "true"
// ERROR: This annotation is not applicable to target 'expression'
package test
annotation class AnnTarget
fun println(v: Int) {}
fun apply() {
var v = 0
<caret>@AnnTarget v++
println(v)
}