Files
kotlin-fork/compiler/testData/cfg-variables/lexicalScopes/functionLiteralScope.kt
T
2014-03-07 21:08:16 +04:00

8 lines
106 B
Kotlin

fun foo() {
"before"
val b = 1
val f = { (x: Int) ->
val a = x + b
}
"after"
}