Load annotations for default getter and setter

#KT-14697 Fixed
This commit is contained in:
Dmitry Petrov
2017-10-04 16:19:35 +03:00
parent c6a00af2f0
commit 67a50e92d0
3 changed files with 27 additions and 4 deletions
@@ -0,0 +1,15 @@
// IGNORE_BACKEND: NATIVE
// FILE: A.kt
package lib
@set:JvmName("renamedSetFoo")
@get:JvmName("renamedGetFoo")
var foo = "not set"
// FILE: B.kt
import lib.*
fun box(): String {
foo = "OK"
return foo
}