[k2, dfa] Use transitive closure of dependsOn for stability checks
This commit is contained in:
committed by
Space Team
parent
337330f8c8
commit
f28863b983
Vendored
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user