Revert "Fix synthetic accessor generation for properties"

This reverts commit 2427b2c
This commit is contained in:
Dmitry Petrov
2017-09-01 16:09:16 +03:00
parent db840a73a9
commit 76acd23bd7
3 changed files with 6 additions and 55 deletions
@@ -1,24 +0,0 @@
// FILE: A.kt
package a
abstract class A {
protected var property: String = ""
private set
}
// FILE: B.kt
package b
import a.A
class B : A() {
init {
invoke { property }
}
fun invoke(func: () -> String): String = func()
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: b/B, access$setProperty$p
// ABSENT: true