FIR DFA: when breaking aliasing, keep the rest of the group together

var a = ...
  var b = a
  var c = a
  a = ...
  // b and c still aliased
This commit is contained in:
pyos
2022-11-03 16:50:00 +01:00
committed by teamcity
parent 7c8e9ac316
commit ceb1607057
2 changed files with 44 additions and 58 deletions
@@ -79,6 +79,6 @@ fun test3() {
if (b is String) {
a.<!UNRESOLVED_REFERENCE!>length<!> // error
b.length // ok
c.<!UNRESOLVED_REFERENCE!>length<!> // ok
c.length // ok
}
}