[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
@@ -3,7 +3,7 @@ fun bar(x: Int): RuntimeException = RuntimeException(x.toString())
|
||||
fun foo() {
|
||||
val x: Int? = null
|
||||
|
||||
if (x == null) throw <!INAPPLICABLE_CANDIDATE!>bar<!>(x)
|
||||
if (x == null) throw bar(<!ARGUMENT_TYPE_MISMATCH!>x<!>)
|
||||
throw bar(x)
|
||||
throw bar(x)
|
||||
}
|
||||
Reference in New Issue
Block a user