KT-9717, KT-9603:
pass getter/setter-related flags to AccessorForPropertyDescriptor
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
public var prop = "OK"
|
||||
private set
|
||||
|
||||
|
||||
fun test(): String {
|
||||
return { prop }()
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String = A().test()
|
||||
Reference in New Issue
Block a user