New: your coding agent can read the release notes before it upgrades. Set up the MCP server →
Maven Central · #219 by repository stars
Kotlin Standard Library JRE 7 extension (deprecated)
Last release 8 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 weeks
Most releases are documented
notes for 22 of 30 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
30 releases · first in 2017
`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.
One column per quarter.
`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.
`KT-19901` KotlinLanguageInjector#getLanguagesToInject can cancel any progress in which it was invoked
`KT-19205` Poor diagnostic message for deprecated class referenced through typealias
KT-14800 Kotlin Lint: @SuppressLint annotation on local variable is ignoredKT-16600 False positive "For methods, permission annotation should specify one of value, anyOf or allOf"KT-16834 Android Lint: Bogus warning on @setparam:StringResKT-17785 Kotlin Lint: "Incorrect support annotation usage" does not pick the value of const valKT-18837 Android Lint: Collection.removeIf is not flagged when used on RealmListKT-18893 Android support annotations (ColorInt, etc) cannot be used on properties: "does not apply for type void"KT-18997 KLint: False positive "Could not find property setter method setLevel on java.lang.Object" if using elvis with return on RHSKT-19671 UAST: Parameter annotations not provided for val parametersKT-17963 Unnecessary boxing in case of primitive comparison to objectKT-18589 'Equality check can be used instead of elvis' produces code that causes boxingKT-18693 Optimize in-expression with optimizable range in RHSKT-18721 Improve code generation for if-in-primitive-literal expression ('if (expr in low .. high)')KT-18818 Optimize null cases in when statement to avoid Intrinsics usageKT-18834 Do not create ranges for 'x in low..high' where type of x doesn't match range element typeKT-19029 Use specialized equality implementations for 'when'KT-19149 Use 'for-in-until' loop in intrinsic array constructorsKT-19252 Use 'for-in-until' loop for 'for-in-rangeTo' loops with constant upper bounds when possibleKT-19256 Destructuring assignment generates redundant code for temporary variable nullificationKT-19457 Extremely slow analysis for file with deeply nested lambdasKT-10754 Bogus unresolved extension functionKT-11739 Incorrect error message on getValue operator with KProperty<Something> parameterKT-11834 INAPPLICABLE_LATEINIT_MODIFIER is confusing for a generic type parameter with nullable (default) upper boundKT-11963 Exception: recursive call in a lazy value under LockBasedStorageManagerKT-12737 Confusing error message when calling extension function with an implicit receiver, passing value parameter of wrong typeKT-12767 Too much unnecessary information in "N type arguments expected" error messageKT-12796 IllegalArgumentException on referencing inner class constructor on an outer class instanceKT-12899 Platform null escapes if passed as an extension receiver to an inline functionKT-13665 Generic componentN() functions should provide better diagnostics when type cannot be inferredKT-16223 Confusing diagnostic for local inline functionsKT-16246 CompilationException caused by intersection type overload and wrong type parameterKT-16746 DslMarker doesn't work with typealiasesKT-17444 Accessors generated for private file functions should respect @JvmNameKT-17464 Calling super constructor with generic function call in arguments fails at runtimeKT-17725 java.lang.VerifyError when both dispatch receiver and extension receiver have smart castsKT-17745 Unfriendly error message on creating an instance of interface via typealiasKT-17748 Equality for class literals of primitive types is not preserved by reificationKT-17879 Comparing T::class from a reified generic with a Class<> and KClass<> variable in when statement is brokenKT-18356 Argument reordering in super class constructor call for anonymous object fails with VerifyErrorKT-18819 JVM BE treats 'if (a in low .. high)' as 'if (a >= low && a <= high)', so 'high' can be non-evaluatedKT-18855 Convert "Remove at from annotation argument" inspection into compiler error & quick-fixKT-18858 Exception within typealias expansion with dynamic used as one of type argumentsKT-18902 NullPointerException when using provideDelegate with properties of the base class at runtimeKT-18940 REPEATED_ANNOTATION is reported on wrong location for typealias argumentsKT-18944 Type annotations are lost for dynamic typeKT-18966 Report full package FQ name in compilation errors related to visibilityKT-18971 Missing non-null assertion for platform type passed as a receiver to the member extension functionKT-18982 NoSuchFieldError on access to imported object property from the declaring object itselfKT-18985 Too large highlighting range for UNCHECKED_CASTKT-19058 VerifyError: no CHECKAST on dispatch receiver of the synthetic property defined in Java interfaceKT-19100 VerifyError: missing CHECKCAST on extension receiver of the extension propertyKT-19115 Report warnings on usages of JSR 305-annotated declarations which rely on incorrect or missing nullability informationKT-19128 java.lang.VerifyError with smart cast to String from AnyKT-19180 Bad SAM conversion of Java interface causing ClassCastException: [...] cannot be cast to kotlin.jvm.functions.Function1KT-19205 Poor diagnostic message for deprecated class referenced through typealiasKT-19367 NSFE if property with name matching companion object property name is referenced within lambdaKT-19434 Object inheriting generic class with a reified type parameter looses method annotationsKT-19475 AnalyserException in case of combination of while (true) + stack-spilling (coroutines/try-catch expressions)KT-19528 Compiler exception on inline suspend function inside a generic classKT-19575 Deprecated typealias is not marked as such in access to companion objectKT-19601 UPPER_BOUND_VIOLATED reported on type alias expansion in a recursive upper bound on a type parameterKT-19814 Runtime annotations for open suspend function are not generated correctlyKT-19892 Overriding remove method on inheritance from TreeSet<Int>KT-19910 Nullability assertions removed when inlining an anonymous object in crossinline lambdaKT-19985 JSR 305: nullability qualifier of Java function return type detected incorrectly in case of using annotation nicknameKT-6676 Show enum constant ordinal in quick doc like in JavaKT-12246 Kotlin source files are not highlighted in Gradle build output in IntelliJKT-19670 When computing argument hints, don't resolve call if none of the arguments are unclear expressionsKT-9288 Call hierarchy ends on function call inside local val initializer expressionKT-9669 Join Lines should add semicolon when joining statements into the same lineKT-14346 IllegalArgumentException on attempt to call Show Hierarchy view on lambdaKT-14428 AssertionError in KotlinCallerMethodsTreeStructure.<init> on attempt to call Hierarchy viewKT-19466 Kotlin based Gradle build not recognized when added as a moduleKT-18083 IDEA: Support extension main functionKT-18863 Formatter should add space after opening brace in a single-line enum declarationKT-19024 build.gradle.kts is not supported as projectKT-19124 Creating source file with directory/package throws AE: "Write access is allowed inside write-action only" at NewKotlinFileAction$Companion.findOrCreateTarget()KT-19154 Completion and auto-import does not suggest companion object members when inside an extension functionKT-19202 Applying 'ReplaceWith' fix in type alias can change program behaviourKT-19209 "Stub and PSI element type mismatch" in when receiver type is annotated with @receiverKT-19277 Optimize imports on the fly should not work in test data filesKT-19278 Optimize imports on the fly should not remove incomplete import while it's being typedKT-19322 Script editor: Move Statement Down/Up can't move one out of top level lambdaKT-19451 "Unresolved reference" with Kotlin Android Extensions when layout defines the Android namespace as something other than "android"KT-19492 Java 9: references from unnamed module to not exported classes of named module are compiled, but red in the editorKT-19493 Java 9: references from named module to classes of unnamed module are not compiled, but green in the editorKT-19843 Performance warning: LineMarker is supposed to be registered for leaf elements onlyKT-19889 KotlinGradleModel : Unsupported major.minor version 52.0KT-19885 200% CPU for some time on Kotlin sources (PackagePartClassUtils.hasTopLevelCallables())KT-19901 KotlinLanguageInjector#getLanguagesToInject can cancel any progress in which it was invokedKT-19903 Copy Reference works incorrectly for const valKT-20153 Kotlin facet: Java 9 -Xadd-modules setting produces more and more identical sub-elements of <additionalJavaModules> in .iml fileKT-8848 Code completion does not support import aliasesKT-18040 There is no auto-popup competion after typing "$x." anymoreKT-19015 Smart completion: parameter list completion is not available when some of parameters are already writtenKT-19429 Breakpoint appears in random place during debugKT-4748 Remove double negation for boolean expressions intention + inspectionKT-5878 Quickfix for "variable initializer is redundant" (VARIABLE_WITH_REDUNDANT_INITIALIZER)KT-11991 Kotlin should have an inspection to suggest the simplified format for a no argument lambdaKT-12195 Quickfix @JvmStatic on main() method in an objectKT-12233 "Package naming convention" inspection could show warning in .kt sourcesKT-12504 Intention to make open class with only private constructors sealedKT-12523 Quick-fix to remove when with only elseKT-12613 "Make abstract" on member of open or final class should make abstract both member and classKT-16033 Automatically static import the enum value name when "Add remaining branches" on an enum from another class/fileKT-16404 Create from usage should allow generating nested classesKT-17322 Intentions to generate a getter and a setter for a propertyKT-17888 Inspection to warn about suspicious combination of == and ===KT-18826 INAPPLICABLE_LATEINIT_MODIFIER should have a quickfix to remove initializerKT-18965 Add quick-fix for USELESS_IS_CHECKKT-19126 Add quickfix for 'Property initializes are not allowed in interfaces'KT-19282 Support "flip equals" intention for String.equals extension from stdlibKT-19428 Add inspection for redundant overrides that only call the super methodKT-19514 Redundant getter / setter inspectionKT-13985 "Add remaining branches" action does not use back-ticks correctlyKT-15422 Reduce irrelevant reporting of Destructure inspectionKT-17480 Create from usage in expression body of override function should take base type into accountKT-18482 "Move lambda argument to parenthesis" action generate uncompilable codeKT-18665 "Use destructuring declaration" must not be suggested for invisible propertiesKT-18666 "Use destructuring declaration" should not be reported on a variable used in destructuring declaration onlyKT-18978 Intention Move to class body generates incorrect code for vararg val/varKT-19006 Inspection message "Equality check can be used instead of elvis" is slightly confusingKT-19011 Unnecessary import for companion object property with extension function type is automatically insertedKT-19299 Quickfix to correct overriding function signature keeps java NotNull annotationsKT-19614 Quickfix for INVISIBLE_MEMBER doesn't offer to make member protected if referenced from subclassKT-19666 ClassCastException in IfThenToElvisIntentionKT-19704 Don't remove braces in redundant cascade ifKT-19811 Internal member incorrectly highlighted as unusedKT-19926 Naming convention inspections: pattern is validated while edited, PSE at Pattern.error()KT-19927 "Package naming convention" inspection checks FQN, but default pattern looks like for simple nameKT-17266 Refactor / Inline Function: reference to member of class containing extension function is inlined wrongKT-17776 Inline method of inner class adds 'this' for methods from enclosing classKT-19161 Safe delete conflicts are shown incorrectly for local declarationsKT-18329 JS: for loop implementation depends on parenthesesKT-12970 Empty block expression result is 'undefined' (expected: 'kotlin.Unit')KT-13930 Safe call for a function returning 'Unit' result is 'undefined' or 'null' (instead of 'kotlin.Unit' or 'null')KT-13932 'kotlin.Unit' is not materialized in some functions returning supertype of 'Unit' ('undefined' returned instead)KT-16408 JS: Inliner loses imported values when extending a class from another moduleKT-17014 Different results in JVM and JavaScript on Unit-returning functionsKT-17915 JS: 'kotlin.Unit' is not materialized as result of try-catch block expression with empty catchKT-18166 JS: Delegated property named with non-identifier symbols can crash in runtime.KT-18176 JS: dynamic type should not allow methods and properties with incorrect identifier symbolsKT-18216 JS: Unit-returning expression used in loop can cause wrong behaviorKT-18793 Kotlin Javascript compiler null handling generates if-else block where else is always takenKT-19108 JS: Inconsistent behaviour from JVM code when modifying variable whilst calling run on itKT-19495 JS: Wrong compilation of nested conditions with if- and when-clausesKT-19540 JS: prohibit to use illegal symbols on call siteKT-19542 JS: delegate field should have unique name otherwise it can be accidentally overwrittenKT-19712 KotlinJS - providing default value of lambda-argument produces invalid js-codeKT-19793 build-crash with external varargs (Javascript)KT-19821 JS remap sourcemaps in DCEKT-19891 Runtime crash with inline function with reified type parameter and object expression: "T_0 is not defined" (JavaScript)KT-20005 Invalid source map with option sourceMapEmbedSources = "always"KT-19133 Specialize any and none for CollectionKT-18267 Deprecate CharSequence.size extension function on the JS sideKT-18992 JS: Missing MutableMap.iterator()KT-19881 Expand doc comment of @PublishedApiKT-18859 Strange error message when kotlin-embeddable-compiler is run without explicit -kotlin-homeKT-19287 Common module compilation: K2MetadataCompiler ignores coroutines stateKT-17150 Support 'packagePrefix' option in Gradle pluginKT-19956 Support incremental compilation to JS in GradleKT-13918 Cannot access internal classes/methods in androidTest source set in an Android library moduleKT-17355 Use archivesBaseName instead of project.name for module names, get rid of _main for main source setKT-18183 Kotlin gradle plugin uses compile task output as "friends directory"KT-19248 Documentation suggested way to enable coroutines (gradle) doesn't workKT-19397 local.properties file not closed by KotlinProperties.ktKT-19580 IC does not detect non-nested sealed class additionKT-10375 0xFFFFFFFFFFFFFFFFL conversion issueKT-13552 switch-to-when conversion creates broken codeKT-17379 Converting multiline expressions creates dangling operationsKT-18232 Kotlin code converter misses annotationsKT-18786 Convert Kotlin to Java generates error: Variable cannot be initialized before declarationKT-19523 J2K produce invalid code when convert some numbersKT-17397 Kotlin JPS Builder can mark dirty files already compiled in roundKT-19176 Java 9: JPS build fails for Kotlin source referring exported Kotlin class from another module: "unresolved supertypes: kotlin.Any"KT-19833 Cannot access class/superclass from SDK on compilation of JDK 9 module together with non-9 moduleKT-11369 REPL: Ctrl-C should interrupt the input, Ctrl-D should quitKT-19996 Error with 'kotlin-kapt' plugin and dagger2, clean project requiredThis release also includes the fixes and improvements from the previous
1.1.4 release.
Nothing published for this version
Nothing published for this version
`KT-15243` Report deprecation on usages of type alias expanded to a deprecated class
KT-11048 Android Extensions: cannot evaluate expression containing generated propertiesKT-10542 Android Extensions: No cache for ViewsKT-18250 Android Extensions: Allow to use SparseArray as a View cacheKT-11051 Android Extensions: completion of generated properties is unclear for ambiguous idsKT-14086 Android-extensions not generated using flavors dimensionKT-14912 Lint: "Code contains STOPSHIP marker" ignores suppress annotationKT-15164 Kotlin Lint: problems in delegate expression are not reportedKT-16934 Android Extensions fails to compile when importing synthetic properties for layouts in other modulesKT-17641 Problem with Kotlin Android Extensions and Gradle syntaxKT-17783 Kotlin Lint: quick fixes to add inapplicable @RequiresApi and @SuppressLint make code incompilableKT-17786 Kotlin Lint: "Surround with if()" quick fix is not suggested for single expression get()KT-17787 Kotlin Lint: "Add @TargetApi" quick fix is not suggested for top level property accessorKT-17788 Kotlin Lint: "Surround with if()" quick fix corrupts code in case of destructuring declarationKT-17890 [kotlin-android-extensions] Renaming layout file does not rename importKT-18012 Kotlin Android Extensions generates @NotNull properties for views present in a configuration and potentially missing in anotherKT-18545 Accessing to synthetic properties on smart casted Android components crashed compilerKT-10942 Support meta-annotations from JSR 305 for nullability qualifiersKT-14187 Redundant "is" check is not detectedKT-16603 Support inline suspend functionKT-17585 Generate state machine for named functions in their bodiesKT-3098 Generate efficient comparisonsKT-6247 Optimization for 'in' and '..'KT-7571 Don't box Double instance to call hashCode on Java 8KT-9900 Optimize range operations for 'until' extension from stdlibKT-11959 Unnceessary boxing/unboxing due to Comparable.compareToKT-12158 Optimize away boxing when comparing nullable primitive type value to primitive valueKT-13682 Reuse StringBuilder for concatenation and string interpolationKT-14323 IntelliJ lockup when using Apache Spark UDFKT-14375 Kotlin compiler failure with spark when creating a flexible type for scala.Function22KT-15235 Escaped characters in template strings are generating inefficient implementationsKT-17280 Inline constant expressions in string templatesKT-17903 Generate 'for-in-indices' as a precondition loopKT-18157 Optimize out trivial INSTANCEOF checksKT-18162 Do not check nullability assertions twice for effectively same valueKT-18164 Do not check nullability for values that have been already checked with !!KT-18478 Unnecessary nullification of bound variablesKT-18558 Flatten nested string concatenationKT-18777 Unnecessary boolean negation generated for 'if (expr !in range)'KT-1809 Confusing diagnostics when wrong number of type arguments are specified and there are several callee candiatesKT-2007 Improve diagnostics when + in not resolved on a pair of nullable intsKT-5066 Bad diagnostic message for ABSTRACT_MEMBER_NOT_IMPLEMENTED for (companion) objectKT-5511 Inconsistent handling of inner enumKT-7773 Disallow to explicitly extend Enum<E> classKT-7975 Unclear error message when redundant type arguments suppliedKT-8340 vararg in a property setter must be an errorKT-8612 Incorrect error message for var extension property without getter or setterKT-8829 Type parameter of a class is not resolved in the constructor parameter's default valueKT-8845 Bogus diagnostic on infix operation "in"KT-9282 Improve diagnostic on overload resolution ambiguity when a nullable argument is passed to non-null parameterKT-10045 Not specific enough compiler error message in case of trying to call overloaded private methodsKT-10164 Incorrect error message for external inline methodKT-10248 Smart casts: Misleading error on overloaded function callKT-10657 Confusing diagnostic when trying to invoke value as a functionKT-10839 Weird diagnostics on callable reference of unresolved classKT-11119 Confusing error message when overloaded method is called on nullable receiverKT-12408 Generic information lost for override valuesKT-12551 Report "unused expression" on unused bound double colon expressionsKT-13749 Error highlighting range for no 'override' modifier is bigger than neededKT-14598 Do not report "member is final and cannot be overridden" when overriding something from final classKT-14633 "If must have both main and else branches" diagnostic range is too highKT-14647 Confusing error message "'@receiver:' annotations could be applied only to extension function or extension property declarations"KT-14927 TCE in QualifiedExpressionResolverKT-15243 Report deprecation on usages of type alias expanded to a deprecated classKT-15804 Prohibit having duplicate parameter names in functional typesKT-15810 destructuring declarations don't work in scripts on the top levelKT-15931 IllegalStateException: ClassDescriptor of superType should not be null: T by aKT-16016 Compiler failure with NO_EXPECTED_TYPEKT-16448 Inline suspend functions with inlined suspend invocations are miscompiled (VerifyError, ClassNotFound)KT-16576 Wrong code generated with skynet benchmarkKT-17007 Kotlin is not optimizing away unreachable code based on const valsKT-17188 Do not propose to specify constructor invocation for classes without an accessible constructorKT-17611 Unnecessary "Name shadowed" warning on parameter of local function or local class memberKT-17692 NPE in compiler when calling KClass.java on function result of type UnitKT-17820 False "useless cast" when target type is flexibleKT-17972 Anonymous class generated from lambda captures its outer and tries to set nonexistent this$0 field.KT-18029 typealias not working in .kts filesKT-18085 Compilation Error:Kotlin: [Internal Error] kotlin.TypeCastException: null cannot be cast to non-null type com.intellij.psi.PsiElementKT-18115 Generic inherited classes in different packages with coroutine causes java.lang.VerifyError: Bad local variable typeKT-18189 Incorrect generic signature generated for implementation methods overriding special built-insKT-18234 Top-level variables in script aren't local variablesKT-18413 Strange compiler error - probably incremental compilerKT-18486 Superfluos generation of suspend function state-machine because of inner suspension of different coroutineKT-18598 Report error on access to declarations from non-exported packages and from inaccessible modules on Java 9KT-18698 java.lang.IllegalStateException: resolveToInstruction: incorrect index -1 for label L12 in subroutineKT-18702 Proguard warning with Kotlin 1.2-M1KT-18728 Integer method reference application fails with CompilationException: Back-end (JVM) Internal errorKT-18845 Exception on building gradle project with collection literalsKT-18867 Getting constant "VerifyError: Operand stack underflow" from Kotlin pluginKT-18916 Strange bytecode generated for 'null' passed as SAM adapter for Java interfaceKT-18983 Coroutines: miscompiled suspend for loop (local variables are not spilled around suspension points)KT-19175 Compiler generates different bytecode when classes are compiled separately or togetherKT-19246 Using generic inline function inside inline extension function throws java.lang.VerifyError: Bad return typeKT-19419 Support JSR 305 meta-annotations in libraries even when JSR 305 JAR is not on the classpathKT-2638 Inline property (with accessors) refactoringKT-7107 Rename refactoring for labelsKT-9818 Code style for method expression bodiesKT-11994 Data flow analysis support for Kotlin in IntelliJKT-14126 Code style wrapping options for enum constantsKT-14929 Deprecated ReplaceWith for type aliasesKT-14950 Code Style: Wrapping and Braces / "Local variable annotations" setting could be supportedKT-14965 "Configure Kotlin in project" should support build.gradle.ktsKT-15504 Add code style options to limit number of blank linesKT-16558 Code Style: Add Options for "Spaces Before Parentheses"KT-18113 Add new line options to code style for method parametersKT-18605 Option to not use continuation indent in chained callsKT-18607 Options to put blank lines between 'when' branchesKT-14606 Code completion calculates decompiled text when building lookup elements for PSI from compiled classesKT-17751 Kotlin slows down java inspections big timeKT-17835 10s hang on IDEA project openKT-18842 Very slow typing in certain files of Kotlin projectKT-18921 Configure library kind explicitlyKT-6610 Language injection doesn't work with String InterpolationKT-8893 Quick documentation shows type for top-level object-type elements, but "no name provided" for local onesKT-9359 "Accidental override" error message does not mention class (type) namesKT-10736 Highlighting usages doesn't work for synthetic properties created by the Android ExtensionsKT-11980 Spring: Generate Constructor, Setter Dependency in XML for Kotlin class: IOE at LightElement.add()KT-12123 Formatter: always indent after newline in variable initializationKT-12910 spring: create init-method/destroy-method from usage results in IOEKT-13072 Kotlin struggles to index JDK 9 classesKT-13099 formatting in angle brackets ignored and not fixedKT-14083 Formatting of where clasusesKT-14271 Value captured in closure doesn't always get highlightedKT-14561 Use regular indent for the primary constructor parametersKT-14974 "Find Usages" hangs in ExpressionsOfTypeProcessorKT-15093 Navigation to library may not work if there's another module in same project that references same jar via a different libraryKT-15270 Quickfix to migrate from @native***KT-16352 Create from usage inserts extra space in first stepKT-16725 Formatter does not fix spaces before square bracketsKT-16999 "Parameter info" shows duplicates on toStringKT-17357 BuiltIns for module build with project LV settings, not with facet module settingsKT-17394 Core formatting is wrong for expression body propertiesKT-17759 Breakpoints not working in JSKT-17771 Kotlin IntelliJ plugin should resolve Gradle script classpath asynchronouslyKT-17818 Formatting of long constructors is inconsistent with Kotlin code conventionsKT-17849 Automatically insert trimMargin() or trimIndent() on enter in multi-line stringsKT-17855 Main function is shown as unusedKT-17894 String trimIndent support inserts wrong indent in some casesKT-17942 Enter in multiline string with injection doesn't add a proper indentKT-17956 Type hints for properties that only consist of constructor calls don't add much valueKT-18006 Copying part of string literal with escape sequences converts this sequences to special charactersKT-18030 Parameters hints: kotlin.arrayOf(elements) should be on the blacklist by defaultKT-18059 Kotlin Lint: False positive error "requires api level 24" for interface method with bodyKT-18149 PIEAE "Element class CompositeElement of type REFERENCE_EXPRESSION (class KtNameReferenceExpressionElementType)" at PsiInvalidElementAccessException.createByNode()KT-18151 Do not import jdkHome from Gradle/Maven modelKT-18158 Expand selection should select the comment after expression getter on the same lineKT-18186 Create function from usage should infer expected return typeKT-18221 AE at org.jetbrains.kotlin.analyzer.ResolverForProjectImpl.descriptorForModuleKT-18269 Find Usages fails to find operator-style usages of invoke() defined as extensionKT-18298 spring: strange menu at "Navige to the spring bean" gutterKT-18309 Join lines breaks codeKT-18373 Facet: can't change target platform between JVM versionsKT-18376 Maven import fails with NPE at ArgumentUtils.convertArgumentsToStringList() if jvmTarget setting is absentKT-18418 Generate equals and hashCode should be available for classes without propertiesKT-18429 Android strings resources folding false positivesKT-18444 Type hints don't work for destructuring declarationsKT-18475 Gradle/IntelliJ sync can result in IntelliJ modules getting gradle artifacts added to the classpath, breaking compilationKT-18479 Can't find usages of invoke operator with vararg parameterKT-18501 Quick Documentation doesn't show when @Supress("unused") is above the javadocKT-18566 Long find usages for operators when there are several operators for the same typeKT-18596 "Generate hashCode" produces poorly formatted codeKT-18725 Android: kotlin-language facet disappears on reopening the projectKT-18974 Type hints shouldn't appear for negative literalsKT-19054 Lags in typing in string literalKT-19062 Member navigation doesn't work in expression bodies of getters with inferred property typeKT-19210 Command line flags like -Xload-jsr305-annotations have no effect in IDEKT-19303 Project language version settings are used to analyze libraries, disabling module-specific analysis flags like -Xjsr305-annotationsKT-8208 Support static member completion with not-imported-yet classesKT-12104 Smart completion does not work with "invoke" when receiver is expressionKT-17074 Incorrect autocomplete suggestions for contexts affected by @DslMarkerKT-18443 IntelliJ not handling default constructor argument from companion object wellKT-19191 Disable completion binding context caching by defaultKT-14845 Evaluate expression freezes debugger while evaluating filter, for time proportional to number of elements in collection.KT-17120 Evaluate expression: cannot find local variableKT-18453 Support 'Step over' and 'Force step over' action for suspended callsKT-18577 Debug: Smart Step Into does not enter functions passed as variable or parameter: "Method invoke() has not been called"KT-18632 Debug: Smart Step Into does not enter functions passed as variable or parameter when signature of lambda and parameter doesn't matchKT-18949 Can't stop on breakpoint after call to inline in Android StudioKT-19403 30s complete hangs of application on breakpoints stop attemptKT-12119 Intention to replace .addAll() on a mutable collection with +=KT-13436 Replace 'when' with return: handle case when all branches jump out (return Nothing)KT-13458 Cascade "replace with return" for if/when expressionsKT-13676 Add better quickfix for 'let' and 'error 'only not null or asserted calls are allowed'KT-14648 Add quickfix for @receiver annotation being applied to extension member instead of extension typeKT-14799 Add inspection to simplify successive null checks into safe-call and null checkKT-14900 "Lift return out of when/if" should work with control flow expressionsKT-15257 JS: quickfix to migrate from @native to externalKT-15368 Add intention to convert Boolean? == true to ?: false and vice versaKT-15893 "Array property in data class" inspection could have a quick fix to generate equals() and hashcode()KT-15958 Inspection to inline "unnecessary" variablesKT-16063 Inspection to suggest converting block body to expression bodyKT-17198 Inspection to replace filter calls followed by functions with a predicate variantKT-17580 Add remaning branches intention should be available for sealed classesKT-17583 Support "Declaration access can be weaker" inspection for kotlin propertiesKT-17815 Quick-fix "Replace with safe call & elvis"KT-17842 Add quick-fix for NO_CONSTRUCTOR errorKT-17895 Inspection to replace 'a .. b-1' with 'a until b'KT-17919 Add "Simplify if" intention/inspectionKT-17920 Add intention/inspection removing redundant spread operator for arrayOf callKT-17970 Intention actions to format parameter/argument list placing each on separate lineKT-18236 Add inspection for potentially wrongly placed unary operatorsKT-18274 Add inspection to replace map+joinTo with joinTo(transform)KT-18386 Inspection to detect safe calls of orEmpty()KT-18438 Add inspection for empty ranges with start > endInclusiveKT-18460 Add intentions to apply De Morgan's laws to conditionsKT-18516 Add inspection to detect & remove redundant UnitKT-18517 Provide "Remove explicit type" inspection for some obvious casesKT-18534 Quick-fix to add empty brackets after primary constructorKT-18540 Add quickfix to create data class property from usage in destructuring declarationKT-18615 Inspection to replace if with three or more options with whenKT-18749 Inspection for useless operations on collection with not-null elementsKT-18830 "Lift return out of try"KT-11906 Spring: "Create getter / setter" quick fixes cause IOE at LightElement.add()KT-12524 Wrong "redundant semicolon" for semicolon inside an enum class before the companion object declarationKT-13870 Wrong caption "Change to property access" for Quick Fix to convert class instantiation to object referenceKT-13886 Unused variable intention should remove constant initializerKT-14092 "Make <modifier>" intention inserts modifier between annotation and class keywordsKT-14093 "Make <modifier>" intention available only on modifier when declaration already have a visibility modifierKT-14643 "Add non-null asserted call" quickfix should not be offered on literal null constantsKT-15242 Create type from usage should include constraints into base typesKT-16046 Globally unused typealias is not marked as suchKT-16069 "Simplify if statement" doesn't work in specific caseKT-17026 "Replace explicit parameter" should not be shown on destructuring declarationKT-17092 Create function from usage works incorrectly with ::class expressionKT-17353 "Create type parameter from usage" should not be offered for unresolved annotationsKT-17537 Create from Usage should suggest Boolean return type if function is used in if conditionKT-17623 "Remove explicit type arguments" is too conservative sometimesKT-17651 Create property from usage should make lateinit varKT-17726 Nullability quick-fixes operate incorrectly with implicit nullable receiverKT-17740 CME at MakeOverriddenMemberOpenFix.getText()KT-18506 Inspection on final Kotlin spring components is false positiveKT-17823 Intention "Make private" and friends should respect modifier orderKT-17917 Superfluos suggestion to add replaceWith for DeprecationLevel.HIDDENKT-17954 Setting error severity on "Kotlin | Function or property has platform type" does not show up as error in IDEKT-17996 Android Studio Default Constructor Command Removes Custom SetterKT-18033 Do not suggest to cast expression to non-nullable type when it's the same as !!KT-18035 Quickfix for "CanBePrimaryConstructorProperty" does not work correctly with vararg constructor propertiesKT-18044 "Move to class body" intention: better placement in the bodyKT-18074 Suggestion in Intention 'Specify return type explicitly' doesn't support generic type parameterKT-18120 Recursive property accessor gives false positivesKT-18148 Incorrect, not working quickfix - final and can't be overriddenKT-18160 Circular autofix actions between redundant modality and non-final variable with allopen pluginKT-18194 "Protected in final" inspection works incorrectly with all-openKT-18195 "Redundant modality" is not reported with all-openKT-18197 Redundant "make open" for abstract class member with all-openKT-18253 Wrong location of "Redundant 'toString()' call in string template" quickfixKT-18347 Nullability quickfixes are not helpful when using invoke operatorKT-18368 "Cast expression x to Type" fails for expression inside argument listKT-18375 Backticked function name is suggested to be renamed to the same nameKT-18385 Spring: Generate Dependency causes Throwable "AWT events are not allowed inside write action"KT-18407 "Move property to constructor" action should not appear on properties declared in interfacesKT-18425 Make <modifier> intention inserts modifier at wrong position for sealed classKT-18529 Add '!!' quick fix applies to wrong expression on operation 'in'KT-18642 Remove unused parameter intention transfers default value to another parameterKT-18683 Wrong 'equals' is generated for Kotlin JS projectKT-18709 "Lift assignment out of if" changes semanticsKT-18711 "Lift return out of when" changes semantics for functional typeKT-18717 Report MemberVisibilityCanBePrivate on visibility modifier if presentKT-18722 Correct "before" sample in description for intention Convert to enum classKT-18723 Correct "after" sample for intention Convert to applyKT-18852 "Lift return out of when" does not work for exhaustive when without elseKT-18928 In IDE, "Replace 'if' expression with safe access expression incorrectly replace expression when using propertyKT-18954 Kotlin plugin updater activates in headless modeKT-18970 Do not report "property can be private" on JvmField propertiesKT-19232 Replace Math.min with coerceAtMost intention is brokenKT-19272 Do not report "function can be private" on JUnit 3 test methodsKT-4379 Support renaming import aliasKT-8180 Copy ClassKT-17547 Refactor / Move: Problems Detected / Conflicts in View: only referencing file is mentionedKT-9054 Copy / pasting a Kotlin file should bring up the Copy Class dialogKT-13437 Change signature replaces return type with Unit when it's not requestedKT-15859 Renaming variables or functions with backticks removes the backticksKT-16180 Opened decompiled editor blocks refactoring of involved elementKT-17062 Field/property inline refactoring works incorrectly with Kotlin & Java usagesKT-17128 Refactor / Rename in the last position of label name throws Throwable "PsiElement(IDENTIFIER) by com.intellij.refactoring.rename.inplace.MemberInplaceRenamer" at InplaceRefactoring.buildTemplateAndStart()KT-17489 Refactor / Inline Property: cannot inline val with the following plusAssignKT-17571 Refactor / Move warns about using private/internal class from Java, but this is not related to the moveKT-17622 Refactor / Inline Function loses type argumentsKT-18034 Copy Class refactoring replaces all usages of the class with the new one!KT-18076 Refactor / Rename on alias of Java class suggests to select between refactoring handlersKT-18096 Refactor / Rename on import alias usage of a class member element tries to rename the element itselfKT-18098 Refactor / Copy can't generate proper import if original code uses import alias of java memberKT-18135 Refactor: no Problems Detected for Copy/Move source using platform type to another platform's moduleKT-18200 Refactor / Copy is enabled for Java source selected with Kotlin file, but not for Java source selected with Kotlin classKT-18241 Refactor / Copy (and Move) fails for chain of lambdas and invoke()'s with IllegalStateException: "No selector for PARENTHESIZED" at KtSimpleNameReference.changeQualifiedName()KT-18325 Renaming a parameter name in one implementation silently rename it in all implementationsKT-18390 Refactor / Copy called for Java class opens only Copy File dialogKT-18699 Refactor / Copy, Move loses necessary parenthesesKT-18738 Misleading quick fix message for an 'open' modifier on an interface memberKT-19130 Refactor / Inline val: "Show inline dialog for local variables" setting is ignoredKT-18331 JS: compilation performance degrades fast when inlined nested labels are usedKT-4078 JS sourcemaps should contain relative path. The relative base & prefix should be set from project/module preferencesKT-8020 JS: String? plus operator crashes on runtimeKT-13919 JS: Source map weirdnessKT-15456 JS: inlining doesn't work for array constructor with size and lambdaKT-16984 KotlinJS - 1 > 2 > false causes unhandled javascript exceptionKT-17285 JS: wrong result when call function with default parameter overridden by delegation by function from another interfaceKT-17445 JS: minifier for Kotlin JS appsKT-17476 JS: Some symbols in identifiers compile, but are not legalKT-17871 JS: spread vararg call doesn't work on functions imported with @JsModuleKT-18027 JS: Illegal symbols are possible in backticked labels, but cause crash in runtime and malformed js codeKT-18032 JS: Illegal symbols are possible in backticked package names, but cause crash in runtime and malformed js codeKT-18169 JS: reified generic backticked type name containing non-identifier symbols causes malformed JS and runtime crashKT-18187 JS backend does not copy non-abstract method of interface to implementing class in some casesKT-18201 JS backend generates wrong code for inline function which calls non-inline function from another moduleKT-18652 JS: Objects from same package but from different libraries are incorrectly accessedKT-18526 Small typo in documentation for kotlin-stdlib / kotlin.collections / retainAllKT-18624 JS: Bad return type for Promise.allKT-18670 Incorrect documentation of MutableMap.valuesKT-18671 Provide implementation for CoroutineContext.Element functions.KT-15222 Support reflection for local delegated propertiesKT-14094 IllegalAccessException when try to get members annotated by private annotation with parameterKT-16399 Embedded Tomcat fails to load Class-Path: kotlin-runtime.jar from kotlin-reflect-1.0.6.jarKT-16810 Do not include incorrect ExternalOverridabilityCondition service file into kotlin-reflect.jarKT-18404 “KotlinReflectionInternalError: This callable does not support a default call” when function or constructor has more than 32 parametersKT-18476 KClass<*>.superclasses does not contain Any::classKT-18480 Kotlin Reflection unable to call getter of protected read-only val with custom getter from parent classKT-18245 NoArg: IllegalAccessError on instantiating sealed class child via Java reflectionKT-18874 Crash during compilation after switching to 1.1.3-release-IJ2017.2-2KT-19047 Private methods are final event if used with the all-open-plugin.KT-17297 Report error when CLI compiler is not being run under Java 8+KT-18599 Support -Xmodule-path and -Xadd-modules arguments for modular compilation on Java 9KT-18794 kotlinc-jvm prints an irrelevant error message when a JVM Home directory does not existKT-3045 Report error instead of failing with exception on "kotlinc -script foo.kt"KT-18754 Rename CLI argument "-module" to "-Xbuild-file"KT-18927 run kotlin app crashes eclipseKT-10537 Gradle plugin doesn't pick up changed project.buildDirKT-17031 JVM crash on in-process compilation in Gradle with debugKT-17035 Gradle Kotlin Plugin can not compile tests calling source internal fields/variables if compileJava dumps classes to a different directory and then copied classes are moved to sourceSets.main.output.classesDir by a different taskKT-17197 Gradle Kotlin plugin does not wire task dependencies correctly, causing compilation failuresKT-17618 Pass freeCompilerArgs to compiler unchangedKT-18262 kotlin-spring should also open @SpringBootTest classesKT-18647 Kotlin incremental compile cannot be disabled.KT-18832 Java version parsing error with Gradle Kotlin plugin + JDK 9KT-10762 J2K removes empty lines from Doc-commentsKT-13146 J2K goes into infinite loop with anonymous inner class that references itselfKT-15761 Converting Java to Kotlin corrupts string which includes escaped backslashKT-16133 Converting switch statement inserts dead code (possibly as a false positive for fall-through)KT-16142 Kotlin Konverter produces empty line in KdocKT-18038 Java to Kotlin converter messes up empty lines while converting from JavaDoc to KDocKT-18051 Doesn't work the auto-convert Java to Kotlin in Android Studio 3.0KT-18141 J2K changes semantic when while does not have a bodyKT-18142 J2K changes semantics when if does not have a bodyKT-18512 J2K Incorrect null parameter conversionKT-14848 JPS: invalid compiler argument causes exception (see also EA-92062)KT-16057 Provide better error message when the same compiler argument is set twiceKT-19155 IllegalArgumentException: Unsupported kind: PACKAGE_LOCAL_VARIABLE_LIST in incremental compilationKT-18022 kotlin maven plugin - adding dependencies overwrites arguments.pluginClassPath preventing kapt goal from runningKT-18224 Maven compilation with JDK 9 fails with InaccessibleObjectExceptionKT-5620 REPL: Support destructuring declarationsKT-12564 Kotlin REPL Doesn't Perform Many ChecksKT-15172 REPL: function declarations that contain empty lines throw errorKT-18181 REPL: support non-headless execution for Swing codeKT-18349 REPL: do not show warnings when there are errorsKT-18682 Kapt: Anonymous class types are not rendered properly in stubsKT-18758 Kotlin 1.1.3 / Kapt fails with gradleKT-18799 Kapt3, IC: Kapt does not generate annotation value for constant values in documented typesKT-19178 Kapt: Build dependencies from 'kapt' configuration should go into the 'kaptCompile' task dependenciesKT-19179 Kapt: Gradle silently skips 'kotlinKapt' task sometimesKT-19211 Kapt3: Generated classes output is not synchronized with Java classes output in pure Java projects (Gradle 4+)This release also includes the fixes and improvements from the previous
1.1.3 release.
Nothing published for this version
`KT-17613` 'this' expression referring to deprecated class instance is highlighted as deprecated in IDE
KT-12049 Kotlin Lint: "Missing Parcelable CREATOR field" could suggest "Add implementation" quick fixKT-16712 Show warning in IDEA when using Java 1.8 api in AndroidKT-16843 Android: provide gutter icons for resources like colors and drawablesKT-17389 Implement Intention "Add Activity / BroadcastReceiver / Service to manifest"KT-17465 Add intentions Add/Remove/Redo parcelable implementationKT-14970 ClassCastException: butterknife.lint.LintRegistry cannot be cast to com.android.tools.klint.client.api.IssueRegistryKT-17287 Configure kotlin in Android Studio: don't show menu Choose Configurator with single choiceKT-17288 Android Studio: please remove menu item Configure Kotlin (JavaScript) in ProjectKT-17289 Android Studio: Hide "Configure Kotlin" balloon if Kotlin is configured from a kt file bannerKT-17291 Android Studio 2.4: Cannot get property 'metaClass' on null object error after Kotlin configuringKT-17610 "Unknown reference: kotlinx"KT-11167 Support compilation against JRE 9KT-17497 Warn about redundant else branch in exhaustive whenKT-7931 Optimize iteration over strings/charsequences on JVMKT-10848 Optimize substitution of inline function with default parametersKT-12497 Optimize inlined bytecode for functions with default parametersKT-17342 Optimize control-flow for case of many variablesKT-17562 Optimize KtFile::isScriptKT-4960 Redeclaration is not reported for type parameters of interfacesKT-5160 No warning when a lambda parameter hides a variableKT-5246 is check fails on cyclic type parameter boundsKT-5354 Wrong label resolution when label name clash with fun nameKT-7645 Prohibit default value for catch-block parameterKT-7724 Can never import private memberKT-7796 Wrong scope for default parameter value resolutionKT-7984 Unexpected "Unresolved reference" in a default value expression in a local functionKT-7985 Unexpected "Unresolved reference to a type parameter" in a default value expression in a local functionKT-8320 It should not be possible to catch a type parameter typeKT-8877 Automatic labeling doesn't work for infix callsKT-9251 Qualified this does not work with labeled function literalsKT-9551 False warning "No cast needed"KT-9645 Incorrect inspection: No cast NeededKT-9986 'null as T' should be unchecked castKT-10397 java.lang.reflect.GenericSignatureFormatError when generic inner class is mentioned in function signatureKT-11474 ISE: Requested A, got foo.A in JavaClassFinderImpl on Java file with package not matching directoryKT-11622 False "No cast needed" when ambiguous call because of smart castKT-12245 Code with annotation that has an unresolved identifier as a parameter compiles successfullyKT-12269 False "Non-null type is checked for instance of nullable type"KT-12683 A problem with is operator and non-reified type-parametersKT-12690 USELESS_CAST compiler warning may break code when fix is appliedKT-13348 Report useless cast on safe cast from nullable type to the same not null typeKT-13597 No check for accessing final field in local object in constructorKT-13997 Incorrect "Property must be initialized or be abstract" error for property with external accessorsKT-14381 Possible val reassignment not detected inside init blockKT-14564 java.lang.VerifyError: Bad local variable typeKT-14801 Invoke error message if nested class has the same name as a function from base classKT-14977 IDE doesn't warn about checking null value of variable that cannot be nullKT-15085 Label and function naming conflict is resolved in unintuitive wayKT-15161 False warning "no cast needed" for array creationKT-15480 Cannot destruct a list when "if" has an "else" branchKT-15495 Internal typealiases in the same module are inaccessible on incremental compilationKT-15566 Object member imported in file scope used in delegation expression in object declaration should be a compiler errorKT-16016 Compiler failure with NO_EXPECTED_TYPEKT-16426 Return statement resolved to function instead of property getterKT-16813 Anonymous objects returned from private-in-file members should behave as for private class membersKT-16864 Local delegate + ad-hoc object leads to CCEKT-17144 Breakpoint inside whenKT-17149 Incorrect warning "Kotlin: This operation has led to an overflow"KT-17156 No re-parse after lambda was converted to blockKT-17318 Typo in DSL Marker message cantKT-17384 break/continue expression in inlined function parameter argument causes compilation exceptionKT-17457 Suspend + LongRange couldn't transform method node issue in Kotlin 1.1.1KT-17479 val reassign is allowed via explicit this receiverKT-17560 Overload resolution ambiguity on semi-valid class-files generated by ScalaKT-17572 try-catch expression in inlined function parameter argument causes compilation exceptionKT-17573 try-finally expression in inlined function parameter argument fails with VerifyErrorKT-17588 Compiler error while optimizer tries to get rid of captured variableKT-17590 conditional return in inline function parameter argument causes compilation exceptionKT-17591 non-conditional return in inline function parameter argument causes compilation exceptionKT-17613 'this' expression referring to deprecated class instance is highlighted as deprecated in IDEKT-18358 Keep smart pointers instead of PSI elements in JavaElementImpl and its descendantsKT-7810 Separate icon for abstract classKT-8617 Recognize TODO method usages and highlight them same as TODO-commentKT-12629 Add rainbow/semantic-highlighting for local variablesKT-14109 support parameter hints in idea pluginKT-16645 Support inlay type hints for implicitly typed vals, properties, and functionsKT-17807 Add Smart Enter processor for object expessionsKT-16995 Typing during in-place refactorings is impossibly laggyKT-17331 Frequent long editor freezesKT-17383 Slow editing in Kotlin files If breadcrumbs are enabled in module with many dependenciesKT-17495 Much time spent in LibraryDependenciesCache.getLibrariesAndSdksUsedWithKT-7848 When you paste text into a string literal special symbols should be escapedKT-7954 'Go to symbol' doesn't show containing declaration for local symbolsKT-9091 Sometimes backticks of the method name with spaces are highlighted with rose backgroundKT-10577 Refactor / Move Kotlin + Java files adds wrong import in very specific caseKT-12856 Import fold region is not updated to include imports added while editing fileKT-14161 Navigate to symbol doesn't see local named functionsKT-14601 Formatter inserts unnecessary indent before 'else'KT-14639 Incorrect name of code style setting: Align in columns 'case' branchesKT-15029 "Go to symbol" action doesn't find properties declared in primary constructorsKT-15255 Move cursor to a better place when creating a new Kotlin fileKT-15273 Kotlin IDE plugin adds import java.lang.String with "Optimize Imports", making project brokenKT-16159 Wrong "Constructor call" highlighting if operator is called on newly created objectKT-16392 Gradle/Maven java module: Add framework support/ Kotlin (Java or JavaScript) adds nothingKT-16423 Show expression type doesn't work when selecting from the middle of expression with "Expand Selection"KT-16635 Do not show kotlin-specific live templates macros for all context typesKT-16755 No "Is sublassed by" icon for sealed classKT-16775 Rewrite at slice CLASS key: OBJECT_DECLARATION while writing code in IDEKT-16803 Suspending iteration is not marked in the gutter by IDEA as suspending invocationKT-17037 Editor suggests to import EmptyCoroutineContext.plus for any unresolved +KT-17046 Kotlin facet, Compiler plugins: last line is shown empty when not selectedKT-17088 Settings: Kotlin Compiler: "Destination directory" should be enabled if "Copy library runtime files" is on on the dialog openingKT-17094 Kotlin facet, additional command line parameters dialog: please provide a titleKT-17138 Configure Kotlin in Project: Choose Configurator popup: names could be unifiedKT-17145 Kotlin facet: IllegalArgumentException on attempt to show settings common for several javascript kotlin facets with different moduleKindKT-17223 Absolute path to Kotlin compiler plugin in IMLKT-17293 Project Structure dialog is opened too slow for a project with a lot of empty gradle modulesKT-17304 IDEA shows wrong type for expressionsKT-17439 Kotlin: 'autoscroll from source' doesn't work in Structure viewKT-17448 Regression: Sample ResolveKT-17482 Set jvmTarget to 1.8 by default when configuring a project with JDK 1.8KT-17492 -jvm-target is ignored by IntelliJKT-17505 LazyLightClassMemberMatchingError from collection implementationKT-17517 Compiler options specified as properties are not handled by Maven importerKT-17521 Quickfix to enable coroutines should work for Maven projectsKT-17525 IDE: KNPE at KotlinAddImportActionKt.createSingleImportActionForConstructor() on invalid reference to inner class constructorKT-17578 Throwable: "Reported element PsiIdentifier:AnnotationConfiguration is not from the file 'PsiFile:InSource.kt' the inspection 'ImplicitSubclassInspection'"KT-17638 ISE in KotlinElementDescriptionProvider.renderShortKT-17698 Unknown library format - prevents IDEA from configuring Kotlin JSKT-17714 UAST inspection on non-physical elementKT-17722 IntelliJ plugin uses wrong JVM target when Kotlin Facet is not configuredKT-17770 Kotlin IntelliJ plugin fails to re-index Gradle script classpath after change to the plugins blockKT-17777 Logger$EmptyThrowable: "Facet Kotlin (app) [kotlin-language] not found" at FacetModelImpl.removeFacet()KT-17810 Exception from unused import inspection leads to code analysis hangsKT-17821 In Kotlin's plugin KotlinJsMetadataVersionIndex loads file with VfsUtilCore.loadTextKT-17840 Show expression type on this shows bogus disambiguationKT-17845 Searching for usages of override property in primary constructor doesn't suggest base property searchKT-17847 Kotlin facet: strange warning if API version = 1.2KT-17857 Java should see classes affected by "allopen" plugin as openKT-17861 Setting 'kotlin.experimental.coroutines "enable"' doesn't work for Android projectsKT-17875 New Project/Module with Kotlin: on attempt to use libraries from plugin IDE suggests to rewrite themKT-17876 New Project/Module with Kotlin: with "Copy to" option only part of jars are copiedKT-17899 Navigate to symbol: vararg signatures are indistinguishable from non-vararg onesKT-18070 KtLightModifierList.hasExplicitModifier("default") is true for interface method with bodyKT-11250 Auto-completion for convention function names in 'operator fun' definitionsKT-12293 Autocompletion should propose lateinit var in addition to lateinitKT-13673 Add 'companion { ... }' code completion opsionKT-10978 Kotlin + JOOQ + Intellij performance is unusableKT-16715 Typing is very slow since 1.1KT-16850 UI freeze for several seconds during inserting selected completion variantKT-13524 Completing the keyword 'constructor' before a primary constructor wrongly inserts parenthesesKT-14665 No completion for "else" keywordKT-15603 Annoying completion when making a primary constructor privateKT-16161 Completion of 'onEach' inserts unneeded angular bracketsKT-16856 Code completion optimizationKT-15823 Breakpoints not work inside crossinline from init of object passed into collectionKT-15854 Debugger not able to evaluate internal member functionsKT-16025 Step into suspend functions stops at the function endKT-17295 Can't stop in kotlin.concurrent.timer lambda parameterKT-10981 Quickfix for INAPPLICABLE_JVM_FIELD to replace with 'const' when possibleKT-14046 Add intention to add inline keyword if a function has parameter with noinline and/or crossinline modifierKT-14137 Add intention to convert top level val with object expression to objectKT-15903 QuickFix to add/remove suspend in hierarchiesKT-16786 Intention to add "open" modifier to a non-private method or property in an open classKT-16851 Quickfix adding qualifier @call to unallowed 'return' in closuresKT-17053 Inspection to detect use of callable reference as a lambda bodyKT-17054 Intention/ inspection to convert 'if' with 'is' check to 'as?' with safe callKT-17191 Intention to name anonymous (_) parameterKT-17221 Inspection for recursive calls in property accessorsKT-17520 Quickfix to update language/API version should work for Maven projectsKT-17650 Add quickfix inserting 'lateinit' modifier for not-initialized propertyKT-17660 Inspection: data class copy without named argument(s)KT-10211 "Replace infix call with ordinary call" appears both as a quickfix and as an intention in the pop-upKT-11003 Invalid quickfix in companion object for open propertiesKT-12805 False positive redundant semicolon after while without block expressionKT-14335 Unexpected range of "convert lambda to reference" intentionKT-14435 "Use destructuring declaration" should be available as intention even without usagesKT-14443 IDEA intention suggest to make a method in an interface finalKT-14820 Convert function to property shouldn't insert explicit type if it was inferred previouslyKT-15076 Replace if with elvis inspection should not be reported in some complex casesKT-15543 "Convert receiver to parameter" refactoring breaks codeKT-15942 "Convert to secondary constructor" intention is available for data classKT-16136 Wrong type parameter variance suggested if type parameter is used in nested anonymous objectKT-16339 Incorrect warning: 'protected' visibility is effectively 'private' in a final classKT-16577 "Redundant semicolon" is not reported for semicolon after package statement in file with no importsKT-17079 Kotlin: Bad conversion of double comparison to range check if bounds have mixed typesKT-17372 Specify explicit lambda signature handles anonymous parameters incorrectlyKT-17404 Editor: attempt to pass type parameter as reified argument causes AE "Classifier descriptor of a type should be of type ClassDescriptor" at DescriptorUtils.getClassDescriptorForTypeConstructor()KT-17408 "Convert to secondary constructor" intention is available for annotation parametersKT-17503 Intention "To raw string literal" should handle string concatenationsKT-17599 "Make primary constructor internal" intention is available for annotation classKT-17600 "Make primary constructor private" intention is available for annotation classKT-17707 "Final declaration can't be overridden at runtime" inspection reports Kotlin classes non final due to compiler pluginKT-17708 "Move to class body" intention is available for annotation parametersKT-17762 'Convert to range' intention generates inequivalent code for doublesKT-17234 Refactor / Inline on library property is rejected after GUI freeze for a whileKT-17333 KotlinChangeInfo retains 132MB of the heapKT-8370 "Can't move to original file" should not be an errorKT-8930 Refactor / Move preivew: moved element is shown as reference, and its file as subjectKT-9158 Refactor / Move preview mentions the package statement of moved class as a usageKT-13192 Refactor / Move: to another class: "To" field code completion suggests facade and Java classesKT-13466 Refactor / Move: class to upper level: the package statement is not updatedKT-15519 KDoc comments for data class values get removed by Change SignatureKT-17211 Refactor / Move several files: superfluous FQN is inserted into reference to same file's elementKT-17213 Refactor / Inline Function: parameters of lambda as call argument turn incompilableKT-17272 Refactor / Inline Function: unused String literal in parameters is kept (while unsed Int is not)KT-17273 Refactor / Inline Function: PIEAE: "Element: class org.jetbrains.kotlin.psi.KtCallExpression because: different providers" at PsiUtilCore.ensureValid()KT-17296 Refactor / Inline Function: UOE at ExpressionReplacementPerformer.findOrCreateBlockToInsertStatement() for call of multi-statement function in declarationKT-17330 Inline kotlin function causes an infinite loopKT-17395 Refactor / Inline Function: arguments passed to lambda turns code to incompilableKT-17496 Refactor / Move: calls to moved extension function type properties are updated (incorrectly)KT-17515 Refactor / Move inner class to another class, Move companion object: disabled in editor, but available in Move dialogKT-17526 Refactor / Move: reference to companion member gets superfluous companion name in certain casesKT-17538 Refactor / Move: moving file with import alias removes alias usage from codeKT-17545 Refactor / Move: false Problems Detected on moving class using parent's protected class, objectKT-18018 F5 (for Copy) does not work for Kotlin files anymoreKT-18205 Moving multiple classes causes imports to be converted to fully qualified class namesKT-14988 Support running the Kotlin compiler on Java 9KT-17112 IncompatibleClassChangeError on invoking Kotlin compiler daemon on JDK 9KT-12926 JS: use # instead of @ when linking to sourcemap from generated codeKT-13577 Double.hashCode is zero for big numbersKT-15135 JS: support friend modulesKT-15484 JS: (node): println with object /number argument leads to "TypeError: Invalid data, chunk must be a string or buffer, not object/number"KT-16658 JS: Suspend function with default param value in interfaceKT-16717 KotlinJs - copy() on data class doesn't work with when there is a secondary constructorKT-16745 JS: initialize enum fields before calling companion objects's initializerKT-16951 JS: coroutine suspension point is not inserted when inlining suspend function with tail call to another suspend functionKT-16979 Kotlin.js : Intellij test and productions sources produce a AMD module with the same nameKT-17067 JS: suspendCoroutine not working as expectedKT-17219 Hexadecimal literals in js(...) argument are replaced by wrong decimal constantsKT-17281 JS: wrong code generated for a recursive call in suspend functionKT-17446 JS: incorrect code generated for call to suspendCoroutineOrReturn when the same function calls another suspend functionKT-17540 Incorrect inlining optimization of also/apply functionKT-17700 Wrong code generated for 'str += (nullableChar ?: break)'KT-17966 JS: Char literal inside of string templateKT-17453 Array iterators throw IndexOutOfBoundsException instead of NoSuchElementExceptionKT-17635 Document String#toIntOfNull may throw an exceptionKT-17686 takeLast(n) incorrectly performs drop(n) for Lists without random accessKT-17704 Update JavaDoc for ReentrantReadWriteLock.write to put more stress on the fact that to upgrade to write lock, read lock is first released.KT-17853 JS: Confusing parameter names in 'Math.atan2`KT-18092 Issue using kotlin-reflect with proguard: missing annotations Mutable and ReadOnlyKT-18210 JS String::match(regex) should have nullable return typeKT-17055 NPE in hashCode and equals of kotlin.jvm.internal.FunctionReference (on local functions)KT-17594 Cache the result of val Class<T>.kotlin: KClass<T>KT-18494 KNPE from Kotlin reflection (sometimes) in UtilKt.toJavaClassKT-16692 No-Arg-Constructor plugin should generate code to initialize delegatesKT-17696 Allow kotlinc to take friend modules as .jar filesKT-17697 Allow kotlinc to take .java files as argumentsKT-9370 not possible to pass an argument that starts with "-" to a script using kotlincKT-17100 "kotlin" launcher script: do not add current working directory to classpath if explicit "-classpath" is specifiedKT-17140 Warning "classpath entry points to a file that is not a jar file" could just be disabledKT-17264 Change the format of advanced CLI arguments ("-X...") to require value after "=", not a whitespaceKT-18180 Modules not exported by java.se are not readable when compiling against JRE 9KT-15151 Kapt3: Support incremental compilation of Java stubsKT-16298 Gradle: IOException "Parent file doesn't exist:/.../artifact-difference.tab.len" on non-incremental clean after incremental buildKT-17681 Support the new API of Android Gradle plugin (2.4.0+)KT-17936 Circular dependency between gradle tasks dataBindingExportBuildInfoDebug and compileDebugKotlinKT-17960 Improve test of memory leak with Gradle daemonKT-18047 Gradle kotlin options should use unset value as default for languageVersion and apiVersionKT-16754 J2K: Apply quick-fixes from EDT thread onlyKT-16816 Java To Kotlin bug: if + chained assignment doesn't include bracketsKT-17230 J2K DeadlockKT-17712 Exception in J2K during InlineCodegen convertion: com.intellij.psi.impl.source.JavaDummyHolder cannot be cast to com.intellij.psi.PsiJavaFileKT-16568 modulesWhoseInternalsAreVisible in ModuleDependencies are not filled in for JS projectsKT-17387 When compiling in the IDE, progress tracker says "configuring the compilation environment" when it clearly isn'tKT-17665 JPS: Kotlin: The '-d' option with a directory destination is ignored because '-module' is specifiedKT-17801 Unresolved supertypes from JRE on JDK 9 in JPSKT-17093 Import from maven: please provide a special tag for coroutine optionKT-10028 Support parallel builds in mavenKT-15050 Random build failures using maven 3 (multi-thread) + bambooKT-15318 Intermitent Kotlin compilation errorsKT-16283 Maven compiler plugin warns, "Source root doesn't exist"KT-16743 Update configuration options in Kotlin Maven pluginKT-16762 Maven: JS compiler option main is missingKT-5822 Exception on package directive in REPLKT-10060 REPL: Cannot execute more than 255 linesKT-17365 REPL crash when referencing a variable whose definition threw an exceptionKT-17245 Kapt: Javac compiler arguments can't be specified in GradleKT-17418 "The following options were not recognized by any processor: '[kapt.kotlin.generated]'" warning from Javac shouldn't be shown even if no processor supports the generated annotationKT-17456 kapt3: NoClassDefFound com/sun/tools/javac/util/ContextKT-17567 Kapt (1.1.2-eap-77) generates invalid Java stub for internal classKT-17620 Kapt3 IC: avoid running AP when API is not changedKT-17959 Kapt3 doesn't preserve method parameter names for abstract methodsKT-17999 Cannot use KAPT3 1.1.2-4 in Android Studio java libs (null TypeCastException to WrappedVariantData<*> on Gradle Sync)This release also includes the fixes and improvements from the previous
1.1.2 release.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
`KT-16272` Missing deprecation and SinceKotlin-related diagnostic for variable as function call
KT-16113 Support destructuring parameters of suspend lambda with suspend componentXKT-3805 Report error on double constants out of rangeKT-6014 Wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED for toString implemented by delegationKT-8959 Missing diagnostic when trying to call inner class constructor qualificated with outer class nameKT-12477 Do not report 'const' inapplicability on property of error typeKT-11010 NDFDE for local object with type parametersKT-12881 Descriptor wasn't found for declaration TYPE_PARAMETERKT-13342 Unqualified super call should not resolve to a method of supertype overriden in another supertypeKT-14236 Allow to use emptyArray in annotationKT-14536 IllegalStateException: Type parameter T not found for lazy class Companion at LazyDeclarationResolver visitTypeParameterKT-14865 Throwable exception at KotlinParser parseLambdaExpression on typing { inside a string inside a lambdaKT-15516 Compiler error when passing suspending extension-functions as parameter and casting stuff to AnyKT-15802 Java constant referenced using subclass is not considered a constant expressionKT-15872 Constant folding is mistakenly triggered for user functionKT-15901 Unstable smart cast target after type checkKT-15951 Callable reference to class constructor from object is not resolvedKT-16232 Prohibit objects inside inner classesKT-16233 Prohibit inner sealed classesKT-16250 Import methods from typealias to object throws compiler exception "Should be class or package: typealias"KT-16272 Missing deprecation and SinceKotlin-related diagnostic for variable as function callKT-16278 Public member method can't be used for callable reference because of private static with the same nameKT-16372 'mod is deprecated' warning should not be shown when language version is 1.0KT-16484 SimpleTypeImpl should not be created for error type: ErrorScopeKT-16528 Error: Loop in supertypes when using Java classes with type parameters having raw interdependent supertypesKT-16538 No smart cast when equals is presentKT-16782 Enum entry is incorrectly forbidden on LHS of '::' with language version 1.0KT-16815 Assertion error from compiler: unexpected classifier: class DeserializedTypeAliasDescriptorKT-16931 Compiler cannot see inner class when for outer class exist folder with same nameKT-16956 Prohibit using function calls inside default parameter values of annotationsKT-8187 IAE on anonymous object in the delegation specifier listKT-8813 Do not report unused parameters for anonymous functionsKT-12112 Do not consider nullability of error functions and properties for smart castsKT-12276 No warning for unnecessary non-null assertion after method call with generic return typeKT-13648 Spurious warning: "Elvis operator (?:) always returns the left operand of non-nullable type (???..???)"KT-16264 Forbid usage of _ without backticksKT-16875 Decrease severity of unused parameter in lambda to weak warningKT-17136 ModuleDescriptorImpl.allImplementingModules should be evaluated lazilyKT-17214 Do not show warning about useless elvis for error function typesKT-13740 Plugin crashes at accidentally wrong annotation argument typeKT-8689 NoSuchMethodError on local functions inside inlined lambda with variables captured from outer contextKT-11314 Abstract generic class with Array<Array<T>> parameter compiles fine but fails at runtime with "Bad type on operand stack" VerifyErrorKT-12839 Two null checks are generated when manually null checking platform typeKT-14565 Cannot pop operand off empty stack when compiling enum classKT-14566 Make kotlin.jvm.internal.Ref$...Ref classes serializableKT-14567 VerifyError: Bad type on operand stack (generics with operator methods)KT-14607 Incorrect class name "ava/lang/Void from AsyncTask extension functionKT-14811 Unecessary checkcast generated in parameterized functions.KT-14963 unnecessary checkcast java/lang/ObjectKT-15105 Comparing Chars in a Pair results in ClassCastExceptionKT-15109 Subclass from a type alias with named parameter in constructor will produce compiler exceptionKT-15192 Compiler crashes on certain companion objects: "Error generating constructors of class Companion with kind IMPLEMENTATION"KT-15424 javac crash when calling Kotlin function having generic varargs with default and @JvmOverloadsKT-15574 Can't instantiate Array through Type AliasKT-15594 java.lang.VerifyError when referencing normal getter in @JvmStatic getters inside an objectKT-15759 tailrec suspend function fails to compileKT-15862 Inline generic functions can unexpectedly box primitivesKT-15871 Unnecessary boxing for equality operator on inlined primitive valuesKT-15993 Property annotations are stored in private fields and killed by obfuscatorsKT-15997 Reified generics don't work properly with crossinline functionsKT-16077 Redundant private getter for private var in a class within a JvmMultifileClass annotated fileKT-16194 Code with unnecessary safe call contains redundant boxing/unboxing for primitive valuesKT-16245 Redundant null-check generated for a cast of already non-nullable valueKT-16532 Kotlin 1.1 RC - Android cross-inline synchronized won't runKT-16555 VerifyError: Bad type on operand stackKT-16713 Insufficient maximum stack sizeKT-16720 ClassCastException during compilationKT-16732 Type 'java/lang/Number' (current frame, stack[0]) is not assignable to 'java/lang/CharacterKT-16929 VerifyError when using bound method reference on generic propertyKT-16412 Exception from compiler when try call SAM constructor where argument is callable reference to nested class inside objectKT-17210 Smartcast failure results in "Bad type operand on stack" runtime errorKT-15420 Maven, all-open plugin: in console the settings of all-open are always reported as emptyKT-11916 Provide incremental compilation for MavenKT-15946 Kotlin-JPA plugin support for @EmbeddableKT-16627 Do not make private members open in all-open pluginKT-16699 Script resolving doesn't work with custom templates located in an external jarKT-16812 import in .kts file does not worksKT-16927 Using KotlinJsr223JvmLocalScriptEngineFactory causes multiple warningsKT-15562 Service is dyingKT-17125 > Failed to apply plugin [id 'kotlin'] > For input string: “”KT-12432 Dagger 2 does not generate Component which was referenced from Kotlin file.KT-8558 KAPT only works with service-declared annotation processorsKT-16753 kapt3 generates invalid stubs when IC is enabledKT-16458 kotlin-kapt / kapt3: "cannot find symbol" error for companion object with same name as enclosing classKT-14478 Add APT / Kapt support to the maven pluginKT-14070 Kapt3: kapt doesn't compile generated Kotlin files and doesn't use the "kapt.kotlin.generated" folder anymoreKT-16990 Kapt3: java.io.File cannot be cast to java.lang.StringKT-16965 Error:Kotlin: Multiple values are not allowed for plugin option org.jetbrains.kotlin.kapt:outputKT-16184 AbstractMethodError in Kapt3ComponentRegistrar while compiling from IntelliJ 2016.3.4 using Kotlin 1.1.0-beta-38KT-15084 Navigation into sources of gradle-script-kotlin doesn't workKT-16003 Gradle Plugin Fails When Run From Jenkins On Multiple NodesKT-16585 Kotlin Gradle Plugin makes using Gradle Java incremental compiler not workKT-16902 Gradle plugin compilation on daemon fails on Linux ARMKT-14619 Gradle: The '-d' option with a directory destination is ignored because '-module' is specifiedKT-12792 Automatically configure standard library dependency and set its version equal to compiler version if not specifiedKT-15994 Compiler arguments are not copied from the main compile task to kapt taskKT-16820 Changing compileKotlin.destinationDir leads to failure in :copyMainKotlinClasses task due to an NPEKT-16917 First connection to daemon after start timeouts when DNS is slowKT-16580 Kotlin gradle plugin cannot resolve the kotlin compilerKT-16624 Implement quickfix "Add TargetApi/RequiresApi annotation" for Android api issuesKT-16625 Implement quickfix "Surround with if (VERSION.SDK_INT >= VERSION_CODES.SOME_VERSION) { ... }" for Android api issuesKT-16840 Kotlin Gradle plugin fails with Android Gradle plugin 2.4.0-alpha1KT-16897 Gradle plugin 1.1.1 duplicates all main classes into Android instrumentation test APKKT-16957 Android Extensions: Support Dialog classKT-15023 Android gradle installDebugAndroidTest fails unless you first call gradle assembleDebugAndroidTestKT-12769 "Name for method must be provided" error occurs on trying to use spaces in method name in integration tests in AndroidKT-12819 Kotlin Lint: False positive for "Unconditional layout inflation" when using elvis operatorKT-15116 Kotlin Lint: problems in property accessors are not reportedKT-15156 Kotlin Lint: problems in annotation parameters are not reportedKT-15179 Kotlin Lint: problems inside local function are not reportedKT-14870 Kotlin Lint: problems inside local class are not reportedKT-14920 Kotlin Lint: "Android Lint for Kotlin | Incorrect support annotation usage" inspection does not report problemsKT-14947 Kotlin Lint: "Calling new methods on older versions" could suggest specific quick fixesKT-12741 Android Extensions: Enable IDE plugin only if it is enabled in the build.gradle fileKT-13122 Implement '@RequiresApi' intention for android and don't report warning on annotated classesKT-16680 Stack overflow in UAST containsLocalTypes()KT-15451 Support "Android String Reference" folding in Kotlin filesKT-16132 Renaming property provided by kotlinx leads to renaming another membersKT-17200 Unable to build an android projectKT-13104 Incorrect resource name in Activity after renaming ID attribute value in layout fileKT-17436 Refactor | Rename android:id corrupts R.id references in kotlin codeKT-17255 Kotlin 1.1.2 EAP is broken with 2.4.0-alpha3KT-6159 Inline Method refactoringKT-4578 Intention to move property between class body and constructor parameterKT-8568 Provide a QuickFix to replace type Array<Int> in annotation with IntArrayKT-10393 Detect calls to functions returning a lambda from expression body which ignore the return valueKT-11393 Inspection to highlight and warn on usage of internal members in other module from JavaKT-12004 IDE inspection that destructuring variable name matches the other name in data classKT-12183 Intention converting several calls with same receiver to 'with'/apply/runKT-13111 Support bound references in lambda-to-reference intention / inspectionKT-15966 Create quickfix for DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDEKT-16074 Introduce a quick-fix adding noinline modifier for a value parameter of suspend function typeKT-16131 Add quickfix for: Cannot access member: it is invisible (private in supertype)KT-16188 Add create class quickfixKT-16258 Add intention to add missing components to destructuring assignmentKT-16292 Support "Reference to lambda" for bound referencesKT-11234 Debugger won't hit breakpoint in nested lambaKT-12002 Improve completion for closure parameters to work in more placesKT-15768 It would be nice to show in Kotlin facet what compiler plugins are on and their optionsKT-16022 Kotlin facet: provide UI to navigate to project settingsKT-16214 Do not hide package kotlin.reflect.jvm.internal from auto-import and completion, inside package "kotlin.reflect"KT-16647 Don't create kotlinc.xml if the settings don't differ from the defaultsKT-16649 All Gradle related classes should be moved to optional dependency section of plugin.xmlKT-16800 Autocomplete for closure with single argumentsKT-16316 IDE: don't show Kotlin Scripting section when target platform is JavaScriptKT-16317 IDE: some fields stay enabled in an facet when use project settings was chosenKT-16596 Hang in IntelliJ while scanning zipsKT-16646 The flag to enable coroutines does not sync from gradle file in Android StudioKT-16788 Importing Kotlin Maven projects results in invalid .imlKT-16827 kotlin javascript module not recognized by gradle sync when an android module is presentKT-16848 Regression: completion after dot in string interpolation expression doesn't work if there are no curly bracesKT-16888 "Multiple values are not allowed for plugin option org.jetbrains.kotlin.android:package" when rebuilding projectKT-16980 Accessing language version settings for a module performs runtime version detection on every access with no cachingKT-16991 Navigate to receiver from this in extension functionKT-16992 Navigate to lambda start from auto-generated 'it' parameterKT-12264 AssertionError: Resolver for 'completion/highlighting in LibrarySourceInfo for platform JVM' does not know how to resolve ModuleProductionSourceInfoKT-13734 Annotated element search is slowKT-14710 Sample references aren't resolved in IDEKT-16415 Dependency leakage with Kotlin IntelliJ plugin, using gradle-script-kotlin, and the gradle-intellij-pluginKT-16837 Slow typing in Kotlin file because of ImportFixBaseKT-16926 'implement' dependency is not transitive when importing gradle project to IDEAKT-17141 Running test from gutter icon fails in AS 2.4 Preview 3KT-17162 Plain-text Java copy-paste to Kotlin file results in exceptionKT-16714 J2K: Write access is allowed from event dispatch thread onlyKT-14058 Unexpected error MISSING_DEPENDENCY_CLASSKT-9275 Unhelpful IDE warning "Configure Kotlin"KT-15279 'Kotlin not configured message' should not be displayed while gradle sync is in progressKT-11828 Configure Kotlin in Project: failure for Gradle modules without build.gradle (IDEA creates them)KT-16571 Configure Kotlin in Project does not suggest just published versionKT-16590 Configure kotlin warning popup after each sync gradleKT-16353 Configure Kotlin in Project: configurators are not suggested for Gradle module in non-Gradle project with separate sub-modules for source setsKT-16381 Configure Kotlin dialog suggests modules already configured with other platformsKT-16401 Configure Kotlin in the project adds incorrect dependency kotlin-stdlib-jre8 to 1.0.x languageKT-12261 Partial body resolve doesn't resolve anything in object literal used as an expression body of a methodKT-13013 "Go to Type Declaration" doesn't work for extension receiver and implict lambda parameterKT-13135 IDE goes in an infinite indexing loop if a .kotlin_module file is corruptedKT-14129 for/iter postfix templates should be applied for string, ranges and mutable collectionsKT-14134 Allow to apply for/iter postfix template to mapKT-14871 Idea and Maven is not in sync with ModuleKind for Kotlin projectsKT-14986 Disable postfix completion when typing package statementsKT-15200 Show implementation should show inherited classes if a typealias to base class/interface is usedKT-15398 Annotations find usages in annotation instance siteKT-15536 Highlight usages: Class with primary constructor isn't highlighted when caret is on constructor invocationKT-15628 Change error message if both KotlinJavaRuntime and KotlinJavaScript libraries are present in the module dependenciesKT-15947 Kotlin facet: Target platform on importing from a maven project should be filled the same way for different artifactsKT-16023 Kotlin facet: When "Use project settings" is enabled, respective fields should show values from the project settingsKT-16698 Kotlin facet: modules created from different gradle sourcesets have the same module optionsKT-16700 Kotlin facet: jdkHome path containing spaces splits into several additional args after importKT-16776 Kotlin facet, import from maven: free arguments from submodule doesn't override arguments from parent moduleKT-16550 Kotlin facet from Maven: provide error messages if additional command line parameters are set several timesKT-16313 Kotlin facet: unify filling up information about included AllOpen/NoArg plugins on importing from Maven and GradleKT-16342 Kotlin facet: JavaScript platform is not detected if there are 2 versions of stdlib in dependenciesKT-16032 Kotlin code formatter merges comment line with non-comment lineKT-16038 UI blocked on pasting java code into a kotlin fileKT-16062 Kotlin breakpoint doesn't work in some lambda in Rider project.KT-15855 Can't evaluate expression in @JvmStatic methodKT-16667 Kotlin debugger "smart step into" fail on method defined in the middle of class hierarchyKT-16078 Formatter puts empty body braces on different lines when KDoc is presentKT-16265 Parameter info doesn't work with type alias constructorKT-14727 Wrong samples for some postfix templatesKT-17002 Make "Lambda to Reference" inspection off by defaultKT-14402 Inspection "Use destructuring declaration" for lambdas doesn't work when parameter is of type PairKT-16857 False "Remove redundant 'let'" suggestionKT-16928 Surround with null check quickfix works badly in case of qualifierKT-15870 Move quick fix of "Package name does not match containing directory" inspection: Throwable "AWT events are not allowed inside write action"KT-16128 'Add label to loop' QF proposed when there's already a labelKT-16828 Don't suggest destructing declarations if not all components are usedKT-17022 Replace deprecated in the whole project may miss some usages in expression bodyKT-7516 Rename refactoring doesn't rename related labelsKT-7520 Exception when try rename label from usageKT-8955 Refactor / Move package: KNPE at KotlinMoveDirectoryWithClassesHelper.postProcessUsages() with not matching package statementKT-11863 Refactor / Move: moving referred file level elements to another package keeps reference to old FQNKT-13190 Refactor / Move: no warning on moving class containing internal member to different moduleKT-13341 Convert lambda to function reference intention is not available for object member callsKT-13755 When (java?) class is moved redundant imports are not removedKT-13911 Refactor / Move: "Problems Detected" dialog is not shown on moving whole .kt fileKT-14401 Can't rename implicit lambda parameter 'it' when caret is placed right after the last characterKT-14483 "Argument of NotNull parameter must be not null" in KotlinTryCatchSurrounder when using "try" postfix templateKT-15075 KNPE in "Specify explicit lambda signature"KT-15190 Refactor / Move: false Problems Detected on moving class using parent's protected memberKT-15250 Convert anonymous object to lambda is shown when conversion not possible due implicit calls on thisKT-15339 Extract Superclass is enabled for any element: CommonRefactoringUtil$RefactoringErrorHintException: "Superclass cannot be extracted from interface" at ExtractSuperRefactoring.performRefactoring()KT-15559 Kotlin: Moving classes to different packages breaks references to companion object's propertiesKT-15556 Convert lambda to reference isn't proposed for parameterless constructorKT-15586 ISE during "Move to a separate file"KT-15822 Move class refactoring leaves unused importsKT-16108 Cannot rename class on the companion object referenceKT-16198 Extract method refactoring should order parameters by first usageKT-17006 Refactor / Move: usage of library function is reported as problem on move between modules with different library versionsKT-17032 Refactor / Move updates references to not moved class from the same fileKT-11907 Move to package renames file to temp.ktKT-16468 Destructure declaration intention should be applicable for PairKT-16162 IAE for destructuring declaration entry from KotlinFinalClassOrFunSpringInspectionKT-16556 Move refactoring shows Refactoring cannot be performed warning.KT-16605 NPE caused by Rename Refactoring of backing field when caret is after the last characterKT-16809 Move refactoring fails badlyKT-16903 "Convert to primary constructor" doesn't update supertype constructor call in supertypes list in case of implicit superclass constructor callKT-6627 JS: test sources doesn't compile from IDEKT-13610 JS: boxed Double.NaN is not equal to itselfKT-16012 JS: prohibit nested declarations, except interfaces inside external interfaceKT-16043 IDL: mark inline helper function as InlineOnlyKT-16058 JS: getValue/setValue don't work if they are declared as suspendKT-16164 JS: Bad getCallableRef in suspend functionKT-16350 KotlinJS - wrong code generated when temporary variables generated for RHS of && operationKT-16377 JS: losing declarations of temporary variables in secondary constructorsKT-16545 JS: ::class crashes at runtime for primitive types (e.g. Int::class, or Double::class)KT-16144 JS: inliner can't find function called through inheritor ("fake" override) from another moduleKT-9453 ClassCastException: java.lang.Class cannot be cast to kotlin.reflect.KClassKT-11254 Make callable references Serializable on JVMKT-11316 NPE in hashCode of KProperty object created for delegated propertyKT-12630 KotlinReflectionInternalError on referencing some functions from stdlibKT-14731 When starting application from test source root, kotlin function reflection fails in objects defined in sourcesKT-16922 buildSequence/Iterator: Infinite sequence terminates prematurelyKT-16923 Progression iterator doesn't throw after completionKT-16994 Classify sequence operations as stateful/stateless and intermediate/terminalKT-9786 String.trimIndent doc is misleadingKT-16572 Add links to Mozilla Developer Network to kdocs of classes that we generate from IDLKT-16252 IDL2K: Add ItemArrayLike interface implementation to collection-like classes`KT-16714` J2K: Write access is allowed from event dispatch thread only
KT-16714 J2K: Write access is allowed from event dispatch thread onlyKT-16801 Accessors of @PublishedApi property gets mangledKT-16673 Potentially problematic code causes exception when work with SAM adaptersKT-16557 Correct SinceKotlin(1.1) for all declarations in kotlin.reflect.fullNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →