Revert "[NI] Fix reporting smartcast diagnostics for intersection types"

This reverts commit 033d7262

That commit breaks bootstraping
This commit is contained in:
Dmitriy Novozhilov
2019-04-11 18:49:02 +03:00
parent 849d18669b
commit a92cf19641
15 changed files with 36 additions and 115 deletions
@@ -31,8 +31,8 @@ fun test() {
x.foo().checkType { _<CharSequence?>() }
x.baz("")
x.baz(1).checkType { _<Unit>() }
<!SMARTCAST_IMPOSSIBLE!>x<!>.baz(1, 2)
<!OI;SMARTCAST_IMPOSSIBLE!>x<!>.baz(1, 2)
<!SMARTCAST_IMPOSSIBLE!>x<!>.foobar().checkType { _<String>() }
<!OI;SMARTCAST_IMPOSSIBLE!>x<!>.foobar().checkType { _<String>() }
}
}