Files
kotlin/compiler/testData/codegen/script/parameterClosure.kts
Pavel V. Talanov ad58617753 Script refactoring, codegen tests: change test data according to semantics change
Add some new tests for uncovered cases
2015-11-19 22:57:01 +03:00

8 lines
93 B
Kotlin
Vendored

// param: x: kotlin.Int: 10
fun addX(y: Int) = x + y
val rv = addX(3)
// expected: rv: 13