[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
@@ -22,10 +22,10 @@ object OnlyRem {
}
fun test() {
<!INAPPLICABLE_CANDIDATE!>takeInt<!>(ModAndRem % 1)
takeInt(<!ARGUMENT_TYPE_MISMATCH!>ModAndRem % 1<!>)
val c = ModAssignAndRemAssign
c <!INAPPLICABLE_CANDIDATE!>%=<!> ""
c %= <!ARGUMENT_TYPE_MISMATCH!>""<!>
var c1 = RemAndModAssign
c1 %= 1
@@ -36,4 +36,4 @@ fun test() {
c2 %= 1
}
fun takeInt(x: Int) {}
fun takeInt(x: Int) {}