1.1-M03
Pre-release1.1-M03 (EAP-3)
New language features
KT-2964
Underscores in integer literals
(see KEEP)KT-3824
Underscore in lambda for unused parameters
(see KEEP)KT-2783
Allow to skip some components in a multi-declaration
(see the same KEEP)KT-11551
limited scope for dsl writers
(see KEEP)
Compiler
Coroutines related issues
- Make fields for storing lambda parameters non-final (as they get assigned within
invoke
call) KT-14719
Make initial continuation able to be resumed with exceptionKT-14636
Coroutine fields should not be volatileKT-14718
Validate label value of coroutine in case of no suspension points
Typealises related issues
KT-13514
Type inference doesn't work with generic typealiasesKT-13837
Error "Type alias expands to T, which is not a class, an interface, or an object"
should also appear for local type aliasesKT-14307
Local recursive type alias should be an errorKT-14400
Compiler Error IllegalStateException: kotlin.NotImplementedError when anonymous
object inherits from typealiasKT-14377
Expected error: Modifier 'companion' is not applicable to 'typealias'KT-14498
typealias allows to circumvent variance annotationsKT-14641
An exception while processing a nested type alias access after a dot
Various issues
KT-550
Properties without initializer but with get must infer type from getterKT-8816
Generate Kotlin parameter names in the same form as expected for Java 8 reflectionKT-10569
Cannot iterate over values of an enum class when it is used as a generic parameter
(see KEEP)KT-13557
VerifyError with delegated local variable used in object expressionKT-13890
IllegalAccessError when invoking protected method with default argumentsKT-14012
Back-end (JVM) Internal error every first compilation after the source code changeKT-14201
UnsupportedOperationException: Don't know how to generate outer expression for anonymous
object with invoke and non-trivial closureKT-14318
Repeated annotations resulting from type alias expansion should be reportedKT-14347
Report UNUSED_PARAMETER/VARIABLE on named unused lambda parameters/destructuring entriesKT-14352
@SinceKotlin is not taken into account for companion object member referenced via
type aliasKT-14357
Try-catch used in false condition generates CompilationExceptionKT-14502
Prohibit irrelevant modifiers and annotations on destructured parameters in lambdaKT-14692
Change resolution scope for componentX in lambda parametersKT-14824
Back-end (JVM) Internal error: Couldn't inline method call 'get' into local final fun
StorageComponentContainer.(): kotlin.UnitKT-14798
Gradle 3.2 AssertionError: Built-in class kotlin.ParameterName is not found
JS
Feature support
KT-6985
Support Exceptions in JSKT-13574
JS: support coroutinesKT-14422
JS: Support destructuring in lambda parametersKT-14507
JS: allow to skip some components in a multi-declaration
Library updates
KT-14637
JS: Missing ArrayList.ensureCapacity
Other issues
KT-2328
js: kotlin exceptions must inherit ErrorKT-5537
Drop Cloneable in JSKT-7014
JS: generate code which more friendly to js tools (minifier, optimizer, linter etc)KT-8019
JS: no stackTrace in exception subclassesKT-10911
JS: Throwable properties aren't supported wellKT-13912
JS: Compiler NPE at JsSourceGenerationVisitor. Lambda with empty [if] block passed
to inline functionKT-14535
JS: Broken modification of captured variables defined by a destructuring declaration
Standard Library
-
KT-2084
Common API should be available without referring to java.* packagesNow those common types, which are supported on all platforms, are available in
kotlin.*
packages, and are imported by default. These include:ArrayList
,HashSet
,LinkedHashSet
,HashMap
,LinkedHashMap
inkotlin.collections
Appendable
andStringBuilder
inkotlin.text
Comparator
inkotlin.comparisons
On JVM these are just typealiases of the good old types fromjava.util
andjava.lang
-
KT-13554
Introduce bitwise operationsand
/or
/xor
/inv
for Byte and Short -
KT-13582
New platform-agnostic extensions for arrays:contentEquals
to compare arrays'
content for equality,contentHashCode
to get hashcode of array's content, andcontentToString
to get the string representation of array elements. -
KT-14510
Generic constraints ofArray.flatten
signature were relaxed a bit to make it just usable. -
KT-14789
ProvideKotlinVersion
class, which allows to get the current version of the standard
library and compare it with some otherKotlinVersion
value.
IDE
KT-14409
Incorrect "Variable can be declared immutable" inspection for local delegated variableKT-14431
Create quick-fix on UNUSED_PARAMETER/VARIABLE when it can be replaced with one underscoreKT-14794
Add /Specify type/Remove explicit type intentions for property with getters if type
can be inferredKT-14752
Exception while typing @JsName annotation in editor
Previous releases
This release also includes the fixes and improvements from releases 1.0.5-2
, 1.1-M01
and 1.1-M02