Partial body resolve: more precise smart casts analysis for if-statement
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo(p: Any?, p1, Any?) {
|
||||
if (x()) {
|
||||
y(p!!)
|
||||
}
|
||||
else {
|
||||
z(p1!!)
|
||||
}
|
||||
|
||||
<caret>xxx
|
||||
}
|
||||
Reference in New Issue
Block a user