Files
kotlin-fork/idea/resources/intentionDescriptions/MoveLambdaInsideParenthesesIntention/before.kt.template
T
Tal Man 8cf965db7e 2 intentions for moving lambda functions;
moves lambda functions in function calls inside and outside of the
parenthesis: foo({ it }) <-> foo() { it }
2014-03-04 20:07:42 +04:00

3 lines
48 B
Plaintext

fun foo() {
<spot>bar(2) { it * 3 }</spot>
}