Do not report "property can be private" in annotations #KT-19273 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
050744627d
commit
29dba9edb3
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
// ERROR: Body is not allowed for annotation class
|
||||
// PROBLEM: none
|
||||
|
||||
annotation class Ann(val <caret>x: String) {
|
||||
fun foo() {
|
||||
println(x)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user