Revert "[NI] Report unsafe implicit invoke accordingly to OI"

This reverts commit b045adf83a.
This commit is contained in:
Pavel Kirpichenkov
2020-02-13 16:06:40 +03:00
parent bf9d4f065b
commit df046683cc
30 changed files with 62 additions and 286 deletions
@@ -1,6 +1,7 @@
// !WITH_NEW_INFERENCE
fun <E : String?, T : ((CharSequence) -> Unit)?> foo(x: E, y: T) {
if (x != null) {
<!UNSAFE_IMPLICIT_INVOKE_CALL!>y<!>(<!DEBUG_INFO_SMARTCAST!>x<!>)
<!NI;UNSAFE_CALL, OI;UNSAFE_IMPLICIT_INVOKE_CALL!>y<!>(<!DEBUG_INFO_SMARTCAST!>x<!>)
}
if (y != null) {