[NI] Update testdata broken in NI

This commit is contained in:
Dmitriy Novozhilov
2019-12-23 12:57:29 +03:00
parent 6ca0df59c1
commit 04d4366f2a
2 changed files with 5 additions and 1 deletions
@@ -1,3 +1,5 @@
// !WITH_NEW_INFERENCE
fun foo(d: Any?) {
if (d is String?) {
d!!
@@ -1,7 +1,9 @@
// !WITH_NEW_INFERENCE
fun foo(d: Any?) {
if (d is String?) {
<!DEBUG_INFO_SMARTCAST!>d<!>!!
doString(<!DEBUG_INFO_SMARTCAST!>d<!>)
doString(<!NI;TYPE_MISMATCH, OI;DEBUG_INFO_SMARTCAST!>d<!>)
}
}