我该如何使用js命令行编译器?
在IDE中,我也无法让js编译工作。是否有适用于IntelliJ IDEA 12的最新入门指南?
fun main(args: Array<String>): Unit {
println("Hello world!")
}
E:\kotlinc\bin>kotlinc-js -output test -sourceFiles test.kt
ERROR: E:\kotlinc\bin\test.kt: (4, 5) Unresolved reference: println
exec() finished with COMPILATION_ERROR return code
在IDE中,我也无法让js编译工作。是否有适用于IntelliJ IDEA 12的最新入门指南?