Add test for KT-50498

This commit is contained in:
Victor Petukhov
2022-02-09 11:36:10 +03:00
committed by teamcity
parent b411eb36e8
commit 06deaed3d5
6 changed files with 39 additions and 0 deletions
@@ -0,0 +1,11 @@
// FIR_IDENTICAL
fun <T, R> baz(body: (List<R>) -> T): T = TODO()
fun test3() {
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>baz<!> {
true
}
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>baz<!> { x ->
true
}
}
@@ -0,0 +1,4 @@
package
public fun </*0*/ T, /*1*/ R> baz(/*0*/ body: (kotlin.collections.List<R>) -> T): T
public fun test3(): kotlin.Unit