Files
kotlin-fork/compiler/testData/codegen/script/topLevelFunctionClosure.ktscript
T

8 lines
66 B
Plaintext

val x = 12
fun foo(y: Int) = x + y
foo(33)
// expected: rv: 45