Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。
其主要设计目标:
Kotlin M9 发布,此版本包括重要的新特性和改进:
语言改进
注意 此特性是尝试性的,如果遇到不能运行的地方,请运行 Rebuild Project。
支持编译器选项下的 making projects automatically

JavaScript 支持除了改进了标准库,同时还改进了语言支持,允许: Delegation (class Foo : Bar by baz ) Callable references for functions and properties (::foo ) Support for Long and improved support for Char types Inline functions support Multiple catch -blocks
重要改进:
Native traits exist only at compile time Some changes in function name mangling Moving and renaming some packages Changes in println() behavior: on node.js – write to stdout otherwise (in the browser) – buffered write to console.log, flush buffer to console on “\n”
IntelliJ IDEA 改进提取函数重构和代码重复


从 Usage 创建

模块改进 通过 Convention 查找和重命名 

其他 IDE 改进
Debugger. Now supports delegated properties. Completion. Overall improvements in completion in addition to completion for as when expected types are known at the point of invocation Expand selection. Offering pretty much all the same functionality we currently have for Java Java to Kotlin converter. Allowing for more conversion scenarios.
还有大量 bug 修复。 命令行接口改进JVM 代码生成和性能改进API 文档更新更多内容请看发行说明。 |