Files
Anna Kozlova 7011c803d8 [kotlin] k2: port ReplaceItWithExplicitFunctionLiteralParamIntention
^KTIJ-30411 fixed

GitOrigin-RevId: 584c5d5099d2e4b182494caf1b5d445c6ab72d36
2024-06-24 21:34:55 +00:00

3 lines
75 B
Plaintext

fun foo(a: (Int) -> Int): Int = a(1)
val x = foo { it + foo { it -> it } }