FIR DFA: workaround KT-46826
This commit is contained in:
committed by
TeamCityServer
parent
0ecc752813
commit
b78b50e1f8
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user