[FIR] During resolve, set correctly property reference type in delegate

This commit is contained in:
Mikhail Glukhikh
2020-03-31 17:11:49 +03:00
parent 58e00400f1
commit 036b6c63f6
42 changed files with 181 additions and 73 deletions
@@ -3,10 +3,10 @@
import kotlin.reflect.KProperty
class A {
val a: Int by Delegate()
val a: Int by <!INAPPLICABLE_CANDIDATE!>Delegate()<!>
}
val aTopLevel: Int by Delegate()
val aTopLevel: Int by <!INAPPLICABLE_CANDIDATE!>Delegate()<!>
class Delegate {
fun getValue(t: Any?, p: KProperty<*>, a: Int): Int {