Kotlin 1.0.4 发布,基于 JVM 的编程语言
欢迎加入运维网交流群:263444886Kotlin 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>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
点击此处,查看完整改进内容。
下载地址:
[*] kotlin-compiler-1.0.4.zip
[*] Source code (zip)
[*] Source code (tar.gz)
页:
[1]