Files
kotlin/compiler/testData/psi/script/ComplexScript.kts
Ilya Ryzhenkov 98c54f39bb Unify script file extensions to "kts" so that IDEA, compiler and tests agree when to parse as SCRIPT.
Include kt* files into formatter test generation, to test scripting formatting
2014-03-24 18:17:50 +04:00

13 lines
173 B
Kotlin
Vendored

fun die(message: String) {
System.err.println(message)
System.exit(1)
}
if (args.length == 0) {
die("Need arguments")
}
for (arg in args) {
println(arg)
}