Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
functionLiterals
/
kt11733.kt
blob: e397af4885825f081d34ce494087368884452feb [
file
]
// FIR_IDENTICAL
// CHECK_TYPE
interface
Predicate
<
T
>
fun
<
T
>
Predicate
(
x
:
(
T
?)
->
Boolean
):
Predicate
<
T
>
=
null
!!
fun foo
()
{
process
(
Predicate
{
x
->
x checkType
{
_
<
String
?>()
}
true
})
}
fun process
(
x
:
Predicate
<
String
>)
{}