Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A detail I've noticed when compiling to JavaScript is that Kotlin is not a reserved word, and if you bind something to it, it breaks the generated JavaScript.

fun main(args : Array<String>) {

  println("Hello, world!")

  val Kotlin = 0
}

will result in a type error



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: