Skip to content

Commit

Permalink
Add test for KT-50498
Browse files Browse the repository at this point in the history
  • Loading branch information
petukhovv authored and Space committed May 26, 2022
1 parent 1a8e994 commit 1df9fea
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -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
}
}
Original file line number Diff line number Diff line change
@@ -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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1df9fea

Please sign in to comment.