Do not report "property can be private" in annotations #KT-19273 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-07-31 23:01:35 +09:00
committed by Mikhail Glukhikh
parent 050744627d
commit 29dba9edb3
3 changed files with 17 additions and 0 deletions
@@ -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)
}
}