Kotlin 1.0.6
Compiler
KT-12224
Add a diagnostic message for@JvmOverloads
on interface methodsKT-14186
Vararg parameters were generated as simple array parameters for JavaKT-12664
Inner class was not found when a sub-directory with the same name is present in an outer class directoryKT-14408
No-arg constructor should always be generated if all primary constuctor arguments have a default valueKT-14469
StackOverflowError at EffectiveVisibilityKt.forVisibilityKT-14581
NullPointerException at StackTransformationUtils when inlining extension function to ado-while
loop conditionKT-14678
Internal error with@JvmOverloads
on constructor of inner classKT-14751
Class can't be resolved (related to annotation on types)KT-14774
Incorrect inner class modifier was generated forsealed
inner classes
Stdlib
KT-14883
Performance tune: Use byte array buffer directly to read the entire contents of a file
JS
KT-12976
Print human-friendly error message on wrong modules orderKT-13792
Inner class of local class did not capture the enclosing class properlyKT-13912
NullPointerException at JsSourceGenerationVisitor when a Lambda with empty if block passed to inline functionKT-14535
Fix broken modification of captured variables defined by a destructuring declarationKT-14752
Fix exception while typing@JsName
annotation in editor- Update JavaScript platform declarations (DOM, Events, etc) to latest spec
- Types that exist in runtime are now generated as abstract classes while non-existing types are now interfaces
IDE
KT-14215
Show members of anonymous objects in File Structure windowKT-14217
Support visibility filters in File Structure window- Implement Kotlin facet
KT-13811
Expose JVM target setting in IntelliJ IDEA plugin compiler configuration UI
Issues fixed
KT-6535
"Go to Symbol" did not include Enum constantsKT-10700
Run tests via Gradle does not work for Kotlin sourcesKT-12385
Closing quote was not automatically inserted when typing Char literalKT-12445
Fix IllegalStateException in the class chooser if Kotlin script file existsKT-13279
Deleting<
in function call expression should delete matching>
KT-13795
Escaped chars in char literals was not highlightedKT-14411
Code folding did not work in lambdas after some declatationKT-14585
ConvertJavaCopyPasteProcessor showed a dialog under write actionKT-14741
Default JVM target was inferred to 1.8 for module with dependency on JDK 1.7KT-13354
Fix unstable resolve of value parameter types in IDE testsKT-13400
KDoc: Fully-qualified names were resolved incorrectlyKT-13197
KDoc: Code completion should suggest relevant identifiers for reference-value tagsKT-10665
KDoc: Do not show full KDoc popup on ctrl-hovering over declarationsKT-13038
Quick doc: HTML entities in code blocks should be escapedKT-13389
Quick Doc: Hyperlinks to properties and functions did nothingKT-7739
Quick Doc: Type names in should be navigableKT-7995
Quick Doc: ReplaceWith value should be shown for deprecated elementsKT-13197
Quick Doc: Markdown indented code blocks were not recognizedKT-11032
Quick Doc:@sample
was ignoredKT-13699
Quick documentation should show supertype docs for overridden Java methodsKT-14804
Avoid loading ast for decompiled filesKT-5897
PressingEnter
after binary operations places the caret at the wrong indentationKT-10828
Support empty Unit function formatting on one lineKT-15123
Do indent adjustment on the fly only for the first element in the lineKT-15128
Do not assign type parameters from original proto if type is substituted with Any
Inspections, Intentions and Quickfixes
KT-12095
Implement "Join Declaration and Assignment" intentionKT-12701
Add a quickfix for@JvmOverloads
on functions without default parameters, fix corresponding inspection rangeKT-14326
Implement Intention + Inspection to remove empty secondary constructor bodyKT-14521
Add Inspection to remove empty primary constructorKT-14569
Convert Property to Function Intention: Search occurrences using progress dialogKT-14501
Create from Usage: Support array access expressions/binary expressions with type mismatch errorsKT-14500
Create from Usage: Suggest functional type based on the call with lambda argument and unresolved invoke()KT-13259
"Redundant if statement" inspection: report also assignments (as done for Java)KT-13393
Implement intention to convert function reference to lambdaKT-12100
Add "Converttry-finally
touse
" intentionKT-14459
Initialize with Constructor Parameter: Fix IDE freeze on properties in generic classKT-14044
Fix exception on deleting unused declaration in IDEA 2016.3KT-14019
Create from Usage: Support generation of abstract members for superclassesKT-14246
Intentions: Convert function type parameter to receiverKT-14246
Intentions: Convert function type receiver to parameterKT-14729
Implement "Add names to call arguments" intentionKT-11760
Create from Usage: Support adding type parameters to the referenced type
Issues fixed
KT-14396
"Remove redundant.let
call" was not proposed for binary operationsKT-14552
ChangeParameterTypeFix held a strong reference to PSIKT-14745
Fix KotlinNullPointerException in ConvertPrimaryConstructorToSecondaryKT-14791
Fix incorrect "remove redundant.let
" inspection for value with smart castKT-14733
Fix incorrect intention to addout
/in
variance with inner classesKT-13777
Simplify condition intention should work in casebooleanCond == true
KT-14890
Inspection to remove curly braces from class definition should not trigger for nested classes followed by a secondary constructorKT-12633
Intention "Specify type explicitly" should offer all bounds for platform typesKT-14100
Auto-import should suggest Enum constantsKT-15087
Don't suggestsomething == true
simplification for flexible typesKT-14982
"Convert reference to lambda" worked incorrectly with static methodsKT-14985
"Convert reference to lambda" worked incorrectly withapply
KT-15028
Fix ClassCastException:KtParameter
cannot be cast toKtFunction
KT-14063
No "Change return type of enclosing function" for mismatched typesKT-15030
"Remove redundant calls of conversion methods": Fix false positive fortoList()
KT-15142
"Remove redundant calls of conversion methods": Bogus warning for Any?.toStringKT-13443
Do not try to calculate icon for invalid PSI elements (fix PsiInvalidElementAccessException)KT-15074
Fix occasional freezes on startup (remove unnecessary cyclic dependency between KtStubElementTypes and KtNodeTypes)KT-14732
Fix Slow typing, copy-pasting, highlighting in Kotlin files due to auto-import suggestion calculationKT-15227
"Replace if with elvis" silently changed semantics
Refactorings
Issues fixed
KT-14583
Change Signature: Use new signature when looking for redeclaration conflictsKT-14854
Extract Interface: Fix NPE on dialog openingKT-14814
Rename: Fix renaming of .kts file to .kt and vice versaKT-14361
Rename: Do not report redeclaration conflict for private top-level declarations located in different filesKT-14596
Safe Delete: Fix exception on deleting Java class used in Kotlin import directive(s)KT-14325
Rename: Fix exceptions on moving file with facade class to another packageKT-14197
Move: Fix callable reference processing when moving to another packageKT-13781
Extract Function: Do not wrap companion member references inside of thewith
call
J2K
KT-14604
Floating-point literals: "dot" + "exponent" char sequence was processed incorrectlyKT-14885
Conversion-on-paste should not add duplicated import statements
Debugger
KT-13485
Fix: Smart Step Into can't enter function in objectKT-14374
Fix bad step-over behaviour for inline calls in Android StudioKT-12612
Breakpoint inside cross-inlined lambda did never hitKT-11521
KT-12734
KT-12470
Fix breakpoints in function literals in inline callsKT-14822
Can't call member extension in an object in Evaluate ExpressionKT-14916
Navigation to inline functions doesn't work for thread dump captured using "Get thread dump" button in debuggerKT-14615
Now able to set breakpoint to lambda in return statementKT-14602
Fix slow editing while debugging (run full resolve with write action priority)KT-14892
Fix UI hangs on stepping in Kotlin code
Android support
KT-12880
Implement "Create XML resources" quickfixKT-12020
Implement "Suppress" intentionKT-14439
Lint: Filter onlyR
class from the current module in the import quickfixKT-13243
Lint: Exception type in atry..catch
block is checked nowKT-14826
Lint: Fix exception from destructuring declarationsKT-14047
Lint: Fix overloaded method detection in the API detectorKT-14470
Lint: Fix false positives inFragmentManager.beginTransaction()
inside SAM constructorsKT-14610
Lint: Super call detector showed thatsuper
is not called when it isKT-14610
Lint: Fix "Unexpected container" exception for local class instance creationKT-15002
Lint: "API Level" inspection did not recognizethrow
expressionsKT-12024
Lint: "Calling new methods on older versions" did not take control flow into accountKT-14737
Lint: Fix false positives with someif
structuresKT-14825
Lint: "Calling new methods on older versions" did not report call on receiver in extension functionKT-12023
Lint: Cast should trigger minSdk errorKT-15018
Lint: Fix PluginException atIntellijLintUtils.getLocation()
KT-14067
Android Extensions: Remove obsolete JPS pluginKT-12741
Android Extensions: Enable IDE integration only if it is enabled in thebuild.gradle
file (apply plugin: 'kotlin-android-extensions')KT-14308
Fix hangs in IDEA/Android Studio on unresolved references (Data Binding)
Tools
Gradle
KT-14724
main()
was not calledKT-15120
Gradle JS test compile task doesn't pick up production codeKT-15217
Fix compatibility with Android Gradle plugin 2.3
Kapt
KT-14937
Use javac annotation processing implementation, generate AST stubs for Kotlin classes (this replaces kapt2 implementation)KT-9440
Fix Execution failed for task: "Unable to delete file" on project with the experimental kapt pluginKT-10190
kaptTest configuration did not extend kaptKT-13767
Property-targeted annotations did not appear in kapt elements
Other
KT-12149
Provide a way to avoid mandatory open qualifier for proxy classes (all-open plugin for Maven and Gradle)