FIR: Report ARGUMENT_TYPE_MISMATCH instead of TYPE_MISMATCH for arguments

This commit is contained in:
Denis.Zharkov
2021-05-19 18:53:03 +03:00
committed by teamcityserver
parent db500fab94
commit a801eccf66
8 changed files with 24 additions and 24 deletions
@@ -11,7 +11,7 @@ fun test() {
select3(
{ a: A, b: A -> Unit },
{ b, a -> Unit },
<!TYPE_MISMATCH!>{ <!UNRESOLVED_REFERENCE!>it<!>; Unit }<!>
<!ARGUMENT_TYPE_MISMATCH!>{ <!UNRESOLVED_REFERENCE!>it<!>; Unit }<!>
)
}