FIR DFA: merge non-conflicting aliases from union flows
E.g. after `f({ x = a }, { x })`, if `f` calls both lambdas in-place,
`x` should be aliased to `a` even though only one path does that.
This commit is contained in:
+1
-1
@@ -84,6 +84,6 @@ fun test7() {
|
||||
val y: Any?
|
||||
run2({ y = x }, { })
|
||||
if (y is String) {
|
||||
x.<!UNRESOLVED_REFERENCE!>length<!> // ok - aliased
|
||||
x.length // ok - aliased
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user