[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)

This commit is contained in:
Ivan Kochurkin
2021-04-06 01:35:30 +03:00
committed by TeamCityServer
parent 4ffab5fe5a
commit ad9b962536
461 changed files with 1239 additions and 1246 deletions
@@ -28,10 +28,10 @@ fun test() {
checkSubtype<() -> String>(r4)
val r5 = (C)::foo
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><() -> String>(r5)
checkSubtype<() -> String>(<!ARGUMENT_TYPE_MISMATCH!>r5<!>)
val r6 = (test.C)::foo
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><() -> String>(r6)
checkSubtype<() -> String>(<!ARGUMENT_TYPE_MISMATCH!>r6<!>)
val c = C.Companion
val r7 = c::foo