Files
kotlin/idea/testData/codeInsight/postfix/valAtLambaArgumentInCall.kt
2016-10-03 10:36:48 +03:00

6 lines
120 B
Kotlin
Vendored

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