设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Kotlin 1.2-M1发布,1.2系列的早期访问版

2017-6-28 23:02| 发布者: joejoe0332| 查看: 587| 评论: 0|原作者: oschina|来自: oschina

摘要: Kotlin 发布了 Kotlin 1.2 的早期访问版,此版本默认使用先前 1.1.x 版本的实验性功能,在标准库中也可以预览新的 API。完整的变更列表,点此查看。语言变更数组文字(Array literals),可在注解参数(annotationargum ...

Kotlin 发布了 Kotlin 1.2 的早期访问版,此版本默认使用先前 1.1.x 版本的实验性功能,在标准库中也可以预览新的 API。

完整的变更列表,点此查看

语言变更

  • 数组文字(Array literals),可在注解参数(annotation arguments)中使用

编译器

  • KT-6884 KT-17910 Support default values for functional parameters in inline functions

  • KT-15894 Change the way how singleton objects are initialized in order not to contradict JVM spec

  • KT-17929 Illegal smart cast was allowed after assignment in try block

标准库

  • KT-8823 MutableList.fill extension

  • KT-9010 MutableList.shuffle and List.shuffled extensions

  • KEEP-11 KT-9151 KT-10021 KT-11026
    chunked and windowed: extension functions to support
    partitioning collections into blocks of the given size and
    taking a window of the given size and moving it along the collection with the given step.

    pairwise extension to get all subsequent pairs in collection

  • KEEP-49 Additional operations and conversion extensions for BigInteger and BigDecimal

  • KT-16447 Make kotlin.text.Regex class serializable

IDE

  • KT-17164 Intention to convert *arrayOf() functions to array literals in annotations

JS

  • Typed arrays are turned on by default

此版本还包含对于 1.1.3 版本的修复和改进。

下载

发布主页


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部