[FIR] Add incoming edges to local class's property initializers
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ fun test(del: Any?) {
|
||||
if (del !is Del) return
|
||||
|
||||
class Local {
|
||||
val delegatedVal by <!INAPPLICABLE_CANDIDATE!>df<!>(del)
|
||||
val delegatedVal1: Int by <!INAPPLICABLE_CANDIDATE!>df<!>(del)
|
||||
val delegatedVal by df(del)
|
||||
val delegatedVal1: Int by df(del)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,10 +2,10 @@ fun test(x: Any?) {
|
||||
if (x !is String) return
|
||||
|
||||
class C {
|
||||
val v = x.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
val v = x.length
|
||||
|
||||
val vGet: Int
|
||||
get() = x.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
get() = x.length
|
||||
|
||||
val s: String = x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user