[k2, dfa] Use transitive closure of dependsOn for stability checks

This commit is contained in:
Dmitry Savvinov
2024-01-25 18:52:18 +01:00
committed by Space Team
parent 337330f8c8
commit f28863b983
2 changed files with 4 additions and 7 deletions
@@ -20,7 +20,7 @@ fun isCast(d: Direct, t: Transitive) {
}
if (t.finalProperty is String) {
<!SMARTCAST_IMPOSSIBLE!>t.finalProperty<!>.length
t.finalProperty.length
}
}
@@ -29,5 +29,5 @@ fun asCast(d: Direct, t: Transitive) {
d.finalProperty.length
t.finalProperty as String
<!SMARTCAST_IMPOSSIBLE!>t.finalProperty<!>.length
t.finalProperty.length
}