[FIR] During resolve, set correctly property reference type in delegate
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user