Adjust receivers for possibly synthetic properties access
Synthetic property accessors are treated as extension functions on Java classes by the front-end. However, underlying Java accessor methods are proper members.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
// FILE: javaSyntheticPropertyAccess.kt
|
||||
fun test(j: J) {
|
||||
j.foo
|
||||
j.foo = 1
|
||||
j.foo++
|
||||
j.foo += 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user