[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
@@ -5,9 +5,9 @@ import kotlin.reflect.KProperty
operator fun Any.getValue(x: Any?, y: Any): Any = null!!
class C {
val x by 1
val x by <!UNRESOLVED_REFERENCE!>1<!>
val `$$delegatedProperties`: Array<KProperty<*>> = null!!
}
val x by 1
val x by <!UNRESOLVED_REFERENCE!>1<!>
val `$$delegatedProperties`: Array<KProperty<*>> = null!!