[FIR] Don't report ARGUMENT_TYPE_MISMATCH on error types
This commit is contained in:
committed by
Space Team
parent
32f6b71525
commit
0e84bf2053
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user