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:
committed by
teamcityserver
parent
010a0c6cdc
commit
da3233c47d
+1
-1
@@ -20,7 +20,7 @@ suspend fun yield() {}
|
||||
|
||||
fun test() {
|
||||
builder {
|
||||
send(<!ARGUMENT_TYPE_MISMATCH!>run {
|
||||
send(<!ARGUMENT_TYPE_MISMATCH, NEW_INFERENCE_ERROR!>run {
|
||||
yield() // No error but `yield` is not inside "suspension" context actually
|
||||
}<!>)
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -19,6 +19,6 @@ val test1 = generate {
|
||||
yield(<!NO_COMPANION_OBJECT!>A<!>)
|
||||
}
|
||||
|
||||
val test2: Int = <!INITIALIZER_TYPE_MISMATCH!>generate {
|
||||
val test2: Int = <!INITIALIZER_TYPE_MISMATCH, NEW_INFERENCE_ERROR!>generate {
|
||||
yield(A())
|
||||
}<!>
|
||||
|
||||
Reference in New Issue
Block a user