mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 00:21:28 +00:00
Get rid of possibility to configure script definition without template class, therefore all tests now are using default script argument
8 lines
112 B
Kotlin
Vendored
8 lines
112 B
Kotlin
Vendored
// param: 10
|
|
|
|
fun addX(y: Int) = java.lang.Integer.parseInt(args[0]) + y
|
|
|
|
val rv = addX(3)
|
|
|
|
// expected: rv: 13
|