Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
inference
/
kt27772.kt
blob: aff5243e05ff335d5f86faa2208a495f1a0594d2 [
file
]
// FIR_IDENTICAL
fun
<
T
>
foo
(
resources
:
List
<
T
>)
{
resources
.
map
{
runCatching
{
it
}
}.
mapNotNull
{
it
.
getOrNull
()
}
}
fun
<
T
:
Any
>
bar
(
resources
:
List
<
T
>)
{
resources
.
map
{
runCatching
{
it
}
}.
mapNotNull
{
it
.
getOrNull
()
}
}