K2: Adjust test data after correcting source for it

While reporting a diagnostic there seems to be correct because the
parameter type is ConeErrorType, the former fact is a bug
in PCLA that should be fixed soon
This commit is contained in:
Denis.Zharkov
2024-01-10 17:24:50 +01:00
committed by Space Team
parent e359db4111
commit b2ca19da73
7 changed files with 20 additions and 20 deletions
@@ -8,9 +8,9 @@ class GenericController<T> {
fun <S> generate(g: suspend GenericController<S>.(S) -> Unit): S = TODO()
val test1 = generate {
val test1 = generate <!CANNOT_INFER_PARAMETER_TYPE!>{
yield(4)
}
}<!>
val test2 = generate<Int> {
yield(4)