Load annotations for default getter and setter
#KT-14697 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user