1.2-M1
Pre-release
Pre-release
1.2-M1
Language changes
- Array literals, which can be used in annotation arguments
Compiler
KT-6884
KT-17910
Support default values for functional parameters in inline functionsKT-15894
Change the way how singleton objects are initialized in order not to contradict JVM specKT-17929
Illegal smart cast was allowed after assignment in try block
Standard Library
-
KT-8823
MutableList.fill
extension -
KT-9010
MutableList.shuffle
andList.shuffled
extensions -
KEEP-11
KT-9151
KT-10021
KT-11026
chunked
andwindowed
: 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 forBigInteger
andBigDecimal
-
KT-16447
Makekotlin.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
Previous releases
This release also includes the fixes and improvements from
1.1.3
release.