[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
@@ -3,7 +3,7 @@ fun foo() {
|
||||
fun bar1() = bar1()
|
||||
|
||||
fun bar2() = 1 <!OVERLOAD_RESOLUTION_AMBIGUITY!>+<!> bar2()
|
||||
fun bar3() = id(<!ARGUMENT_TYPE_MISMATCH!>bar3()<!>)
|
||||
fun bar3() = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>id<!>(bar3())
|
||||
}
|
||||
|
||||
fun <T> id(x: T) = x
|
||||
|
||||
Reference in New Issue
Block a user