NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central, #307 by repository stars
Annotation Processor for Kotlin (for using with embeddable compiler)
Latest stable
2.4.21
Last release 3 days ago
12 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
199 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windo
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.
KT-27758 Kotlin 1.3 breaks compilation of calling of function named 'contract' with block as a last parameterKT-27895 Kotlin 1.3.0 broken runtime annotation issueKT-27540 2018.3 and 2019.1 Debugger: Evaluating anything fails with KNPE in LabelNormalizationMethodTransformerKT-27833 Evaluate exception in 183/191 with asm-7.0-beta1/'asm-7.0'KT-27965 Sequence debugger does not work in Android StudioKT-27980 Kotlin sequence debugger throws IDE exception in IDEA 183KT-27265 Unresolved reference in IDE on calling JVM source set members of a multiplatform project with Android target from a plain Kotlin/JVM moduleKT-27849 IntelliJ: Wrong scope of JVM platform MPP dependencyKT-26481 Flaky false positive "Receiver parameter is never used" for local extension functionKT-27357 Function with inline class type value parameters is marked as unused by IDEKT-27434 False positive "Unused symbol" inspection for functions and secondary constructors of inline classesKT-27945 Quick-fix whitespace bug in KtPrimaryConstructor.addAnnotationEntry()KT-27746 Scratch: "Cannot pop operand off an empty stack" in a new scratch fileKT-27371 Common tests can not be launched from gutter in MPP Android/iOS projectKT-27878 Spring: "AssertionError: Non-primitive type name passed: void"KT-27160 Kotlin Gradle plugin 1.3 resolves script configurations during project evaluationKT-27803 CInterop input configuration has 'java-api' as a Usage attribute value in new MPPKT-27984 Kotlin Gradle Plugin: Circular dependencyKT-26489 JPS: support -Xcommon-sources for multiplatform projects (JVM)KT-27037 Incremental compilation failed after update to 1.3.0-rc-60KT-27792 Incremental compilation failed with NullPointerException in KotlinCompileContext.markChunkForRebuildBeforeBuildKT-27126 kapt: class implementing List<T> generates bad stubThis release also includes the fixes and improvements from the previous releases.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
`KT-25429` Replace update channel in IDE plugin
KT-25429 Replace update channel in IDE pluginKT-27793 kotlinx.android.synthetic is unresolved on project reopeningKT-27619 Inspection "Invalid property key" should check whether reference is soft or notThis release also includes the fixes and improvements from the previous releases.
Nothing published for this version
Nothing published for this version
`KT-26806` Defining constants using kotlin.math is broken in 1.2.70
KT-26806 Defining constants using kotlin.math is broken in 1.2.70KT-26399 Kotlin Migration: NPE at KotlinMigrationProjectComponent$onImportFinished$1.run()KT-26794 Bad version detection during migration in Android Studio 3.2KT-26823 Fix deadlock in databinding with AndroidX which led to Android Studio hangingKT-26889 Don't show migration dialog if no actual migrations are availableKT-25177 Report asDynamic on dynamic type as a warningKT-25454 Extract function: make default visibility privateKT-26466 Uncaught ReferenceError: println is not definedKT-26208 inspectClassesForKotlinIC slows down continuous mode in GradleKT-26929 Kotlin Reflect and Proguard: can’t find referenced class kotlin.annotations.jvm.ReadOnly/MutableThis release also includes the fixes and improvements from the previous 1.2.70 release.
`KT-24892` please remove usages of com.intellij.util.containers.ConcurrentFactoryMap#ConcurrentFactoryMap deprecated long ago
KT-13860 Avoid creating KtImportDirective PSI elements for default imports in LazyImportScopeKT-22201 Generate nullability annotations for data class toString and equals methods.KT-23870 SAM adapter method returns null-values for "genericParameterTypes"KT-24597 IDE doesn't report missing constructor on inheritance of an expected class in common moduleKT-25120 RequireKotlin on nested class and its members is not loaded correctlyKT-25193 Names of parameters from Java interface methods implemented by delegation are lostKT-25405 Mismatching descriptor type parameters on inner typesKT-25604 Disable callable references to exprerimental suspend functionsKT-25665 Add a warning for annotations which target non-existent accessorsKT-25894 Do not generate body for functions from Any in light class builder modeKT-20772 Incorrect smart cast on enum membersKT-24657 Compiler performance issues with big filesKT-25745 Do not report warning about annotations on non-existing accessors for JvmStatic propertiesKT-25746 Improve message for warning about annotations that have target to non-existing accessorsKT-25810 New Inference: Overload resolution ambiguity on method 'provideDelegate(Nothing?, KProperty<*>)' when there's more than one provideDelegate operator in scopeKT-25973 Report metadata version mismatch upon discovering a .kotlin_module file in the dependencies with an incompatible metadata versionKT-22281 JVM: Incorrect comparison of Double and Float when types are derived from smart-castsKT-22649 Compiler: wrong code generated / Couldn't transform method node - using inline extension property inside lambdaKT-18301 kotlin needs crazy amount of memoryKT-23668 Methods with internal visibility have different mangling names in IDE and in compilerKT-24892 please remove usages of com.intellij.util.containers.ConcurrentFactoryMap#ConcurrentFactoryMap deprecated long agoKT-25144 Quick fix “Change signature” changes class of argument when applied for descendant classes with enabled -Xnew-inference optionKT-25356 Update Gradle Kotlin-DSL icon according to new IDEA 2018.2 icons styleKT-20056 TCE on creating object of an anonymous class in Kotlin scriptKT-25092 SourcePsi should be physical leaf element but got OPERATION_REFERENCEKT-25249 Uast operates "Unit" type instead of "void"KT-25255 Preferences | Languages & Frameworks | Kotlin Updates: show currently installed versionKT-25297 Inconsistency in KotlinULambdaExpression and KotlinLocalFunctionULambdaExpressionKT-25515 Add/remove analysis-related compiler setting does not update IDE project model immediatelyKT-25524 UAST: proper resolve for function variable callKT-25640 "Configure Kotlin" action changes values of language and API version in project settingsKT-25147 Conditional breakpoints doesn't work in common code of MPPKT-25152 MPP debug doesn't navigate to common code if there are same named files in common and platform partsKT-22732 TestNG runner is always used for TestNG tests even when Use Gradle runner is selectedKT-25913 Honor 'store generated project files externally option' for Kotlin facets imported from GradleKT-25955 Support expect/actual in new MPP imported into IDEAKT-6633 Inspection to detect unnecessary "with" callsKT-25146 Add quick-fix for default parameter value removalKT-7675 Create inspection to replace if with letKT-13515 Add intention to replace '?.let' with null checkKT-13854 Need intention actions: to convert property with getter to initializerKT-15476 Inspection to convert non-lazy chains of collection functions into sequencesKT-22068 Force usage of “it” in .forEach{} callsKT-23445 Inspection and quickfix to replace assertTrue(a == b) with assertEquals(a, b)KT-25270 "return@foo" outside of lambda should have quickfix to remove "@foo" labelKT-11154 Spell checking inspection is not suppressableKT-18681 "Replace 'if' with 'when'" generates unnecessary else blockKT-24001 "Suspicious combination of == and ===" false positiveKT-24385 Convert lambda to reference refactor produces red code with companion objectKT-24694 Move lambda out of parentheses should not be applied for multiple functional parametersKT-25089 False-positive "Call chain on collection type can be simplified" for map and joinToString on a HashMapKT-25169 Impossible to suppress UAST/JVM inspectionsKT-25321 Safe delete of a class property implementing constructor parameter at the platform side doesn't remove all the related declarationsKT-25539 Make class open quick fix doesn't update all the related implementations of a multiplatform classKT-25608 Confusing "Redundant override" inspection messageKT-16422 Replace lambda with method reference inspections failsKT-21999 Convert lambda to reference adds this with incorrect labelKT-23467 False positive suspicious callable reference on scoping function called on another lambdaKT-25044 "Implement member" quick-fix should not generate 'actual' modifier with expect declaration in interface onlyKT-25579 Redundant semicolon erroneously reported during local var modifier ambiguityKT-25633 “Add kotlin-XXX.jar to the classpath” quick fix adds dependency with invalid version in Gradle-based projectsKT-25739 "Convert to run" / "Convert to with" intentions incorrectly process references to Java static membersKT-25928 "Let extend" quick fix is suggested in case of nullable/non-null TYPE_MISMATCH collisionKT-26042 False positive "Remove redundant '.let' call" for lambda with destructured argumentsKT-22815 Update quick documentationKT-22648 Quick Doc popup: break (long?) declarations into several linesKT-25129 Idea freezes when Kotlin plugin tries to determine if jar is js lib in jvm moduleKT-25317 Go to actual declaration keyboard shortcut doesn't work for expect object, showing "No implementations found" messageKT-25492 Find usages: keep Expected functions option state while searching for usages of a regular functionKT-25498 Find Usages doesn't show Supertype usages of actual declarations with constructorKT-22823 Text pasted into package is parsed as Kotlin before JavaKT-22072 "Convert MutableMap.put to assignment" should not be applicable when put is used as expressionKT-23590 Incorrect conflict warning "Internal function will not be accessible" when moving class from jvm to common moduleKT-23594 Incorrect conflict warning about IllegalStateException when moving class from jvm to common moduleKT-23772 MPP: Refactor / Rename class does not update name of file containing related expect/actual classKT-23914 Safe search false positives during moves between common and actual modulesKT-25326 Refactor/Safe Delete doesn't report actual object usagesKT-25438 Refactor/Safe delete of a multiplatform companion object: usage is not reportedKT-25857 Refactoring → Move moves whole file in case of moving class from Kotlin scriptKT-25858 Refactoring → Move can be called only for class declarations in Kotlin scriptKT-25814 IDE scripting console -> kotlin (JSR-223) - compilation errors - unresolved IDEA classesKT-25822 jvmTarget from the script compiler options is ignored in the IDEKT-23368 IDE: Build: JPS errors are reported for valid non-multiplatform module depending on multiplatform oneKT-25595 Rename Kotlin-specific "Protractor" run configuration to distinguish it from the one provided by NodeJS pluginKT-19309 Spring JPA Repository IntelliJ tooling with KotlinKT-26228 NoClassDefFoundError: org/jetbrains/kotlin/idea/run/KotlinTestNgConfigurationProducer on running a JUnit test with TestNG plugin disabledKT-25541 Incorrect parameter names in reflection for inner class constructor from Java class compiled with "-parameters"KT-21910 Add -Xfriend-paths compiler argument to support internal visibility checks in production/test sources from external build systemsKT-25554 Do not report warnings when -XXLanguage was used to turn on deprecationKT-25196 Optional expected annotation is visible in platforms where it doesn't have actualKT-25540 JPS JS IC does not recompile usages from other modules when package is differentKT-25396 KAPT Error: Unknown option: infoAsWarningsKT-26211 Kotlin plugin 1.2.60+ breaks IDEA source/resource/test roots in a Maven project with KaptKT-25025 Inter-project IC for JS in GradleKT-25455 Gradle IC: when class signature is changed its indirect subclasses in different module are not recompiledKT-25998 Build process starts compiling w/o any changes (on release version)KT-25977 Can not run a Kotlin testKT-26072 MPP compilation issueKT-26113 Build takes around 20 seconds in already fully built IDEA projectKT-26142 update maven-central remote repository urlKT-26528 ISE “To save disabled cache status [delete] should be called (this behavior is kept for compatibility)” on compiling project with enabled IC in MavenKT-22053 JS: Secondary constructor of Throwable inheritor doesn't call to primary oneKT-26064 JS inliner calls wrong constructor in incremental buildKT-26117 JS runtime error: ArrayList_init instead of ArrayList_init_0KT-18067 KotlinJS - String.compareTo(other: String, ignoreCase: Boolean = false): IntKT-19507 Using @JvmName from stdlib-common fails to compile in JS module.KT-19508 Add @JsName to stdlib-common for controlling JS implementationKT-24478 Annotate relevant standard library annotations with @OptionalExpectationKT-25980 JvmSynthetic annotation has no description in the docsThis release also includes the fixes and improvements from the previous 1.2.61 release.
`KT-25622` IDE support for RecentlyNullable/RecentlyNonNull
KT-25622 IDE support for RecentlyNullable/RecentlyNonNullKT-26036 Kotlin 1.2.60 LightAnnotations and LombokKT-20363 No "Run" icon on the left for tests in common part of a multi-platform projectKT-25839 Parcelize generates infinite recursive loopKT-26095 Kotlin facet UI, JS: "Enable incremental compilation (experimental)" should be visible only in project settingKT-24714 java.lang.IllegalStateException: The provided plugin org.jetbrains.kotlin.kapt3.Kapt3ComponentRegistrar is not compatible with this version of compiler`KT-22517` Deprecate smartcasts for local delegated properties
We have now not only the JVM version of Kotlin compiler but also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.
kotlinc [Runtime options and properties] [-args Kotlin compiler arguments]
Please notice that you need to prepend kotlin compiler arguments with -args unlike in JVM version.
kotlinc -args -kotlin-home <path>
kotlinc -Xmx512m -args hello.kt -d hello.jar
kotlinc -args -script list_folders.kts <script arguments>
KT-13762 Prohibit annotations with target 'EXPRESSION' and retention 'BINARY' or 'RUNTIME'KT-18882 Allow code to have platform specific annotations when compiled for different platformsKT-20356 Internal compiler error - This method shouldn't be invoked for INVISIBLE_FAKE visibilityKT-22517 Deprecate smartcasts for local delegated propertiesKT-23153 Compiler allows to set non constant value as annotation parameterKT-23413 IndexOutOfBoundsException on local delegated properties from provideDelegate if there's at least one non-local delegated propertyKT-23742 Optimise inline class redundant boxing on return from inlined lambdaKT-24513 High memory usage in Kotlin and 2018.1KT-24617 Optional expected annotation is unresolved in a dependent platform moduleKT-24679 KotlinUCallExpression doesn't resolve callee if it is an inline methodKT-24808 NI: nested withContext call is reported with Suspension functions can be called only within coroutine body errorKT-24825 NoClassDefFoundError on SAM adapter in a nested call in inlined lambda since 1.2.40KT-24859 Disallow calls of functions annotated with receiver annotated with @RestrictsSuspension in foreign suspension contextKT-24911 Kotlin 1.2.50: UI for @RecentlyNonNull looks strange in the editorKT-25333 Restrict visibility of Java static members from supertypes of companion objectKT-20924 Slow KtLightAbstractAnnotation.getClsDelegate() lightAnnotations.ktKT-23844 Kotlin property accessor searcher consumes CPU when invoked on a scope consisting only of Java filesKT-4311 "Override members" works wrong when function is extensionKT-13948 IDE plugins: improve descriptionKT-15300 "INFO - project.TargetPlatformDetector - Using default platform" flood in logKT-17350 Implement members from interface fails when one of the generic types is unresolvedKT-17668 Edit Configuration dialog doesn't have a button for choosing the "Main class" fieldKT-19102 Wrong equals() and hashCode() code generated for arrays of arraysKT-20056 TCE on creating object of an anonymous class in Kotlin scriptKT-21863 Imported typealias to object declared as "Unused import directive" when only referring to methodsKT-23272 Git commit not workingKT-23407 Pasting callable reference from different package suggests imports, but inserts incompilable FQNKT-23456 UAST: Enum constant constructor call arguments missing from Kotlin enumsKT-23942 Fix building light-classes for MPP project containing multi-file facadesKT-24072 Kotlin SDK appears as many times as there are modules in the projectKT-24412 Kotlin create project wizard: Kotlin/JS no SDKKT-24933 please remove usages of com.intellij.psi.search.searches.DirectClassInheritorsSearch#search(com.intellij.psi.PsiClass, com.intellij.psi.search.SearchScope, boolean, boolean) deprecated long agoKT-24943 Project leak via LibraryEffectiveKindProviderImplKT-24979 IndexNotReadyException in KtLightClassForSourceDeclaration#isInheritorKT-24958 Escaping goes insane when editing interpolated string in injected fragment editorKT-25024 Wrong resolve scope while resolving java.lang.String PsiClassReferenceTypeKT-25092 SourcePsi should be physical leaf element but got OPERATION_REFERENCEKT-25242 'Resolved to error element' highlighting is confusingly similar to an active live templateKT-25249 Uast operates "Unit" type instead of "void"KT-25255 Preferences | Languages & Frameworks | Kotlin Updates: show currently installed versionKT-25297 Inconsistency in KotlinULambdaExpression and KotlinLocalFunctionULambdaExpressionKT-25414 Support checking eap-1.3 channel for updatesKT-25524 UAST: proper resolve for function variable callKT-25546 Create popup in 1.2.x plugin if user upgrade version in gradle or maven to kotlin 1.3KT-17946 Android Studio: remove Gradle configurator on configuring KotlinKT-23040 Wrong run configuration classpath in a mixed Java/Android projectKT-24321 Actual implementations from Android platform module are wrongly reported with no corresponding expected declaration in IDEKT-25018 Exception Dependencies for org.jetbrains.kotlin.resolve.calls.* cannot be satisfied on a simple project in AS 3.2 CanaryKT-14066 Comments on when branches are misplacedKT-25008 Formatter: Use single indent for multiline elvis operatorKT-23627 Autocompletion inserts FQN of stdlib functions inside of scoping lambda called on explicit thisKT-25239 Add postfix template for listOf/setOf/etcKT-23162 Evaluate expression in multiplatform common test fails with JvmName missing when run in JVMKT-24903 Descriptors leak from KotlinMethodSmartStepTargetKT-23981 Kotlin bytecode decompiler works in AWT threadKT-24614 Gradle can't get published versions until commenting repositories in settings.gradleKT-24588 Multiple Gradle Kotlin DSL script files dependencies lifecycle is flawedKT-22432 Type hints: Don't include ".Companion" in the names of types defined inside companion objectKT-22653 Lambda return hint is duplicated for increment/decrement expressionsKT-24828 Double return hints on labeled expressionsKT-7710 Intention to convert lambda to anonymous functionKT-11850 Add nested lambdas with implicit parameters warningKT-13688 Add 'Change to val' quickfix for delegates without setValueKT-13782 Intention (and may be inspection) to convert toString() call to string templateKT-14779 Inspection to replace String.format with string templatesKT-15666 Unused symbol: delete header & its implementations togetherKT-18810 Quick-fix for 'is' absence in whenKT-22871 Add quickfix to move const val into companion objectKT-23082 Add quick-fix for type variance conflictKT-23306 Add intention of putting remaining when-values even in end, and even if there is "else"KT-23897 Inspections: report extension functions declared in same classKT-24295 Add "Remove 'lateinit'" quickfixKT-24509 Inspection "JUnit tests should return Unit"KT-24815 Add Quick fix to remove illegal "const" modifierKT-25238 Add quickfix wrapping expression into listOf/setOf/etc in case of type mismatchKT-12298 Fix override signature doesn't remove bogus recieverKT-20523 Don't mark as unused functions with @kotlin.test.* annotations and classes with such membersKT-20583 Report "redundant let" even for it in argument positionKT-21556 "Call chain on collection type may be simplified" generates uncompiled code on IntArrayKT-22030 Invalid Function can be private inspectionKT-22041 "Convert lambda to reference" suggested incorrectlyKT-22089 Explict This inspection false negative with synthetic Java propertyKT-22094 Can be private false positive with function called from lambda inside inline functionKT-22162 Add indices to loop fails on destructing declaratorKT-22180 "Can be private" false positive when function is called by inline function inside property initializerKT-22371 "Create secondary constructor" quick fix is not suggested for supertype constructor referenceKT-22758 "Create ..." and "Import" quick fixes are not available on unresolved class name in primary constructorKT-23105 Create actual implementation shouldn't generate default parameter valuesKT-23106 Implement methods should respect actual modifier as wellKT-23326 "Add missing actual members" quick fix fails with AE at KtPsiFactory.createDeclaration() with wrong expect codeKT-23452 "Remove unnecessary parentheses" reports parens of returned functionKT-23686 "Add missing actual members" should not add primary actual constructor if it's present as secondary oneKT-23697 Android project with 'org.jetbrains.kotlin.platform.android' plugin: all multiplatform IDE features are absentKT-23752 False positive "Remove variable" quick fix on property has lambda or anonymous function initializerKT-23762 Add missing actual members quick fix adds actual declaration for val/var again if it was in the primary constructorKT-23788 Can't convert long char literal to string if it starts with backslashKT-23860 Import quick fix is not available in class constructor containing transitive dependency parametersKT-24349 False positive "Call on collection type may be reduced"KT-24374 "Class member can have private visibility" inspection reports expect membersKT-24422 Android Studio erroneously reporting that @Inject lateinit var can be made privateKT-24423 False inspection warning "redundant type checks for object"KT-24425 wrong hint remove redundant CompanionKT-24537 False positive property can be private on actual properties in a multiplatform projectKT-24557 False warning "Remove redundant call" for nullable.toStringKT-24562 actual extension function implementation warns Receiver type unusedKT-24632 Quick fix to add getter and setter shouldn't use field when it is not allowedKT-24816 Inspection: Sealed subclass can be object shouldn't be reported on classes with stateKT-5948 JS: project shouldn't have "Java file" in new item menuKT-23722 MPP: Run tests from common modules should recompile correspond JVM implementation moduleKT-24159 MPP: Show Kotlin Bytecode does not work for common codeKT-24839 freeCompilerArgs are not imported into Kotlin facet of Android module in IDEAKT-11477 Kotlin searchers consume CPU in a project without any Kotlin filesKT-17512 Finding usages of actual declarations in common modulesKT-20825 Header icon on actual class is lost on new line addingKT-21011 Difference in information shown for "Is subclassed by" gutter on mouse hovering and clickingKT-21113 Expected gutter icon on companion object is unstableKT-21710 Override gutter markers are missing for types in sources jarKT-22177 Double "A" icon for an expect class with constructorKT-23685 Navigation from expect part to actual with ctrl+alt+B shortcut should provide a choice to what actual part to goKT-24812 Search suggestion text overlaps for long namesKT-15159 Introduce typealias: Incorrect applying of a typealias in constructor calls in val/var and AssertionErrorKT-15351 Extract Superclass/Interface: existent target file name is rejected; TCE: "null cannot be cast to non-null type org.jetbrains.kotlin.psi.KtFile" at ExtractSuperRefactoring.createClass()KT-16281 Extract Interface: private member with Make Abstract = Yes produces incompilable codeKT-16284 Extract Interface/Superclass: reference to private member turns incompilable, when referring element is made abstractKT-17235 Introduce Parameter leaks listener if refactoring is cancelled while in progressKT-17742 Refactor / Rename Java getter to get() does not update Kotlin referencesKT-18555 Refactor / Extract Interface, Superclass: Throwable: "Refactorings should be invoked inside transaction" at RefactoringDialog.show()KT-18736 Extract interface: import for property type is omittedKT-20260 AE “Unexpected container” on calling Refactor → Move for class in Kotlin scriptKT-20465 "Introduce variable" in build.gradle.kts creates a variable with no template to change its nameKT-20467 Refactor → Extract Function: CCE “KtNamedFunction cannot be cast to KtClassOrObject” on calling refactoring for constructorKT-20469 NDFDE “Descriptor wasn't found for declaration VALUE_PARAMETER” on calling Refactor → Extract Function on constructor argumentKT-22931 Converting a scoping function with receiver into one with parameter may change the semanticsKT-23983 Extract function: Reified type parameters are not extracted properlyKT-24460 Rename refactoring does not update super callKT-24574 Changing Java constructor signature from Kotlin usage is totally brokenKT-24712 Extract Function Parameter misses 'suspend' for lambda typeKT-24763 "Change signature" refactoring breaks Kotlin codeKT-24968 Type hints disappear after "Copy" refactoringKT-24992 The IDE got stuck showing a modal dialog (kotlin refactoring) and doesn’t react to any actionsKT-25373 Deadlock in idea pluginKT-18319 Gradle: Run tests action does not work when test name contains spacesKT-22306 Empty gutter menu for main() and test methods in Kotlin/JS projectKT-23672 JUnit test runner is unaware of @kotlin.test.Test tests when used in common multiplatform module, even if looked from JVM multiplatform moduleKT-25253 No “run” gutter icons for tests in Kotlin/JS projectKT-22376 JS: TranslationRuntimeException on 'for (x in ("a"))'KT-23458 ClassCastException when compiling when statements to JSKT-24204 Empty progression last value overflows resulting in progression being non-emptyKT-25351 TestNGAsserter needs to swap expected/actualKT-16616 KotlinReflectionInternalError: Reflection on built-in Kotlin types is not yet fully supported in getMembersOfStandardJavaClasses.ktKT-17542 KotlinReflectionInternalError on ::values of enum classKT-20442 ReflectJvmMapping.getJavaConstructor() fails with Call is not yet supported for anonymous classKT-21973 Method.kotlinFunction for top level extension function returns null when app is started from test sourcesKT-22048 Reflection explodes when attempting to get constructors of an enum with overridden methodKT-22576 Parcelable: Allow Parcelize to work with object and enum typesKT-24459 @IgnoredOnParcel annotation doesn't work for @ParcelizeKT-24720 Parcelable: java.lang.LinkageErrorKT-23808 Array<Int> in @Parcelize class generates an java.lang.VerifyErrorKT-18621 org.jetbrains.kotlin.incremental.fileUtils.kt conflicts when compiler and gradle plugin in classpathKT-24497 Externalized all-open plugin is not applied to a projectKT-24559 Multiple Kotlin daemon instances are started when building MPP with GradleKT-24560 Multiple Kotlin daemon instances are started when Gradle parallel build is usedKT-24653 Kotlin plugins don't work when classpath dependency is not declared in current or root projectKT-24675 Use Gradle dependency resolution to get compiler classpathKT-24676 Use Gradle dependency resolution to form compiler plugin classpathKT-24946 ISE: "The provided plugin org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar is not compatible with this version of compiler" when build simple Gradle with Zulu JDKKT-25051 Change in "kotlin-android" project w/o package parts causes non-incremental compilation of dependent modulesKT-9945 converting java to kotlin confuses gitKT-19957 Support incremental compilation to JS in JPSKT-22611 Support compiling scripts in JPSKT-23558 JPS: Support multiplatform projectsKT-23757 JPS: Incremental multiplatform projects compilationKT-24936 Don't use internal terms in compiler progress messagesKT-25218 Build fails as Javac doesn't see Kotlin classesKT-24926 NoSuchElementException in TemplateAnnotationVisitor when upgrading the Gradle Kotlin DSL to Kotlin 1.2.50KT-24313 Unable to use KAPT when dependency to it is added to buildSrcKT-24449 'kapt.kotlin.generated' is not marked as source root in Android Studio 3.1 and 3.2KT-24538 Kapt performs Kotlin compilation when annotation processors are not configuredKT-24919 Caused by: org.gradle.api.InvalidUserDataException: 'projectDir' is not a fileKT-24963 gradle kapt plugin's assumption on build dir causing duplicate class errorKT-24985 Kapt: Allow to disable info->warning mapping in loggerKT-25071 kapt sometimes emits java stubs with imports that should be static importsKT-25131 Kapt should not load annotation processors when generating stubs`KT-23943` Wrong autoboxing for non-null inline class inside elvis with null constant
KT-23943 Wrong autoboxing for non-null inline class inside elvis with null constantKT-24952 EnumConstantNotPresentExceptionProxy from Java reflection on annotation class with target TYPE on JVM < 8KT-24986 Android project release build with ProGuard enabled crashes with IllegalAccessError: Final field cannot be written to by methodKT-24944 Exception from stubs: "Unknown type parameter with id = 1" (EA-120997)KT-23962 MalformedParameterizedTypeException when reflecting GeneratedMessageLite.ExtendableMessageKT-24956 Kotlin Gradle plugin's inspectClassesForKotlinIC task for the new 1.2.50 release takes incredibly longKT-23866 Kapt plugin should pass arguments from compiler argument providers to annotation processorsKT-24716 1.2.50 emits warning "Classpath entry points to a non-existent location:"KT-24832 Inter-project IC does not work when "kotlin-android" project depends on "kotlin" projectKT-24938 Gradle parallel execution fails on multi-module Gradle ProjectKT-25027 Kapt plugin: Kapt and KaptGenerateStubs tasks have some incorrect inputsKT-24926 NoSuchElementException in TemplateAnnotationVisitor when upgrading the Gradle Kotlin DSL to Kotlin 1.2.50`KT-24165` @Deprecated ReplaceWith Constant gets replaced with nothing
KT-23360 Do not serialize annotations with retention SOURCE to metadataKT-24278 Hard-code to kotlin compiler annotation for android library migrationKT-24472 Support argfiles in kotlinc with -XargfileKT-24593 Support -XXLanguage:{+|-}LanguageFeature compiler arguments to enable/disable specific featuresKT-24637 Introduce "progressive" mode of compilerKT-23094 JS compiler: Delegation fails to pass the continuation parameter to child suspend functionKT-23582 JS: Fails to inline, produces bad codeKT-24335 JS: Invalid implement of external interfaceKT-12330 Slightly improve generated bytecode for data class equals/hashCode methodsKT-18576 Debugger fails to show decomposed suspend lambda parametersKT-22063 Add intrinsics for javaObjectType and javaPrimitiveTypeKT-23402 Internal error: Couldn't inline method call because the compiler couldn't obtain compiled body for inline function with reified type parameterKT-23704 Unstable checkExpressionValueIsNotNull() generation in bytecodeKT-23707 Unstable bridge generation orderKT-23857 Annotation with target TYPE is not applicable to TYPE_USE in Java sourcesKT-23910 @JvmOverloads doesn't work with default arguments in common codeKT-24427 Protected function having toArray-like signature from collection becomes public in bytecodeKT-24661 Support binary compatibility mode for @JvmDefaultKT-21129 Unused parameter in property setter is not reportedKT-21157 Kotlin script: engine can take forever to eval certain code after several timesKT-22740 REPL slows down during extensions compilingKT-23124 Kotlin multiplatform project causes IntelliJ build errorsKT-23209 Compiler throwing frontend exceptionKT-23589 Report a warning on local annotation classesKT-23760 Unable to implement common interface with fun member function with typealiased parameterKT-23244 Option to Disable View Binding generation in Kotlin Android Extensions PluginKT-8407 TestNG: running tests from context creates new run configuration every timeKT-9218 Searching for compilable files takes too longKT-15019 Editor: args reference in .kts file is redKT-18769 Expand Selection on opening curly brace should select the entire block right awayKT-19055 Idea hangs on copy-paste big Kotlin filesKT-20605 Unresolved reference on instance from common module functionKT-20824 Type mismatch for common function taking a non-mapped Kotlin's expected class from stdlib-common, with actual typealias on JVMKT-20897 Can't navigate to declaration after PsiInvalidElementAccessException exceptionKT-22527 Kotlin UAST does not evaluate values inside delegation expressionsKT-22868 Implementing an expected class declaration using actual typealias produces "good code that is red"KT-22922 Override Members should add experimental annotation when requiredKT-23384 Hotspot in org.jetbrains.kotlin.idea.caches.resolve.IDELightClassGenerationSupport.getKotlinInternalClasses(FqName, GlobalSearchScope) IDELightClassGenerationSupport.kt ?KT-23408 Don't render @NonNull and @Nullable annotations in parameter info for Java methodsKT-23557 Expression Bodies should have implicit return in UastKT-23745 Unable to implement common interfaceKT-23746 Logger$EmptyThrowable "[kts] cannot find a valid script definition annotation on the class class ScriptTemplateWithArgs" with LivePlugin enabledKT-23975 Move Kotlin internal actions under Idea Internal actions menuKT-24268 Other main menu itemKT-24438 ISE “The provided plugin org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar is not compatible with this version of compiler” after rebuilding simple Gradle-based project via JPS.KT-10935 Add menu entry to create new kotlin .kts scriptsKT-20511 Library added from maven (using IDEA UI) is not detected as Kotlin/JS library (since type="repository")KT-20665 Kotlin Gradle script created by New Project/Module wizard fails with Gradle 4.1+KT-21844 Create Kotlin class dialog: make class abstract automaticallyKT-22305 Language and API versions of Kotlin compiler are “Latest” by default in some ways of creating new projectKT-23261 New MPP design: please show popup with error message if module name is not setKT-23638 Kotlin plugin breaks project opening for PhpStorm/WebStormKT-23658 Unclear options “Gradle” and “Gradle (Javascript)” on configuring Kotlin in Gradle- and Maven-based projectsKT-23845 IntelliJ Maven Plugin does not pass javaParameters option to Kotlin facetKT-23980 Move "Update Channel" from "Configure Kotlin Plugin Updates" to settingsKT-24504 Existent JPS-based Kotlin/JS module is converted to new format, while New Project wizard and facet manipulations still create old formatKT-23886 Both java and kotlin breakpoints in kotlin filesKT-24136 Debugger: update drop-down menu for the line with lambdasKT-2582 When user inputs triple quote, add matching triple quote automaticallyKT-5206 Long lists of arguments are not foldableKT-23457 Auto-import and Import quick fix do not suggest classes from common module [Common test can't find class with word Abstract in name.]KT-23235 Super slow editing with auto imports enabledKT-23234 Test names for tests containing inner classes are sporadically reported to teamcity runs.KT-23383 Optional plugin dependency for kotlin gradle plugin 'java' subsystem dependent featuresKT-22588 Resolver for 'project source roots and libraries for platform JVM' does not know how to resolve on Gradle Kotlin DSL project without Java and KotlinKT-23616 Synchronize script dependencies not at Gradle SyncKT-24444 Do not store proxy objects from Gradle importer in the project modelKT-24586 MVNFE “Cannot resolve external dependency org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.41 because no repositories are defined.” on creating Gradle project with Kotlin only (probably due to lack of repositories block)KT-24671 dependencies missed in buildscript block after creating new Gradle-based project in 173 IDEAKT-7822 Convert foreach to for loop should place caret on the variable declarationKT-9943 Quick fix/Intention to indent a raw stringKT-15063 Inspection for coroutine: unused Deferred resultKT-16085 Inspection "main should return Unit"KT-20305 Inspection: Refactor sealed sub-class to objectKT-21413 Missing inspection: parentheses can be deleted when the only constructor parameter is a function not existingKT-23137 Intention for converting to block comment and vise versaKT-23266 Add intention(s) to put arguments / parameters on one lineKT-23419 Intention to replace vararg with array and vice versaKT-23617 Add inspection: redundant internal in local anonymous object / classKT-23775 IntelliJ plugin: improve "accessor call that can be replaced with property"KT-24235 Inspection to replace async.await with withContextKT-24263 Add Make variable immutable quickfix for constKT-24433 Inspection for coroutines: unused async resultKT-23566 "Can be private" works on ResolutionResultsCache.kt (from Kotlin project) enormously slowKT-6364 Incorrect quick-fixes are suggested for nullable extension function callKT-11156 Incorrect highlighting for nested class in "Redundant SAM-constructor" inspectionKT-11427 "Replace if with when" does not take break / continue into accountKT-11740 Invert if condition intention should not remove line breaksKT-12042 "Merge with next when" is not applicable when the statements delimited by semicolon or commentKT-12168 "Remove explicit type specification" intention produce incompilable code in case of function typeKT-14391 RemoveUnnecessaryParenthesesIntention lost comment on closing parenthesisKT-14556 Quickfix to suggest use of spread operator does not work with mapOfKT-15195 Redundant parentheses shouldn't be reported if lambda is not on the same lineKT-16770 Change type of function quickfix does not propose most idiomatic solutionsKT-19629 "Convert to primary constructor" quick fix should not move init{...} section downKT-20123 Kotlin Gradle script: “Refactoring cannot be performed. Cannot modify build.gradle.kts” for some refactorings and intentionsKT-20332 Unused property declaration suppression by annotation doesn't work if annotation is targeted to getterKT-21878 "arrayOf() call can be replaced by array litteral [...]" quick fix inserts extra parenthesesKT-22092 Intention "Specify return type explicitly": Propose types from overriden declarationsKT-22615 "Replace with" intention does not work for equal namesKT-22632 Gutter icon "go to actual declaration" is absent for enum values on actual sideKT-22741 Wrong suggestion for Replace 'if' expression with elvis expressionKT-22831 Inspection for converting to elvis operator does not work for local varsKT-22860 "Add annotation target" quick fix does not take into account existent annotations in Java sourceKT-22918 Create interface quickfix is missing 'current class' containerKT-23133 "Remove redundant calls of the conversion method" wrongly shown for Boolan to Int conversionKT-23167 Report "use expression body" also on left braceKT-23194 Inspection "map.put() should be converted to assignment" leads to red code in case of labled returnKT-23303 "Might be const" inspection does not check explicit type specificationKT-23320 Quick fix to add constructor invocation doesn't work for sealed classesKT-23321 Intention to move type to separate file shouldn't be available for sealed classesKT-23346 Lift Assignment quick fix incorrectly processes block assignmentsKT-23377 Simplify boolean expression produces incorrect results when mixing nullable and non-nullable variablesKT-23465 False positive suspicious callable reference on lambda invoke with parametersKT-23511 "Remove parameter" quick fix makes generic function call incompilable when type could be inferred from removed parameter onlyKT-23513 "Remove parameter" quick fix makes caret jump to the top of the editorKT-23559 Wrong hint text for "assignment can be replaced with operator assignment"KT-23608 AE “Failed to create expression from text” after applying quick fix “Convert too long character literal to string”KT-23620 False positive Redundant Companion reference on calling object from companionKT-23634 'Add use-site target' intention drops annotation argumentsKT-23753 "Remove variable" quick fix should not remove commentKT-23756 Bogus "Might be const" warning in object expressionKT-23778 "Convert function to property" intention shows broken warningKT-23796 "Create extension function/property" quick fix suggests one for nullable type while creates for not-nullKT-23801 "Convert to constructor" (IntelliJ) quick fix uses wrong use-site target for annotating propertiesKT-23977 wrong hint Unit redundantKT-24066 'Remove redundant Unit' false positive when Unit is returned as AnyKT-24165 @Deprecated ReplaceWith Constant gets replaced with nothingKT-24207 Add parameter intent/red bulb should use auto casted type.KT-24215 ReplaceWith produces broken code for lambda following default parameterKT-20406 Overload resolution ambiguity in IDE on expect class / actual typealias from kotlin-stdlib-common / kotlin-stdlibKT-24316 Missing dependencies in Kotlin MPP when using gradle composite buildsKT-7622 Searching usages of a field/constructor parameter in a private class seems to scan through the whole projectKT-23182 Find Usages checks whether there are unused variables in functions which contain search result candidatesKT-23223 Navigate to actual declaration from actual usageKT-12078 Introduce Variable adds explicit type when invoked on anonymous objectKT-15517 Change signature refactoring shows confusing warning dialogKT-22387 Change signature reports "Type cannot be resolved" for class from different packageKT-22669 Refactor / Copy Kotlin source to plain text causes CCE: "PsiPlainTextFileImpl cannot be cast to KtFile" at CopyKotlinDeclarationsHandler$doCopy$2$1$1.invoke()KT-22888 Rename completion cuts off all characters except letters from existent nameKT-23298 AE: "2 declarations in null..." on rename of a field to object or classKT-23563 null by org.jetbrains.kotlin.idea.refactoring.rename.KotlinMemberInplaceRenameHandler$RenamerImpl exception on trying in-place Rename of non-scratch functionsKT-23613 Kotlin safe delete processor handles java code when it should notKT-23644 Named parameters in generated Kotlin AnnotationsKT-23714 Add Parameter quickfix not working when the called method is in java.KT-23838 Do not search for usages in other files when renaming local variableKT-24069 'Create from usage' doesn't use type info with smart castsKT-6928 Support Kotlin scratch filesKT-23441 Scratch options reset on IDE restartKT-23480 java.util.NoSuchElementException: "Collection contains no element matching the predicate" on run of a scratch file with unresolved function parameterKT-23587 Scratch: references from scratch file aren't taken into accountKT-24016 Make long scratch output lines readableKT-24315 Checkbox labels aren't aligned in scratch panelKT-24636 Run Scratch when there are compilation errors in moduleKT-22989 Exception "Assertion failed: Refactorings should be invoked inside transaction" on creating UI Component/NotificationKT-10456 Common Int.toString(radix: Int) methodKT-22298 Improve docs for Array.copyOf(newSize: Int)KT-22400 coroutineContext shall be in kotlin.coroutines.experimental packageKT-23356 Cross-platform function to convert CharArray slice to StringKT-23920 CharSequence.trimEnd calls substring instead of subSequenceKT-24353 Add support for junit 5 in kotlin.testKT-24371 Invalid @returns tag does not display in Android Studio popup properlyKT-20214 NoClassDefFound from Gradle (should report missing tools.jar)KT-20608 Cannot reference operator overloads across submodules (.kotlin_module not loaded when a module name has a slash)KT-22431 Inter-project incremental compilation does not work with Android plugin 2.3+KT-22510 Common sources aren't added when compiling custom source set with Gradle multiplatform pluginKT-22623 Kotlin JVM tasks in independent projects are not executed in parallel with Gradle 4.2+ and Kotlin 1.2.20+KT-23092 Gradle plugin for MPP common modules should not remove the 'compileJava' task from project.tasksKT-23574 'archivesBaseName' does not affect module name in common modulesKT-23719 Incorrect Gradle Warning for expectedBy in kotlin-platform-android moduleKT-23878 Kapt: Annotation processors are run when formatting is changedKT-24420 Kapt plugin: Kapt task has overlapping outputs (and inputs) with Gradle's JavaCompile taskKT-24440 Gradle daemon OOM due to function descriptors stuck foreverKT-23286 kapt + nonascii = weird pathesKT-23427 kapt: for element with multiple annotations, annotation values erroneously use default when first annotation uses defaultKT-23721 Warning informing user that 'tools.jar' is absent in the plugin classpath is not show when there is also an errorKT-23898 Kapt: Do now show a warning for APs from 'annotationProcessor' configuration also declared in 'kapt' configurationKT-23964 Kotlin Gradle plugin does not define inputs and outputs of annotation processors`KT-23901` Incremental compilation fails on Java 9
KT-23901 Incremental compilation fails on Java 9KT-23931 Exception on optimizing eternal loopsKT-23900 Exception on some cases with nested arraysKT-23809 Exception on processing complex hierarchies with suspend functions when -Xdump-declarations-to is activeKT-23973 New compiler behavior lead to ambiguous mappings in Spring Boot temporarily reverted`KT-22703` Allow expect/actual annotation constructors to have default values
KT-22703 Allow expect/actual annotation constructors to have default valuesKT-19159 Support crossinline lambda parameters of suspend function typeKT-21913 Support default arguments for expected declarationsKT-19120 Provide extra compiler arguments in ScriptTemplateDefinitionKT-19415 Introduce @JvmDefault annotationKT-21515 Restrict visibility of classifiers inside companion objectsKT-10057 Use lcmp instruction instead of kotlin/jvm/internal/Intrinsics.compareKT-14258 Suboptimal codegen for private fieldaccess to private field in companion objectKT-18731 == between enums should use reference equality, not Intrinsics.areEqual().KT-22714 Unnecessary checkcast to array of object from an array of specific typeKT-5177 Optimize code generation for for loop with withIndex()KT-19477 Allow to implement several common modules with a single platform moduleKT-21347 Add compiler warning about using kotlin-stdlib-jre7 or kotlin-stdlib-jre8 artifactsKT-16424 Broken bytecode for nullable generic methodsKT-17171 ClassCastException in case of SAM conversion with out varianceKT-19399 Incorrect bytecode generated for inline functions in some complex casesKT-21696 Incorrect warning for use-site target on extension functionKT-22031 Non-abstract expect classes should not have abstract membersKT-22260 Never flag inline suspend fun with NOTHING_TO_INLINEKT-22352 Expect/actual checker can't handle properties and functions with the same nameKT-22652 Interface with default overrides is not perceived as a SAMKT-22904 Incorrect bytecode generated for withIndex iteration on Array<Int>KT-22906 Invalid class name generated for lambda created from method reference in anonymous objectKT-23044 Overriden public property with internal setter cannot be found in runtimeKT-23104 Incorrect code generated for LHS of an intrinsified in operator in case of generic type substituted with CharacterKT-23309 Minor spelling errors in JVM internal error messagesKT-22001 JS: compiler crashes on += with "complex" receiverKT-23239 JS: Default arguments for non-final member function support is missing for MPPKT-17091 Converting to SAM Java type appends non-deterministic hash to class nameKT-21521 Compilation exception when trying to compile a suspend function with tailrec keywordKT-21605 Cross-inlined coroutine with captured outer receiver creates unverifiable codeKT-21864 Expect-actual matcher doesn't consider generic upper boundsKT-21906 ACTUAL_MISSING is reported for actual constructor of non-actual classKT-21939 Improve ACTUAL_MISSING diagnostics messageKT-22513 Flaky "JarURLConnection.getUseCaches" NPE during compilation when using compiler pluginsKT-11208 readLine() shouldn't use buffered readerKT-10368 Run Action for Kotlin Scratch FilesKT-16892 Shortcut to navigate between header and implKT-23005 Support prefix/suffix attributes for language injection in Kotlin with annotations and commentsKT-19484 KotlinBinaryClassCache retains a lot of memoryKT-23183 ConfigureKotlinNotification.getNotificationString() scans modules with Kotlin files twiceKT-23380 Improve IDE performance when working with Spring projectsKT-15482 KotlinNullPointerException in IDE from expected class with nested classKT-15739 Internal visibility across common and platform-dependent modulesKT-19025 Not imported build.gradle.kts is all redKT-19165 IntelliJ should suggest to reload Gradle projects when build.gradle.kts changesKT-20282 'Move statement up' works incorrectly for statement after finally block if try block contains closureKT-20521 Kotlin Gradle script: valid build.gradle.kts is red and becomes normal only after reopening the projectKT-20592 KotlinNullPointerException: nested class inside expect / actual interfaceKT-21013 "Move statement up/down" fails for multiline declarationsKT-21420 .gradle.kts editor should do no semantic highlighting until the first successful dependency resolver responseKT-21683 Language injection: JPAQL. Injection should be present for "query" parameter of @NamedNativeQueriesKT-21745 Warning and quickfix about kotlin-stdlib-jre7/8 -> kotlin-stdlib-jdk7/8 in MavenKT-21746 Warning and quickfix about kotlin-stdlib-jre7/8 -> kotlin-stdlib-jdk7/8 in GradleKT-21753 Language injection: SpEL. Not injected for key in @CachingKT-21771 All annotations in Annotations.kt from kotlin-test-js module wrongly have ACTUAL_MISSINGKT-21831 Opening class from kotlin-stdlib-jdk8.jar fails with EE: "Stub list in ... length differs from PSI"KT-22229 Kotlin local delegated property Import auto-removed with "Java: Optimize imports on the fly"KT-22724 ISE: "psiFile must not be null" at KotlinNodeJsRunConfigurationProducer.setupConfigurationFromContext()KT-22817 Hitting 'Propagate Parameters' in Change Signature throws UnsupportedOperationExceptionKT-22851 Apply button is always active on Kotlin compiler settings tabKT-22858 Multiplatform: String constructor parameter is reported in Java file of jvm module on creation of a new instance of a class from common moduleKT-22865 Support multiple expectedBy dependencies when importing project from Gradle or MavenKT-22873 Common module-based light classes do not see JDKKT-22874 Exception on surround with "if else" when resulting if should be wrapped with ()KT-22925 Unable to view Type Hierarchy from constructor call in expressionKT-22926 Confusing behavior of Type Hierarchy depending on the caret position at superclass constructorKT-23097 Enhance multiplatform project wizardKT-23271 Warn about using kotlin-stdlib-jre* libs in dependencyManagement section in Maven with eap and dev Kotlin versionsKT-20672 IDE can't resolve references to elements from files with @JvmPackageNameKT-23546 Variable name auto-completion popup gets in the wayKT-23546 Do not show duplicated names in variables completion listKT-19120 Use script compiler options on script dependencies in the IDE as wellKT-23228 Do not highlight .gradle.kts files in non-Gradle projectsKT-16382 Intention to convert expr.unsafeCast<Type>() to expr as Type and vice versaKT-20439 Intentions to add/remove labeled return to last expression in a lambdaKT-22011 Inspection to report the usage of Java Collections methods on immutable Kotlin CollectionsKT-22933 Intention/inspection to convert Pair constructor to to functionKT-19871 Intentions for specifying use-site targets for an annotationKT-22971 Inspection to highlight and remove unnecessary explicit companion object referencesKT-12226 "Convert concatenation to template" does not process $ sign as a CharKT-15858 "Replace with a foreach function call" intention breaks codeKT-16332 Add braces to 'if' statement intention does not put end-of-line comment properly into bracesKT-17058 "Create implementations from headers": each implementation gets own fileKT-17306 Don't report package name mismatch if there's no Java code in the moduleKT-19730 Quickfix for delegated properties boilerplate generation doesn't work on localsKT-21005 "Missing KDoc inspection" is brokenKT-21082 "Create actual declaration" of top-level subclass of expected sealed class in the same file as actual declaration of sealed class presentKT-22110 "Can be joined with assignment" inspection underlining extends into commentKT-22329 "Create class" quickfix is not suggested in when branchKT-22428 Create member function from usage shouldn't present type parameters as optionsKT-22492 "Specify explicit lambda signature" intention is available only on lambda bracesKT-22719 Incorrect warning 'Redundant semicolon' when having method call before lambda expressionKT-22861 "Add annotation target" quickfix is not available on annotation with use site targetKT-22862 "Add annotation target" quickfix does not process existent annotations with use site targetKT-22917 Update order of containers for create class quickfixKT-22949 NPE on conversion of run/apply with explicit lambda signature to let/alsoKT-22950 Convert stdlib extension function to scoping function works incorrectly in case of explicit lambda signatureKT-22954 "Sort modifiers" quickfix works incorrectly when method is annotatedKT-22970 Add explicit this intention/inspection missing for lambda invocationKT-23109 "Remove redundant 'if' statement" inspection breaks code with labeled returnKT-23215 "Add function to supertype" quickfix works incorrectlyKT-14270 Intentions "Add/Remove braces" should be applied to the statement where caret is if there several nested statements one into anotherKT-21743 Method reference not correctly moved into parenthesesKT-23045 AE “Failed to create expression from text” on concatenating string with broken quote mark char literalKT-23046 CCE ”KtBinaryExpression cannot be cast to KtStringTemplateExpression” on concatenating broken quote mark char literal with stringKT-23227 "Add annotation target" quickfix is not suggested for field: use-site targetKT-13255 Refactor / Rename: renaming local variable or class to existing name gives no warningKT-13284 Refactor / Rename: superfluous imports and FQNs in Java using @JvmOverloads functionsKT-13907 Rename refactoring warns about name conflict if there is function with different signature but the same nameKT-13986 Full qualified names of classes in comments should be changed after class Move, if comment contains backquotesKT-14671 typealias: refactor/rename should propose to rename occurrences in commentsKT-15039 Extra usage is found for a parameter in data class in destructuring constructionKT-15228 Extract function from inline function should create public functionKT-15302 Reference to typealias in SAM conversion is not foundKT-16510 Can't rename quoted identifier isKT-17827 Refactor / Move corrupts bound references when containing class of member element is changedKT-19561 Name conflict warning when renaming method to a name matching an extension method with the same name existsKT-20178 Refactor → Rename can't make companion object name emptyKT-22282 Moving a Kotlin file to another package does not change imports in itselfKT-22482 Rename refactoring insert qualifier for non related property callKT-22661 Refactor/Move: top level field reference is not imported automatically after move to the source rootKT-22678 Refactor / Copy: "Class uses constructor which will be inaccessible after move" when derived class has a protected constructorKT-22692 Refactor/Move: unnecessary curly braces added on moving to a separate file a top level function with a top level field usageKT-22745 Refactor/Move inserts FQ function name at the call site if there is a field same named as the functionKT-22747 Moving top-level function to a different (existing) file doesn't update references from JavaKT-22751 Refactor/Rename: type alias name clash is not reportedKT-22769 Refactor/Move: there is no warning on moving sealed class or its inheritors to another fileKT-22771 Refactor/Move: there is no warning on moving nested class to another class with stricter visibilityKT-22812 Refactor/Rename extension functions incorrectly conflicts with other extension functionsKT-23065 Refactor/Move: Specify the warning message on moving sealed class inheritors without moving the sealed class itselfKT-22647 Run script Action in IDE should use Kotlin compiler from the IDE pluginKT-18930 IDEA is unstable With Gradle Kotlin DSLKT-21042 Gradle Script Kotlin project is full-redKT-11618 Running .kts file from IntelliJ IDEA doesn't allow to import classes in other files which are also part of the projectKT-22205 Breakpoints won't work for Kotlin testing with JUnitKT-22019 Fix wrong list sorting orderKT-22777 Unstable language version setting has no effect when attached runtime has lower versionKT-22824 expectedBy dependency should be expressed as compile dependency in POMKT-15371 Multiplatform: setting free compiler args can break buildKT-22864 Allow multiple expectedBy configuration dependencies in GradleKT-22895 'kotlin-runtime' library is missing in the compiler classpath sometimesKT-23085 Use proper names for the Gradle task inputs/outputs added at runtimeKT-23694 Fix parallel build in Kotlin IC – invalid KotlinCoreEnvironment disposalKT-20516 "Unresolved reference" when project declares same class as its dependencyKT-22542 "Source file or directory not found" for incremental compilation with KobaltKT-23165 Incremental compilation is sometimes broken after moving one classKT-16091 Incremental compilation ignores changes in Java static fieldKT-22995 EA-91869 - NA: LookupStorage.<init>KT-21735 Kapt cache was not cleared sometimesKT-21611 REPL: Empty lines should be ignoredSupport nullability annotations in androidx package
androidx packageKT-22804 "Remove redundant backticks" inspection reports all names and quick fix fails for non-applicable namesKT-23192 Issue with experimental mode in Android Extensions and Android Gradle plugin 3.2.0-alpha05KT-22205 Hitting breakpoints in Kotlin sometimes doesn't work`KT-22711` Deprecate original kapt (aka kapt1)
KT-19300 [AS3.0] Android extensions, Parcelable: editor shows warning about incomplete implementation on a class with Parcelize annotationKT-22168 "Kotlin Android | Illegal Android Identifier" inspection reports non-instrumentation unit testsKT-22700 Android Extensions bind views with dot in IDKT-17336 Introduce suspendCoroutineUninterceptedOrReturn coroutine intrinsic functionKT-22766 Imitate "suspend" modifier in 1.2.x by stdlib functionKT-5177 Optimize code generation for 'for' loop with withIndex()KT-16880 Smarter detection of tail-suspending unit invocationsKT-10494 IAE in CheckMethodAdapter.checkInternalName when declaring classes inside method with non-standard nameKT-16079 Internal error when using suspend operator plusKT-17091 Converting to SAM Java type appends non-deterministic hash to class nameKT-18522 Internal compiler error with IndexOutOfBoundsException, "Exception while analyzing expression"KT-18578 Compilation failure with @JsonInclude and default interface methodKT-19786 Kotlin — unable to override a Java function with @Nullable vararg argumentKT-20466 JSR305 false positive for elvis operatorKT-20705 Tail suspend call optimization doesn't work in when blockKT-20708 Tail suspend call optiomization doesn't work in some branchesKT-20855 Unnecessary safe-call reported on nullable typeKT-21165 Exception from suspending function is not caughtKT-21238 Nonsensical warning "Expected type does not accept nulls in Java, but the value may be null in Kotlin"KT-21258 Raw backing field value exposed via accessors?KT-21303 Running on JDK-10-ea-31 leads to ArrayIndexOutOfBoundsExceptionKT-21642 Back-end (JVM) Internal error: Couldn't transform method node on using open keyword with suspend for a top-level functionKT-21759 Compiler crashes on two subsequent return statements in suspend functionKT-22029 Fold list to pair with destructuring assignment and inner when results in ExceptionKT-22345 OOM in ReturnUnitMethodReplacerKT-22410 invalid compiler optimization for nullable cast to reified typeKT-22577 Compiler crashes when coroutineContext is used inside of inlined lambdaKT-8352 Pasting Kotlin code into package could create .kt fileKT-16710 Run configuration to run main() as a Node CLI appKT-16833 Allow mixing Java and Kotlin code in "Analyze Data Flow..."KT-21531 JS: add support for running specific test from the gutter icon with Jest testing frameworkKT-7316 Go to declaration in Kotlin JavaScript project navigates to JDK source in some casesKT-8563 Refactor / Rename inserts line breaks without reasonKT-11467 Editor: var property in primary constructor is shown not underscored, same as valKT-13509 Don't show run line markers for top-level functions annotated with @TestKT-13971 Kotlin Bytecode tool window: Decompile is available for incompilable code, CE at MemberCodegen.genFunctionOrProperty()KT-15000 Do not spell check overridden declaration namesKT-15331 "Kotlin not configured" notification always shown for common module in multiplatform projectKT-16333 Cannot navigate to super declaration via shortcutKT-16976 Introduce special SDK for Kotlin JS projects to avoid using JDKKT-18445 multiplatform project: provide more comfortable way to process cases when there are missed method implemenation in the implementation classKT-19194 Some Live Templates should probably be enabled also for "expressions" not only "statements"KT-20281 multiplatform:Unresolved service JavaDescriptorResolver on a file with several header declarations and gutters not shownKT-20470 IntelliJ indent guide/invisible brace matching hint tooltip doesn't show contextKT-20522 Add "Build" action in "Before launch" block when create new JS run configuration (for test)KT-20915 Add quickfix for ‘Implicit (unsafe) cast from dynamic type’KT-20971 Cannot navigate to sources of compiled common dependencyKT-21115 Incomplete actual class should still have navigation icon to expect classKT-21688 UIdentifier violates JvmDeclarationElement contractKT-21874 Unexpected IDE error "Unknown type [typealias ...]"KT-21958 Support "Alternative source available" for Kotlin filesKT-21994 Collapsed comments containing * get removed in the summary line.KT-22179 For properties overridden in object literals, navigation to inherited properties is missing indication of a type they are overriddenKT-22214 Front-end Internal error: Failed to analyze declarationKT-22230 Reformatting code to Kotlin style indents top-level typealiases with commentsKT-22242 Semantic highlighting uses different colors for the same 'it' variable and same color for different 'it'sKT-22301 Don't require space after label for lambdaKT-22346 Incorrect indentation for chained context extension functions (lambdas) when using Kotlin style guideKT-22356 Update status of inspection "Kotlin JVM compiler configured but no stdlib dependency" after pom file update, not on re-importKT-22360 MPP: with "Create separate module per source set" = No expectedBy dependency is imported not transitivelyKT-22374 "Join lines" works incorrectly in case of line containing more than one string literalKT-22473 Regression in IntelliJ Kotlin Plugin 1.2.20, settings.gradle.kts script template is wrongKT-22508 Auto-formatting should insert an indentation for default parameter valuesKT-22557 Dead 'Apply' button, when setting code styleKT-22565 Cant do PsiAnchor.create on annotation in annotationKT-22570 Can't add import in "Packages to Use Import with '*'" section on "Import" tab in Code Style -> KotlinKT-22641 Auto-formatting adds extra indent to a closing square bracket on a separate lineKT-22734 LinkageError: "loader constraint violation: when resolving method PsiTreeUtilKt.parentOfType()" at KotlinConverter.convertPsiElement$uast_kotlin()KT-20351 Stepping over a line with two inline stdlib functions steps into the second functionKT-21312 Confusing Kotlin (JavaScript) run configurationKT-21945 Double stop on same line during step over if inline call is presentKT-18124 Inspection to get rid of unnecessary ticks in referencesKT-22038 Inspection to replace the usage of Java Collections methods on subtypes of MutableList with the methods from Kotlin stdlibKT-22152 "Create Class" quickfix should support creating the class in a new file and selecting the package for that fileKT-22171 Add Intention for single character substringKT-22303 Inspection to detect Type!.inlineWithNotNullReceiver() callsKT-22409 Intention for changing property setter accessibilityKT-21137 Kotlin instantiates something expensive via reflection when highlighting Java fileKT-15176 Remove "Create type alias" intention when called on java classKT-18007 Inspection doesn't suggest Maven Plugin for kotlin-stdlib-jre8KT-18308 'Remove braces from else statement' intention breaks codeKT-18912 multiplatform project: Convert to enum class: header sealed class cannot convert nested objects to enum valuesKT-21114 IOE: create actual members for expected with companionKT-21600 suspend modifier should go after override in overridden suspend functionsKT-21881 Replace "If" with safe access intention false positiveKT-22054 Replace '!=' with 'contentEquals' should be replace '==' with 'contentEquals'KT-22097 Redundant Unit inspection false positive for single expression functionKT-22159 "Replace return with 'if' expression" should not place return before expressions of type NothingKT-22167 "Add annotation target" quick fix does nothing and disappears from menuKT-22221 QuickFix to remove unused constructor parameters shouldn't delete parenthesisKT-22335 IOE from KotlinUnusedImportInspection.scheduleOptimizeImportsOnTheFlyKT-22339 Remove setter parameter type: error while creating problem descriptorKT-22364 Redundant setter is not reported for overridden fieldsKT-22484 The warning highlight for redundant !ischeck for object types isn't extended to the full operatorKT-22538 "Redundant type checks for object" inspection application breaks smart cast for an object's field or functionKT-17047 Refactorings for related standard "scoping functions" conversion: 'let' <-> 'run', 'apply' <-> 'also'KT-12365 Renaming invoke function should remove operator modifier and insert function call for implicit usagesKT-17977 Move class to upper level creates file with wrong file nameKT-21719 Actual typealias not renamed on expected declaration renameKT-22200 Overriden function generated from completion is missing suspend modifierKT-22359 Refactor / Rename file: Throwable at RenameProcessor.performRefactoring()KT-22461 Rename doesn't work on private top-level members of multi-file partsKT-22476 Rename it parameter fails after replacing for-each with mapNotNullKT-22564 Rename doesn't warn for conflictsKT-22705 Refactor/Rename: rename of invoke function with lambda parameter to get breaks an implicit callKT-22708 Refactor/Rename function using some stdlib name leads to incompilable codeKT-20735 JS: kotlin.test-js integration tests terminate build on failureKT-22638 Function reference not working in js from extensionKT-22620 Add support for TestNG in kotlin.testKT-16661 Performance overhead in string splitting in Kotlin versus Java?KT-22042 Suboptimal Strings#findAnyOfKT-21154 kotlin-test-junit doesn't provide JUnitAsserter when test body is run in another threadKT-22196 kotlin-compiler-embeddable bundles outdated kotlinx.coroutines since 1.1.60KT-22549 Service is dying during compilationKT-19051 Suppress Java 9 illegal access warningsKT-18462 Add 'org.jetbrains.kotlin.platform.android' plugin.KT-18821 Gradle plugin should not resolve dependencies at configuration timeKT-22192 Make precise java classes tracking in Gradle enabled by defaultKT-21635 J2K: create "inspection based post-processing"KT-12037 REPL crashes when trying to :load with incorrect filenameKT-22350 kdoc comment preceding enum method causes compilation failureKT-22386 kapt3 fails when project has class named SystemKT-22468 Kapt fails to convert array type to anonymous array element typeKT-22469 Kapt 1.2.20+ may fail to process classes with KDocKT-22493 Kapt: NoSuchElementException in KotlinCliJavaFileManagerImpl if class first character is dollar signKT-22582 Kapt: Enums inside enum values should be forbiddenKT-22711 Deprecate original kapt (aka kapt1)This release also includes the fixes and improvements from the previous
1.2.21 release.
`KT-22349` Android: creating new Basic activity fails with Throwable: "Inconsistent FILE tree in SingleRootFileViewProvider" at SingleRootFileViewProv
`KT-20085` Android Extensions: ClassCastException after changing type of view in layout XML
KT-20085 Android Extensions: ClassCastException after changing type of view in layout XMLKT-20235 Error, can't use plugin kotlin-android-extensionsKT-20269 Mark 'kapt.kotlin.generated' as a source root automatically in Android projectsKT-20545 Parcelable: Migrate to canonical NEW-DUP-INVOKESPECIAL formKT-20742 @Serializable and @Parcelize do not work togetherKT-20928 @Parcelize. Verify Error for Android Api 19KT-11586 Support class literal annotation arguments in AnnotationSerializerKT-17944 Allow 'expect' final member be implemented by 'actual' open memberKT-21982 Recognize Checker Framework declaration annotationsKT-17609 Intrinsic suspend val coroutineContextKT-4174 Verify error on lambda with closure in local class super callKT-10473 Inapplicable diagnostics for mixed JS / JVM projectsKT-12541 VerifyError: Bad type on operand stack for local variable captured in local classKT-13454 VerifyError on capture of outer class properties in closure inside inner class constructorKT-14148 VerifyError: Bad type on operand stack for anonymous type inheriting inner classKT-18254 enumValueOf and enumValues throw UnsupportedOperationException when used within a non-inline function blockKT-18514 IllegalStateException on compile object that inherits its inner interface or classKT-18639 VerifyError: Bad type on operand stackKT-19188 Nondeterministic method order in class files using DefaultImplsKT-19827 Strange VerifyError in simple ExampleKT-19928 Analyze / Inspect Code: ISE "Concrete fake override public final fun <get-allowedTargets>()" at BridgesKt.findConcreteSuperDeclaration()KT-20433 NPE during JVM code generationKT-20639 Obsolete term "native" used in error messageKT-20802 USELESS_CAST diagnostic in functions with expression bodyKT-20873 False CAST_NEVER_SUCCEEDS when upcasting NothingKT-20903 Method reference to expect function results in bogus resolution ambiguityKT-21105 Compiler incorrectly optimize the operator in with a floating point type range with NaN bound.KT-21146 ArrayIndexOutOfBoundsException at org.jetbrains.kotlin.codegen.MemberCodegen.generateMethodCallTo(MemberCodegen.java:841)KT-21267 Report pre-release errors if pre-release compiler is run with a release language versionKT-21321 for-in-array loop improvementsKT-21343 Compound assignment operator compiles incorrectly when LHS is a property imported from objectKT-21354 Inconsistent behavior of 'for-in-range' loop if range is an array variable modified in loop bodyKT-21532 Enum constructor not foundKT-21535 SAM wrapper is not created for a value of functional type in delegating or super constructor call in secondary constructorKT-21671 Inline sam wrapper during inline in another moduleKT-21919 Invalid MethodParameters attribute generated for "$DefaultImpls" synthetic class with javaParameters=trueKT-20429 False-positive 'Unused return value of a function with lambda expression body' in enum constant constructorKT-21827 SMAP problem during default lambda parameter inlineKT-4001 Allow to set arguments indent to 1 tab (currently two and not customized)KT-13378 Provide ability to configure highlighting for !! in expressions and ? in typesKT-17928 Support code folding for primary constructorsKT-20591 Show @StringRes/@IntegerRes annotations in parameter infoKT-20952 "Navigate | Related symbol" should support expect/actual navigationKT-21229 Make it possible to explicitly select "latest" language/API versionKT-21469 Wrap property initializers after equals signKT-14670 Support kotlinPackageName() macro in live templatesKT-14951 Editor: navigate actions could be available in intention menu (as done in Java)KT-15320 Live templates: Add function which returns the "outer" class nameKT-20067 Return label hintsKT-20533 Show "this" and "it" type hints in lambdas.KT-20614 Change location of initial parameter type hint when parameters are on multiple linesKT-21949 Please add a separate Color Scheme settings for properties synthesized from Java accessorsKT-21974 Editor color scheme option for Kotlin typealias namesKT-17367 Rebuild requested for index KotlinJavaScriptMetaFileIndexKT-21632 Freezing on typingKT-21701 IDEA 2017.3 high CPU usageKT-9562 Wrong indent after Enter after an annotationKT-12176 Formatter could reformat long primary constructorsKT-12862 Formatting: Weird wrapping setting for long ?: operatorKT-15099 Odd code formatting when chaining lambdas and splitting lines on operatorsKT-15254 Use Platform icons for "Run" icon in gutterKT-17254 Remove obsolete unfold-icons in structure viewKT-17838 Can't report exceptions from the Kotlin plugin 1.1.4-dev-119 in IDEA #IU-171.4424.37KT-17843 Don't show parameter name hints when calling Java methods with unknown parameter namesKT-17964 Local variable type hints in editor for anonymous objectKT-17965 Do not shown argument name hints for assertKT-18829 Do not show parameter name hints for mapOfKT-18839 Semantic highlighting not work for local variables in initKT-19012 Data Flow from here: doesn't find template usagesKT-19017 Data Flow from here doesn't find usage in range position of for cycleKT-19018 Data Flow from here doesn't find any usages of for-variableKT-19036 Data Flow from here: please find calls of extension tooKT-19039 Data Flow from here: please find cases when an investigated variable is transferred as a parameter into a library functionKT-19087 Data flow to here: usages with explicit receiver are not foundKT-19089 Data Flow to here: assigned values are not found if an investigated property is a delegated oneKT-19104 Data Flow from here: usage of parameter or variable not found when used as lambda receiver/parameterKT-19106 Data Flow from here: show point of call of a function used as a parameter investigated parameter/variableKT-19112 Data Flow to here for a function (or its return value) doesn't find shorten forms of assignmentsKT-19519 Structure view is not updated properly for function classesKT-19727 Code style: New line after '(' with anonymous object or multi-line lambda unexpected behaviorKT-19820 Strange highlightning for enum constructorKT-19823 Kotlin Gradle project import into IntelliJ: import kapt generated classes into classpathKT-19824 Please provide a separate icon for a common libraryKT-19915 TODO calls not blue highlighted in lambdas/DSLsKT-20096 Kotlin Gradle script: SOE after beginning of Pair definition before some script sectionKT-20314 Kotlin formatter does not respect annotations code style settingsKT-20329 Multiplatform: gutter "Is subclassed by" should show expect subclass from the common moduleKT-20380 Configure Kotlin plugin updates dialog does not open without opened projectKT-20521 Kotlin Gradle script: valid build.gradle.kts is red and becomes normal only after reopening the projectKT-20603 Facet import: when API version > language version, set API version = language version, not to 1.0KT-20782 Non-atomic trees updateKT-20813 SAM with receiver: call with SAM usage is compiled with Gradle, but not with JPSKT-20880 Add documentation quick fix should create multiline comment and place caret in right placeKT-20883 Provide more information in "Missing documentation" inspection messageKT-20884 Functions with receivers should allow [this] in KDocKT-20937 Exception thrown on RMB click on folder in Kotlin projectKT-20938 IDE: kotlinc.xml with KotlinCommonCompilerArguments/freeArgs: XSE: "Cannot deserialize class CommonCompilerArguments$DummyImpl" at BaseKotlinCompilerSettings.loadState()KT-20953 "Choose actual" popup shows redundant informationKT-20985 Additional reimport is required in 2017.3/2018.1 idea after creating or importing mp projectKT-20987 (PerModulePackageCache miss) ISE: diagnoseMissingPackageFragmentKT-21002 "Highlight usages of identifier under caret" should work for "it"KT-21076 Recursive Companion.ivoke() call should be marked with according iconKT-21132 containsKey() in SoftValueMap considered pointlessKT-21150 Do not infer compiler version from build.txtKT-21200 Improve Structure-view for Kotlin filesKT-21214 Fix funcion selection in kotlinKT-21275 Don't show argument name hints in calls of methods on 'dynamic' typeKT-21318 Highlighting of function exit points does not work if the function is a getter for propertyKT-21363 IDE: kotlinc.xml with KotlinCommonCompilerArguments: build fails with UOE: "Operation is not supported for read-only collection" at EmptyList.clear()KT-21409 UAST: Super-call arguments are not modeled/visitedKT-21418 Gradle based project in IDEA 181: Kotlin facets are not createdKT-21441 Folding multiline strings adds a space at the start if there is not one.KT-21546 java.lang.IllegalArgumentException: Unexpected container fatal IDE errorKT-21575 Secondary constructor call body is missingKT-21645 Weird parameter hint positionKT-21733 Structure view is not updatedKT-21756 Find Usages for "type" in ts2kt provokes exceptionKT-21770 Pasting $this into an interpolated string shouldn't escape $KT-21833 Type hints shown when destructing triple with type parametersKT-21852 Custom API version is lost when settings are reopen after restarting IDEKT-11503 cmd+shift+enter action in .kt files does not work on empty linesKT-17217 Navigate to symbol: hard to choose between a lot of extension overloadsKT-18674 Join Lines should join stringsKT-19524 "Local variable type hints" should respect static importsKT-21010 Gutter "Is subclassed by" should show actual subclass from the all platform modules in IDEA 2017.3/2018.1KT-21036 Throwable “Access is allowed from event dispatch thread only.” after creating nine similar classes with functions.KT-21213 Multiline kdoc - intellij joins lines together without spaceKT-21592 <args>-Xjsr305=strict</args> not taken into account during the kotlin files compilation in Idea (maven)KT-22050 Redundant parameter type hint on SAMKT-22071 Formatter insists on increasing indentation in forEach lambdaKT-22093 Unnecessary line wrap with new Kotlin code styleKT-22111 Error while indexing PsiPlainTextFileImpl cannot be cast to KtFileKT-22121 Enter in empty argument list should apply normal indent if "Continuation indent for argument list" is offKT-21702 KtLightAnnotation can't be converted to UASTKT-19900 IntelliJ does not recognise no-arg "invokeInitializers" set in pom.xmlKT-22227 IDE + Gradle: compiler plugin settings are not importedKT-13220 Completion for non-primary-constructor properties should suggest names with types instead of typesKT-12797 Code completion does not work for inner in base classKT-16402 AssertionError on completing expression after template in string literalKT-20166 Completion: property declaration completion should be greedy if tab pressedKT-20506 Second smart completion suggests the same value recursivelyKT-17514 Debugger, evaluate value: cannot find local variable error on attempt to evaluate outer variableKT-20962 NullPointerException because of nullable location in debuggerKT-21538 "Step into" method doesn't work after adding lambda parameter to the callKT-21820 Debugger: Evaluation fails for instance properties (older Android SDKs)KT-4580 Intention + inspection to convert between explicit and implicit 'this'KT-11023 Inspection to highlight usages of Collections.sort() and replace them with .sort() method from Kotlin stdlibKT-13702 Issue a warning when equals is called recursively within itselfKT-18449 Multiplatform project: provide a quick fix "Implement methods" for a impl classKT-18828 Provide an intention action to move a companion object member to top levelKT-19103 Inspection to remove unnecessary suspend modifierKT-20484 Add quick fix to add required target to annotation used on a typeKT-20492 Offer "Simplify" intention for 'when' expression where only one branch is known to be trueKT-20615 Inspection to detect usages of values incorrectly marked by Kotlin as const from Java codeKT-20631 Inspection to detect use of Unit as a standalone expressionKT-20644 Warning for missing const paired with val modifier for primitives and stringsKT-20714 Inspection for self-assigment of propertiesKT-21023 Inspection to highlight variables / functions with implicit Nothing? typeKT-21510 Add inspection to add/remove this to/from bound callableKT-21560 Inspection to sort modifiersKT-21573 Code Style Inspection: to -> Pair function used not in infix formKT-16260 Add intention to specify all types explicitly in destructuring assignmentKT-21547 Allow separate regex for test class and function names in IDE inspectionKT-21741 Inspection to detect is checks for object typesKT-21950 Enable quick-fixes for annotator-reported problems in "Inspect Code"KT-22103 SortModifiersInspection should report annotations after modifiersKT-15941 "Convert to secondary constructor" produces invalid code for generic property with default valueKT-16340 "Unused receiver parameter" for invoke operator on companion objectKT-17161 IDE suggest to replace a for loop with forEach to aggresivelyKT-17332 Intention to replace forEach with a 'for' loop should convert return@forEach to continueKT-17730 Incorrect suggestion to replace loop with negation to any{}KT-18816 IDEA suggests replacing for-in-range with stdlib operationsKT-18881 Invalid "Loop can be replaced with stdlib operations" warning when class has add() functionKT-19560 Do not warn about receiver parameter not used for companion objectKT-19977 Convert Lambda to reference produces red code when wrong implicit receiver is in scopeKT-20091 "Convert object literal to class" should create inner class if necessaryKT-20300 "Variable can be inlined" should not be suggested if there's a variable with the same name in nested scopeKT-20349 Convert lambda to reference for trailing lambda inserts parameter names for all arguments if at least one named argument was passedKT-20435 False "function is never used" warningKT-20622 Don't propose “Remove explicit type specification” when it can change semantic?KT-20763 Wrong resulting code for "add star projection" quick-fix for inner class with generic outer oneKT-20887 Missing documentation warning shouldn't be triggered for a member of a private classKT-20888 Documentation should be inherited from Map.Entry typeKT-20889 Members of anonymous objects should be treated as private and not trigger "Missing documentation" warningKT-20894 "Add type" quick fix does not take into account vararg modifierKT-20901 IntelliJ autocorrect to add parameter to data class constructor should make the parameter a valKT-20981 False positive for "redundant super" in data classKT-21025 Kotlin UAST violates JvmDeclarationUElement contract by employing JavaUAnnotationKT-21061 Cant work with UElement.kt in IDEA with 1.2.0-rc-39: "Stub index points to a file without PSI"KT-21104 Do not propose to make local lateinit var immutableKT-21122 QuickFix to create member for expect class shouldn't add bodyKT-21159 Fix signature invoked from Java breaks Kotlin codeKT-21179 Remove empty class body on companion object breaks codeKT-21192 Confusing "unused expression"KT-21237 ReplaceWith incorrectly removes property assignmentKT-21332 Create from usage: do not propose to create abstract function in non-abstract classKT-21373 'Remove redundant let' quickfix does not work with inKT-21497 Inspection considers if block to be a lambdaKT-21544 "Add type" quick fix incorrectly processes vararg modifier with primitive type array initializerKT-21603 "Join declaration and assignment" should remove 'lateinit' for 'var'KT-21612 The "Remove redundant getter" inspection removes the type specifierKT-21698 Create interface shouldn't suggest to declare it inside a class which implements itKT-21726 "arrayOf can be replaced with literal" inspection quick fix produces incompilable result in presence of spread operatorKT-21727 "Redundant spread operator" inspection does not report array literalKT-12814 Specify type explicitly produces erroneous code when platform type overrides not-null typeKT-15180 Incorrect quickfix 'Specify type explicitly'KT-17816 "Replace elvis with if" produce nasty code when safe casts are involvedKT-18396 Bad quickfix for wrong nested classes in inner classKT-19073 No-op quick fix for "Convert lambda to reference" IDE suggestionKT-19283 Kotlin KProperty reference cannot be converted to lambdaKT-19736 Rephrase text in the unconventional property name inspectionKT-19771 Preserve old "Convert to expression body" rangeKT-20437 Naming convetions inspection: Add separate inspection for top-level and object propertiesKT-20620 Replace operator with function call breaks codeKT-21414 OverridersSearch attempts to create nameless fake light methodKT-21780 Wrong redundant setter inspectionKT-21837 Don't require documentation on tests and test classesKT-21929 Inappropriate quick fix for a sealed class instantiationKT-21983 Do not suggest to remove explicit Unit type for expression bodyKT-16619 Incorrect 'accessing non-final property in constructor' warningKT-20095 Allow conversion of selected companion methods to methods with @JvmStaticKT-15840 Introduce type alias: don't change not-nullable type with nullable typealiasKT-17212 Refactor / Inline Function: with 1 occurrence both "Inline all" and "Inline this only" are suggestedKT-18594 Refactor / Extract (Functional) Parameter are available for annotation arguments, but fail with AE: "Body element is not found"KT-20146 IAE “parameter 'name' of NameUtil.splitNameIntoWords must not be null” at renaming classKT-20335 Refactor → Extract Type Parameter: “AWT events are not allowed inside write action” after processing duplicatesKT-20402 Throwable “PsiElement(IDENTIFIER) by KotlinInplaceParameterIntroducer” on calling Refactor → Extract Parameter for default valuesKT-20403 AE “Body element is not found” on calling Refactor → Extract Parameter for default values in constructor of class without bodyKT-20790 Refactoring extension function/property overagressiveKT-20766 Typealias end-of-line is removed when moving function and typealias to new fileKT-21071 Cannot invoke move refactoring on a typealiasKT-21162 Adding parameters to kotlin data class leads to compilation errorKT-21288 Change Signature refactoring fails to change signature of overridersKT-21334 Extract variable doesn't take into account the receiver of a bound callable referenceKT-21371 Rename refactoring sometimes erases identifier being renamed when popping up name proposalsKT-21530 KNPE in introduce variableKT-21508 java.lang.AssertionError: PsiLiteralExpression on property safe delete in Idea 173KT-21536 Rename refactoring sometimes doesn't quite workKT-21604 Rename package missing titleKT-21963 Refactor / Inline Property: "null" in place of number of occurrences of local variable referencesKT-21964 Refactor / Inline: on declaration of element with one usage "Inline and keep" choice is not suggestedKT-21965 Refactor / Inline: wording in dialog could be unifiedKT-20210 [JS] Ultra-fast builds for developmentKT-2218 JS: Optimise in checks for number rangesKT-20932 JS: Make withIndex() on arrays intrinsicKT-21160 JS: generate switch statement for when statement when possibleKT-7653 JS: TypeError when try to access to "simple" property (w/o backing field at runtime)KT-18963 javascript project: No output directory found for Module 'xxx_test' production on JPS compilingKT-19290 JS integer overflow for unaryMinusKT-19826 JS: don't remove debugger statement from suspend functionsKT-20580 JS: JSON.stringify could improve 'replacer' argument handlingKT-20694 JS: add missed parts to JS DateKT-20737 JS: cache KProperty instances that used to access to delegated propertyKT-20738 JS: remove useless calls to constructor of KProperty* (PropertyMetadata) when it generated for access to delegated propertyKT-20854 val parameters of type kotlin.Char aren't boxedKT-20898 JS: inline js with for without initializer causes compiiler to crashKT-20905 JS: compiler crashes on invalid inline JavaScript code instead of reporting errorKT-20908 JS frontend crashes on uncompleted call to function with reified parametersKT-20978 JS: inline doesn't work for Array's constructor when it called through typealiasKT-20994 JS extension property in interface problemKT-21004 JS: don't use short-circuit operators when translating Boolean.and/or(Boolean)KT-21026 JS: wrong code generated for suspend fun that calls inline suspend fun as a tail call.KT-21041 'TypeError: ... is not a function' for lambda with closure passed as an argument to super type constructorKT-21043 JS: inlining coroutine from other module sometimes causes incorrect code generatedKT-21093 Kotlin.JS doesnt escape ‘in’ identifier and conflicts with in keywordKT-21245 JS: interface function with default parameter, overridden by other interface indirectly cannot be found at runtimeKT-21307 JS DCE does not remap paths to sourcesKT-21309 JS: incorrect source map generated for inline lambda when it's last expression is a statement-like expression (e.g. when or try/catch)KT-21317 JS: safe call to suspend function returning Unit causes incorrectKT-21421 JS: accesors of overridden char properties with backing fields aren't boxedKT-21468 JS: don't use enum entry's name for when over external enumsKT-21850 JS: support nested testsKT-10532 ISE by ThrowingLexicalScope at compile time with specific override chainKT-20864 Provide ReadOnly and Mutable annotations to control java collection mutability in kotlinKT-18789 Delegating val to out-projected MutableMap resulted in NPE due to cast to NothingKT-21828 JS: The List produced by the IntArray.asList function caused weird resultsKT-21868 Eliminate potential data race in SafePublicationLazyImplKT-21918 Make toTypedArray() implementation more efficient and thread-safeKT-22003 JS: Replace Regex constructor-like functions with secondary constructorsVolatile and Synchornized annotations are moved to kotlin.jvm package with the migration type aliases providedKT-16348 Provide String.toBoolean() conversion in JS and common platformsKT-20968 Improve docs for String.format and String.Companion.formatKT-20875 Support Void.TYPE as underlying Class object for KClassKT-21453 NPE in TypeSignatureMappingKt#computeInternalNameKT-20298 Lint warning when using @Parcelize with delegated propertiesKT-20299 Android non-ASCII TextView Id Unresolved Reference BugKT-20717 @Parcelize Creator.newArray method is generated incorrectlyKT-20751 kotlin-spring compiler plugin does not open @Validated classesKT-21171 _$_findViewCache and _$_findCachedViewById are created in Activity subclass without Kotlin Android Extensions.KT-21628 Can't find referenced class kotlin.internal.annotations.AvoidUninitializedObjectCopyingCheckKT-21777 RMI "Connection refused" errors with daemonKT-21992 @Transient warning for lazy propertyKT-20892 Support module name option in K2MetadataCompilerArgumentsKT-17621 Incremental compilation is very slow when Java file is modifiedKT-14125 Android-extensions don't track xml changes wellKT-20233 Kapt: using compiler in-process w/ gradle leads to classloader conflictKT-21009 Running Gradle build with clean prevents KotlinCompile tasks from loading from cacheKT-21596 Improve Kapt Gradle Plugin to be more friendly for Kotlin-DSLKT-15753 Support cacheable tasksKT-17656 Kotlin and Kotlin Android plugin not using available build cachesKT-20017 Support local (non-relocatable) Gradle build cacheKT-20598 Missing input annotations on AbstractKotlinCompileToolKT-20604 Kotlin plugin breaks relocatability and compile avoidance for Java compile tasksKT-21203 Kotlin gradle plugin does not create proper Ivy metadata for dependenciesKT-21261 Gradle plugin 1.1.60 creates "build-history.bin" outside project.buildDirKT-21805 Gradle plugin does not work with JDK 1.7 (KaptGradleModel)KT-21806 Gradle Plugin: Using automatic dependency versions with 'maven-publish' plugin does not include dependency version in generated publication POMsKT-20840 Multiplatform IC fails if expected or actual file is modified separatelyKT-21622 Make IC work more accurately with changes of Android layouts xml filesKT-21699 JS IC produces different source maps when enum usage is compiled separatelyKT-20633 Class is not recompiledKT-21502 Inspection to convert map.put(k, v) into map[k] = vKT-19390 Character and string concatenation in Java is converted to code with multiple type errors in KotlinKT-19943 Redundant 'toInt' after converting explicit Integer#intValue callKT-21574 JPS build: API version in project settings is ignoredKT-21841 JPS throws exception creating temporary file for moduleKT-21962 Source file dependencies (lookups) are not tracked in JPS when Kotlin daemon is usedKT-20816 Repeated Maven Compiles With Kapt FailKT-17561 Embedding kotlin-script-utils may cause version conflicts e.g. with guavaKT-17921 The JSR 223 scripting engine fails to eval anything after encountering an unresolved referenceKT-21075 KotlinJsr223JvmLocalScriptEngineFactory does not well with kotlin-compiler-embeddableKT-21141 Kotlin script: KotlinJsr223JvmLocalScriptEngine.state.history.reset() seems not clearing the compiler cacheKT-18791 Kapt: Constants from R class should not be inlinedKT-19203 Kapt3 generator doesn't seem to print log level lower to Mandatory WarningKT-19402 kapt.correctErrorTypes makes typealias not work.KT-19505 Kapt doesn't always stub classes about to be generated.KT-19518 Kapt: Support 'correctErrorTypes' option in annotationsKT-20257 Kapt is incompatible with compiler pluginsKT-20749 Kapt: Support Java 9KT-21144 Kapt: Compilation error with maven plugin (Java 9 compatibility)KT-21205 KDoc unavailable via javax.lang.model.util.Elements#getDocComment(Element e)KT-21262 Kapt: Remove artificial KaptError exception on errors from annotation processorKT-21264 Kapt: -Xmaxerrs javac option is not propagated properlyKT-21358 Kapt: Support import directive with aliases (correctErrorTypes)KT-21359 Kapt: Filter out non-package imports whenever possible (correctErrorTypes)KT-21425 kapt warning when assembling unit testsKT-21433 Annotations on enum constants are not kept on the generated stubKT-21483 Kapt: Loading resources doesn't work without restarting the gradle daemonKT-21542 Kapt: Report additional info about time spent in each annotation processorKT-21565 Kapt, Maven: Support passing arguments for annotation processorsKT-21566 Kapt, Maven: Support passing Javac optionsKT-21729 Error message says "androidProcessor" should be "annotationProcessor"KT-21936 Kapt 1.2.20-eap: cannot find symbol @KaptSignatureKT-21735 Kapt cache not clearedKT-22056 Applying Kapt plugin causes RuntimeException on Gradle import: "Kapt importer for generated source roots failed, source root name: debug" at KaptProjectResolverExtension.populateAndroidModuleModelIfNeeded()KT-22189 ISE from com.sun.tools.javac.util.Context.checkState when switching from 1.2.10 to 1.2.20-eap-33This release also includes the fixes and improvements from the previous
1.2.10 release.
`KT-20821` Error while inlining function reference implicitly applied to this
KT-20821 Error while inlining function reference implicitly applied to thisKT-21299 Restore adding JDK roots to the beginning of the classpath listKT-21180 Project level api/language version settings are erroneously used as default during Gradle importKT-21335 Fix exception on Project Structure view openKT-21610 Fix "Could not determine the class-path for interface KotlinGradleModel" on Gradle syncKT-21493 Losing lambda defined in inline function after incremental recompilationKT-21495 Bash scripts in Kotlin v1.2 compiler have Windows line terminatorsKT-21537 javac 7 do nothing when kotlin-compiler(-embeddable) is in classpathThis release also includes fixes and improvements from previous release:
<!-- Find: ([^\/\[])(KT-\d+) --> <!-- Replace: $1[$2`](https://youtrack.jetbrains.com/issue/$2) -->
<!-- Find: ([^`/[])(KT-\d+) -->
<!-- Replace: $1$2 -->
KT-20974 NSME "AndroidModuleModel.getMainArtifact" on Gradle refreshKT-20975 IAE "Missing extension point" on Gradle refreshKT-6359 Provide the way to share code with different targets(JVM, JS)KT-21300 IDEA slow down in Kotlin + Spring projectKT-20450 Exception in UAST during function inliningKT-20789 Can't navigate to inline call/inline use site when runner is delegated to GradleKT-21236 New project button doesn't work with Kotlin plugin enabled and Gradle plugin disabledKT-21263 "Configure Kotlin Plugin Updates" suggests incompatible plugin for AS 3.0KT-20757 Rebuild when language/api version is changedThis release also includes fixes and improvements from pre-releases:
`KT-17640` Back-end (JVM) Internal error for inline reified suspend fun
KT-17640 Back-end (JVM) Internal error for inline reified suspend funKT-20651 "Don't know how to generate outer expression" for enum-values with non-trivial self-closuresKT-20782 Non-atomic trees updateKT-20789 Can't navigate to inline call/inline use site when runner is delegated to GradleKT-20843 Kotlin TypeDeclarationProvider may stop other declarations providers executionKT-20929 Import Project from Gradle wizard: the same page is shown twiceKT-20967 Kotlin plugin upgrade breaks Gradle refreshKT-21263 "Configure Kotlin Plugin Updates" suggests incompatible plugin for AS 3.0KT-20315 "call chain on collection type may be simplified" generates code that does not compileAdds experimental support for Kotlin/JS incremental compilation
The complete list of changes in this release can be found in the changelog.
The update is compatible with all versions of IntelliJ IDEA from 2016.3 until 2017.3, as well as with Android Studio 2.3, 3.0 and 3.1 Canary.
Nothing published for this version
Nothing published for this version
One column per quarter.