Take Java source file into account in "Add annotation target"
So #KT-22860 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5559a6edd3
commit
9539212180
@@ -0,0 +1,14 @@
|
||||
// "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)
|
||||
}
|
||||
Reference in New Issue
Block a user