Kotlin 1.0.4 发布了。Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。
主要改进内容:
编译器:
Better type inference for callable expressions
More efficient bytecode for several cases of when and for expressions
Better parser recovery after syntax errors
Fixed several cases when “Cast never succeeds” warning was incorrectly reported
构建工具:
Full compatibility with Gradle 2.14 and later.
Gradle incremental compilation can now track changes between subprojects.
CLI and Ant builds add the Kotlin reflection library to the classpath by default; use the no-reflect switch to disable.
IDE 新特性:
You now have the option to use Kotlin syntax when evaluating expressions and watches in Java files
New inspection to detect “leaking this” - possible NullPointerException issues caused by access to incompletely initialized data.
Intention to convert a lambda to a function reference
Inspection to detect mismatches between Gradle version and Kotlin plugin version
Many other new intentions, inspections and quickfixes
软件详情:https://github.com/JetBrains/kotlin/blob/1.0.4/ChangeLog.md
下载地址:https://github.com/JetBrains/kotlin/releases/download/v1.0.4/kotlin-compiler-1.0.4.zip
来自:开源中国社区

