Files
kotlin-fork/compiler/integration-tests/testData/ant/js/additionalArguments/hello.kt
T
Zalim Bashorov d986b0e565 Ant buildtools: added base class for Kotlin compiler ant tasks.
As side effect:
 - used cli compiler in both ant tasks.
 - got the ability to use custom args in JS ant task too.
2014-10-07 16:32:07 +04:00

13 lines
159 B
Kotlin

package foo
inline fun foo(f: () -> Unit) = f()
var ok = "Fail"
fun main(args : Array<String>) {
foo {
ok = "OK"
}
}
fun box(): String = ok