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
+8
-8
@@ -38,7 +38,7 @@ fun <R> select(vararg x: R) = x[0]
|
||||
|
||||
fun poll0(): Flow<String> {
|
||||
return flow {
|
||||
val inv = select(::bar, ::foo)
|
||||
val inv = <!NEW_INFERENCE_ERROR!>select(::bar, ::foo)<!>
|
||||
inv(<!NO_VALUE_FOR_PARAMETER!>)<!>
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@ fun poll01(): Flow<String> {
|
||||
|
||||
fun poll02(): Flow<String> {
|
||||
return flow {
|
||||
val inv = select(::bar3, ::foo3)
|
||||
val inv = <!NEW_INFERENCE_ERROR!>select(::bar3, ::foo3)<!>
|
||||
inv()
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,7 @@ fun poll03(): Flow<String> {
|
||||
|
||||
fun poll04(): Flow<String> {
|
||||
return flow {
|
||||
val inv = select(::bar5, ::foo5)
|
||||
val inv = <!NEW_INFERENCE_ERROR!>select(::bar5, ::foo5)<!>
|
||||
inv
|
||||
}
|
||||
}
|
||||
@@ -437,7 +437,7 @@ fun poll76(): Flow<String> {
|
||||
|
||||
fun poll8(): Flow<String> {
|
||||
return flow {
|
||||
val inv = ::bar in setOf(::foo)
|
||||
val inv = <!NEW_INFERENCE_ERROR!>::bar in <!NEW_INFERENCE_ERROR!>setOf(::foo)<!><!>
|
||||
<!UNRESOLVED_REFERENCE!>inv<!>()
|
||||
}
|
||||
}
|
||||
@@ -451,7 +451,7 @@ fun poll81(): Flow<String> {
|
||||
|
||||
fun poll82(): Flow<String> {
|
||||
return flow {
|
||||
val inv = ::bar3 in setOf(::foo3)
|
||||
val inv = ::bar3 in <!NEW_INFERENCE_ERROR!>setOf(::foo3)<!>
|
||||
<!UNRESOLVED_REFERENCE!>inv<!>()
|
||||
}
|
||||
}
|
||||
@@ -465,7 +465,7 @@ fun poll83(): Flow<String> {
|
||||
|
||||
fun poll84(): Flow<String> {
|
||||
return flow {
|
||||
val inv = ::bar5 in setOf(::foo5)
|
||||
val inv = <!NEW_INFERENCE_ERROR!>::bar5 in <!NEW_INFERENCE_ERROR!>setOf(::foo5)<!><!>
|
||||
inv
|
||||
}
|
||||
}
|
||||
@@ -479,7 +479,7 @@ fun poll85(): Flow<String> {
|
||||
|
||||
fun poll86(): Flow<String> {
|
||||
return flow {
|
||||
val inv = ::Foo7 in setOf(::Foo7)
|
||||
val inv = <!NEW_INFERENCE_ERROR!>::Foo7 in <!NEW_INFERENCE_ERROR!>setOf(::Foo7)<!><!>
|
||||
inv
|
||||
}
|
||||
}
|
||||
@@ -493,7 +493,7 @@ fun poll87(): Flow<String> {
|
||||
|
||||
fun poll88(): Flow<String> {
|
||||
return flow {
|
||||
val inv = foo7() in setOf(::Foo7)
|
||||
val inv = foo7() in <!NEW_INFERENCE_ERROR!>setOf(::Foo7)<!>
|
||||
inv
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user