发布于 2016-05-14 00:50:31 | 159 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Kotlin 基于JVM的编程语言

Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。


Kotlin 1.0.2 发布了,该版本提升了IDE中编译性能,提升开发Android应用时代码校验功能,支持Java 7/8、JS,IntelliJ IDEA 插件提升。以下是编译器相关的改进记录:

  • KT-7437, KT-7971, KT-7051, KT-6125, KT-6186, KT-11649 Implement missing checks for protected visibility

  • KT-11666 Report "Implicit nothing return type" on non-override member functions

  • KT-4328, KT-11497, KT-10493, KT-10820, KT-11368 Report error if some classes were not found due to missing or conflicting dependencies

  • KT-11280 Do not perform smart casts for values with custom equals compared with ==

  • KT-3856 Fix wrong "inner class inaccessible" diagnostic for extension to outer class

  • KT-3896, KT-3883, KT-4986 do...while (true) is now considered an infinite loop

  • KT-10445 Prohibit initialization of captured val in lambda or in local function

  • KT-10042 Correctly handle local classes and anonymous objects in control flow analysis

  • KT-11043 Prohibit complex expressions with class literals in annotation arguments

  • KT-10992, KT-11007 Fix multiple problems related to smart casts

  • KT-11490 Prohibit nested intersection types in return position

  • KT-11411 Report "illegal noinline/crossinline" on parameter of subtype of function type

  • KT-3083 Report "conflicting overloads" for functions with parameter of type parameter type

  • KT-7265 Parse anonymous functions in blocks as expressions

  • KT-8246 Handle break/continue for outer loop correctly in case of try/finally in between

  • KT-11300 Report error on increment or augmented assignment when get is an operator but set is not

  • Report warning about unused anonymous functions

  • Improve callable reference type in some ambiguous cases

  • Improve multiple diagnostic messages: KT-10761, KT-9760, KT-10949, KT-9887, KT-9550, KT-11239, KT-11819

  • Fix several compiler bugs leading to exceptions: KT-9820, KT-11597, KT-10983, KT-10972, KT-11287, KT-11492, KT-11765, KT-11869

完整改进记录,可以查看这里



历史版本 :
Kotlin 1.2.21 发布,Bug 修复版本
Kotlin 1.2.20 发布:添加对 Gradle 构建缓存的支持
Kotlin/Native 0.5 支持在Swift, C和LLVM 5中使用 Kotlin
Kotlin 1.2 发布,实现平台间共享代码
Kotlin 1.1.60 发布,开始支持增量编译
Kotlin 1.2 Beta2 发布:显著提升编译器性能
Kotlin 1.2 Beta 版发布,基于 JVM 的编程语言
Kotlin 1.1.50 发布,基于 JVM 的编程语言
Kotlin 1.1.4 发布,改进对 Java 9 的支持
Kotlin 1.2 M2 发布,1.2 系列的早期访问版
Kotlin 1.2-M1 发布,1.2 系列的早期访问版
Kotlin 1.1.3 发布,初始支持 JDK 9
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务