Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
functionLiterals
/
kt11733.kt
blob: c94a6ca2b428b0e276d95e65a95ac0f3c838cebd [
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
>)
{}