-
Destructuring for lambdas (proposal)
Current limitations:
- Nested destructuring is not supported
- Destructuring in named functions/constructors is not supported
- Is not supported for JS target
KT-2127
Smart cast receiver to not null after a not null safe callKT-6840
Make data flow information the same for assigned and assigneeKT-13426
Fix exception when smartcast on both dispatch & extension receiver
KT-12995
Do not skip generation of the left-hand side for intrinsic bound references and class literalsKT-13075
Fix codegen for bound class referenceKT-13110
Fix type mismatch error on class literal with integer receiver expressionKT-13172
Report error on "this::class" in super constructor callKT-13271
Fix incorrect unsupported error on synthetic extension call on LHS of ::KT-13367
Inline bound callable reference if it's used only as a lambda
KT-13156
Do not execute last Unit-typed coroutine statement twiceKT-13246
Fix VerifyError with coroutines on DalvikKT-13289
Fix VerifyError with coroutines: Bad type on operand stackKT-13409
Fix generic variable spilling with coroutinesKT-13531
Fix ClassCastException when coercion to Unit interacts with generic await() and coroutines- Prohibit
Continuation<*>
as a last parameter of suspend functions KT-13560
Prohibit non-Unit suspend functions
KT-13200
Fix incorrect number of required type arguments reported on typealiasKT-13181
Fix unresolved reference for a type alias from a different moduleKT-13161
Support java static methods calls with typealiasesKT-13835
Do not lose nullability information while expanding type alias in projection positionKT-13422
Prohibit usage of type alias to exception class as an object in 'throw' expressionKT-13735
Fix NoSuchMethodError for generic typealias accessKT-13513
Support SAM constructors for aliased java functional typesKT-13822
Fix exception for start-projection of a type aliasKT-14071
Prohibit using type alias as a qualifier for superKT-14282
Report error on unused type alias with -language-version 1.0KT-14274
Fix type alias resolution when it's used for supertype constructor call
KT-13209
Change first parameter's type of Map.getOrDefault to K instead of AnyKT-13069
Do not emit invalid DefaultImpls delegation when interface extends MutableMap with JDK8
KT-11306
Allow data classes to implement equals/hashCode/toString from base classes
KT-13182
Fix compiler internal error at inlineKT-13757
Prohibit referencing nested classes by name with $KT-12985
Do not create range instances for 'for' loop in CharSequence.indicesKT-13931
Optimize generated code for IntRange#contains
KT-435
Use parameter names in error messages when calling a function-valued expressionKT-10001
Fix false unnecessary non-null assertion on a pair elementKT-12811
Treat function declaration as final if it is a member of a final classKT-13961
Report REDECLARATION on private-in-file 'foo' vs public 'foo' in different file
KT-18
Move exceptions fromjava.lang
tokotlin
packageKT-12386
Rewrite JS collections in Kotlin, move them tokotlin.collections
packageKT-7809
Make Collection implementations conform to their declared interfacesKT-7473
Make AbstractCollection.equals check object typeKT-13429
Make 'remove' on fresh iterator throw exception instead of removing last elementKT-13459
Make JS implementation of ArrayList::add(index, element) check the index is in valid rangeKT-8724
Fix MutableIterator.remove() for HashMapKT-10786
Make Map.keys return view of map keys instead of snapshotKT-14194
Make HashMap.putAll implementation not to call getKey/getValue
KT-14297
Add @SinceKotlin annotation to support compatibility with compilation against older standard libraryKT-14213
Ensure printStackTrace can be called with -language-version 1.0
KEEP-53
Provide two distinct hierarchies of abstract collections: one for implementing read-only/immutable collections, and other for implementing mutable collectionsKEEP-13
Provide extension functions to copy mapsKT-18
Introduce type aliases for common exceptions fromjava.lang
inkotlin
packageKT-12762
Makekotlin.ranges.until
return an empty range for "illegal" 'to' parameterKT-12894
Allow nullable receiver foruse
extension
KT-8998
Introduce comprehensive API to work with KType instancesKT-10447
Provide a way to check if a KClass is a data classKT-11284
Add KClass.cast extensionKT-13106
Support annotation constructors in reflection
KT-10651
Optimize KClass.simpleName
KT-12903
Implement "Inline type alias" refactoringKT-12902
Implement "Introduce type alias" refactoringKT-12904
Implement "Create type alias from usage" quick fixKT-9016
Make use of named higher order function parametersKT-12205
Suggest import of Kotlin static members in editor with Java sourceKT-13941
Implement intention for introducing destructured lambda parameters when it's possibleKT-13943
Implement inspection and quickfix for to detect a manual destructuring of for / lambda parameter
KT-13004
Support bound method references in completionKT-13242
Suggest 'typealias' keyword in completionKT-13244
Override/Implement Members: Do not expand type aliases in the generated membersKT-13611
Go to Class: Fix presentation of type aliasesKT-13759
Rename: Process object-wrapping alias referencesKT-13955
Find Usages: Add special type for usages inside of type aliasesKT-13479
Support navigation to type aliases from binariesKT-13766
Fix optimize imports not to add wrong and unnecessary import because of type aliasKT-12949
Consider type aliases as candidates for importKT-13266
Suggest non-imported type aliases in completionKT-13689
Do not treat type alias constructor usage as original type usage for optimize imports
- A new library
kotlin-script-util
containing utilities for implementing kotlin script support KT-7880
Experimental support for JSR 223 Scripting APIKT-13975
,KT-14264
Convert error on retrieving gradle plugin settings to warning- Implement support for custom template-based scripts in command-line compiler, maven and gradle plugins
This release also includes the following issues fixed in 1.0.5
and 1.1-M01
Note that not all of the issues of the final 1.0.5 release will be included in M02, but only ones mentioned on the page from the hyperlink above.