FIR DFA: workaround KT-46826

This commit is contained in:
Tianyu Geng
2021-05-19 16:29:20 -07:00
committed by TeamCityServer
parent 0ecc752813
commit b78b50e1f8
2 changed files with 5 additions and 15 deletions
@@ -4,6 +4,6 @@ fun foo(y: String?) {
var x: String? = ""
if (x != null) {
y?.let { x = null }
x.length // Smart cast is not possible
x<!UNSAFE_CALL!>.<!>length // Smart cast is not possible
}
}