Check annotations on default property getter/setter

This commit is contained in:
Yan Zhulanow
2016-01-28 18:16:14 +03:00
parent 7e528da00a
commit da7acd5e73
10 changed files with 73 additions and 15 deletions
@@ -86,4 +86,10 @@ class D: AB() {
@JvmName("D_finalFun")
fun finalFun() {}
}
interface Intf {
<!INAPPLICABLE_JVM_NAME!>@get:JvmName("getBar")<!> // no error in IDE
<!INAPPLICABLE_JVM_NAME!>@set:JvmName("setBar")<!> // no error in IDE
var foo: Int
}