Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
idea
/
testData
/
refactoring
/
introduceVariable
/
IntroduceLambdaAndCreateBlock.kt.after
blob: 8397c3dde4a5b732037fef5543128333d4a88511 [
file
] [
log
] [
blame
]
// WITH_RUNTIME
fun foo
(
p
:
Int
,
list
:
List
<
Int
>)
{
if
(
p
>
0
)
{
val predicate
:
(
Int
)
->
Boolean
=
{
it
>
0
}
list
.
filter
(
predicate
)
}
}