[NI] Add check for non-null argument type in arguments check

#KT-31461 Fixed
This commit is contained in:
Dmitriy Novozhilov
2019-05-20 11:47:36 +03:00
parent b323298b0e
commit b4c8c79931
11 changed files with 53 additions and 10 deletions
@@ -23,7 +23,7 @@ fun case_1(x: Double?, y: Double?) : Double {
} else if (x == null && y != null) {
<!DEBUG_INFO_SMARTCAST!>y<!>
} else {
x <!NONE_APPLICABLE!>+<!> y
x <!UNSAFE_OPERATOR_CALL!>+<!> <!TYPE_MISMATCH!>y<!>
}
}