Files
kotlin-fork/idea/testData/codeInsight/postfix/valAtLambaArgumentInCall.kt.after
T
Denis Zharkov b38a9ee386 Fix test data for postfix templates test
In this tests there are two variants:
- One extracts the lambda
- And another extracts the whole call

For some reason, the order of completion variants has been changed in 182
2018-08-10 18:40:44 +07:00

7 lines
122 B
Plaintext
Vendored

// ALLOW_MULTIPLE_EXPRESSIONS
fun bar(x: (Int) -> String) = x(1)
fun foo() {
val x = { y: Int -> "abc" }
bar(x)
}