FIR: Update diagnostics test data

Green code correctly became red
This commit is contained in:
Denis.Zharkov
2021-04-27 16:23:59 +03:00
committed by teamcityserver
parent 829f80179c
commit b94335dd1c
54 changed files with 101 additions and 129 deletions
@@ -17,9 +17,9 @@ fun <T> otherGeneric(l: List<T>) {}
fun test() {
val a: Byte = id(1)
val b: Byte = id(300)
val b: Byte = <!TYPE_MISMATCH!>id(300)<!>
val c: Int = <!INITIALIZER_TYPE_MISMATCH!>id(9223372036854775807)<!>
val c: Int = <!INITIALIZER_TYPE_MISMATCH, TYPE_MISMATCH!>id(9223372036854775807)<!>
val d = id(22)
checkSubtype<Int>(d)
@@ -29,7 +29,7 @@ fun test() {
val f: Byte = either(1, 2)
val g: Byte = either(1, 300)
val g: Byte = <!TYPE_MISMATCH!>either(1, 300)<!>
other(<!ARGUMENT_TYPE_MISMATCH!>11<!>)