[FIR] Don't report ARGUMENT_TYPE_MISMATCH on error types

This commit is contained in:
Dmitriy Novozhilov
2022-11-09 12:43:43 +02:00
committed by Space Team
parent 32f6b71525
commit 0e84bf2053
38 changed files with 83 additions and 99 deletions
@@ -14,5 +14,5 @@ fun <T: Any> joinT(x: Comparable<*>, y: T): T? {
fun test() {
val x2 = <!NONE_APPLICABLE!>joinT<!>(Unit, "2")
checkSubtype<String?>(<!ARGUMENT_TYPE_MISMATCH!>x2<!>)
checkSubtype<String?>(x2)
}