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:
committed by
Space Team
parent
e359db4111
commit
b2ca19da73
Vendored
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user