Files
kotlin-fork/idea/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt
T
2015-09-03 22:06:09 +03:00

5 lines
114 B
Kotlin
Vendored

// WITH_RUNTIME
fun foo(p: Int, list: List<Int>) {
if (p > 0) list.filter <selection>{ it > 0 }</selection>
}