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
@@ -145,7 +145,7 @@ FILE: flowFromTwoInplaceLambdas.kt
|
||||
)
|
||||
when () {
|
||||
(R|<local>/y| is R|kotlin/String|) -> {
|
||||
R|<local>/x|.<Unresolved name: length>#
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user