FIR: Update test data (NEW_INFERENCE_ERROR)

Though these diagnostics look correct (the calls or constraint
systems indeed contain errors), more precise diagnostic kinds should be
chosen later.
This commit is contained in:
Denis.Zharkov
2021-04-28 10:58:42 +03:00
committed by teamcityserver
parent 010a0c6cdc
commit da3233c47d
19 changed files with 58 additions and 45 deletions
@@ -14,7 +14,7 @@ fun <T: A> emptyNullableListOfA(): List<T>? = null
fun testExclExcl() {
doList(emptyNullableListOfA()!!) //should be an error here
val l: List<Int> = id(emptyNullableListOfA()!!)
val l: List<Int> = <!INITIALIZER_TYPE_MISMATCH, NEW_INFERENCE_ERROR!>id(emptyNullableListOfA()!!)<!>
doList(strangeNullableList { doInt(it) }!!) //lambda should be analyzed (at completion phase)
}