JetBrains/kotlin
JetBrains/kotlin
Activity
Last release
Open issues
Open PRs
License
release notes
release notes
Published 9/20/2018
Pre-ReleasePre-releaseKT-17679 Support suspend fun main in JVMKT-24854 Support suspend function types for arities bigger than 22KT-26574 Support main entry-point without arguments in frontend, IDE and JVMKT-26490 Change boxing technique: instead of calling valueOf, allocate new wrapper typeKT-22069 Array class literals are always loaded as Array<*> from deserialized annotationsKT-22892 Call of invoke function with lambda parameter on a field named suspend should be reportedKT-24708 Incorrect WhenMappings code generated in case of mixed enum classes in when conditionsKT-24853 Forbid KSuspendFunctionN and SuspendFunctionN to be used as supertypesKT-24866 Review support of all operators for suspend function and forbid all unsupportedKT-25461 Mangle names of functions that have top-level inline class types in their signatures to allow non-trivial non-public constructorsKT-25785 Unsigned delegated property returns different value depending on the site it is usedKT-25855 Load Java declarations which reference kotlin.jvm.functions.FunctionN as Deprecated with level ERRORKT-26071 Postpone conversions from signed constant literals to unsigned onesKT-26141 actual typealias for expect sealed class results in error "This type is sealed, so it can be inherited by only its own nested classes or objects"KT-26200 Forbid suspend functions annotated with @kotlin.test.TestKT-26219 Result of unsigned predecrement/preincrement is not boxed as expectedKT-26223 Inline lambda arguments of inline class types are passed incorrectlyKT-26291 Boxed/primitive types clash when overriding Kotlin from Java with common generic supertype with inline class type argumentKT-26403 Add -impl suffix to box/unbox methods and make them syntheticKT-26404 Mangling: setters for properties of inline class typesKT-26409 implies in CallsInPlace effect isn't supportedKT-26437 Generate constructors containing inline classes as parameter types as private with synthetic accessorsKT-26449 Prohibit equals-like and hashCode-like declarations inside inline classesKT-26451 Generate static methods with equals/hashCode implementationsKT-26452 Get rid of $Erased nested class in ABI of inline classesKT-26453 Generate all static methods in inline classes with “-impl” suffixKT-26454 Prohibit @JvmName on functions that are assumed to be mangledKT-26468 Inline class ABI: Constructor invocation is not represented in bytecodeKT-26480 Report error from compiler when suspension point is located between corresponding MONITORENTER/MONITOREXITKT-26538 Prepare kotlin.Result to publication in 1.3KT-26558 Inline Classes: IllegalStateException when invoking secondary constructor for a primitive underlying typeKT-26570 Inline classes ABIKT-26573 Reserve box, unbox, equals and hashCode methods inside inline class for future releasesKT-26575 Reserve bodies of secondary constructors for inline classesKT-26576 Generate stubs for box/unbox/equals/hashCode inside inline classesKT-26580 Add version to kotlin.coroutines.jvm.internal.DebugMetadataKT-26659 Prohibit using kotlin.Result as a return type and with special operatorsKT-26687 Stdlib contracts have no effect in common codeKT-26707 companion val of primitive type is not treated as compile time constantKT-26720 Write language version requirement on inline classes and on declarations that use inline classesKT-26859 Inline class misses unboxing when using indexer into an ArrayListKT-26936 Report warning instead of error on usages of Experimental/UseExperimentalKT-26958 Introduce builder-inference with an explicit opt-in for itKT-26525 "Move Element Right/Left": Support type parameters in where clause (multiple type constraints)KT-22491 MPP new project/new module templates are not convenientKT-26428 Kotlin Migration in AS32 / AS33 fails to complete after "Indexing paused due to batch update" eventKT-26484 Do not show -Xmulti-platform option in facets for common modules of multiplatform projects with the new modelKT-26584 @Language prefix and suffix are ignored for function argumentsKT-26679 Coroutine migrator should rename buildSequence/buildIterator to their new namesKT-26732 Kotlin language version from IDEA settings is not taken into account when working with Java codeKT-26770 Android module in a multiplatform project isn't recognised as a multiplatform moduleKT-26794 Bad version detection during migration in Android Studio 3.2KT-26823 Fix deadlock in databinding with AndroidX which led to Android Studio hangingKT-26827 ISE “Error type encountered: [ERROR : UInt] (UnresolvedType)” for data inline class wrapped unsigned typeKT-26829 ISE “Error type encountered: [ERROR : UInt] (UnresolvedType)” for using as a field inline class wrapped unsigned typeKT-26843 LazyLightClassMemberMatchingError$NoMatch: Couldn't match ClsMethodImpl:getX MemberIndex(index=1) (with 0 parameters) on inline class overriding inherited interface method defined in different filesKT-26895 Exception while building light class for @Serializable annotated classKT-26169 Android extensions are not recognised by IDE in multiplatform projectsKT-26813 Multiplatform projects without Android target are not imported properly into Android StudioKT-22322 Incorrect indent after pressing Enter after annotation entryKT-26377 Formatter does not add blank line between annotation and type alias (or secondary constructor)KT-25853 IDEA hangs when Kotlin bytecode tool window open while editing a class with secondary constructorKT-26634 Do not generate module for metadataMain compilation on new MPP importKT-26675 Gradle: Dependency on multiple files gets duplicated on importKT-17687 Quickfix for "Interface doesn't have constructors" to convert to anonymous objectKT-24728 Add quickfix to remove single explicit & unused lambda parameterKT-25533 An intention to create actual implementations for expect members annotated with @OptionalExpectationKT-25621 Inspections for functions returning SuccessOrFailureKT-25969 Add an inspection for 'flatMap { it }'KT-26230 Inspection: replace safe cast (as?) with if (instance check + early return)KT-13343 Remove explicit type specification breaks code if initializer omits genericsKT-19586 Create actual implementation does nothing when platform module has no source directories.KT-22361 Multiplatform: "Generate equals() and hashCode()" intention generates JVM specific code for arrays in common moduleKT-22552 SimplifiableCallChain should keep formatting and commentsKT-24129 Multiplatform quick fix add implementation suggests generated source locationKT-24405 False "redundant overriding method" for abstract / default interface method combinationKT-24978 Do not highlight foldable if-then for is checksKT-25228 "Create function" from a protected inline method should not produce a private methodKT-25525 [@Experimental](https://github.com/Experimental)-related quick fixes are not suggested for usages in top-level propertyKT-25526 [@Experimental](https://github.com/Experimental)-related quick fixes are not suggested for usages in type aliasKT-25548 [@Experimental](https://github.com/Experimental) API usage: "Add annotation" quick fix incorrectly modifies primary constructorKT-25609 "Unused symbol" inspection reports annotation used only in -Xexperimental/-Xuse-experimental settingsKT-25711 "Deferred result is never used" inspection: remove experimental package (or whole FQN) from descriptionKT-25712 "Redundant 'async' call" inspection quick fix action label looks too longKT-25883 False "redundant override" reported on boxed parametersKT-25886 False positive "Replace 'if' with elvis operator" for nullable typeKT-25968 False positive "Remove redundant backticks" with keyword yieldKT-26009 "Convert to 'also'" intention adds an extra it expressionKT-26015 Intention to move property to constructor adds @field: qualifier to annotationsKT-26179 False negative "Boolean expression that can be simplified" for !trueKT-26181 Inspection for unused Deferred result: report for all functions by defaultKT-26185 False positive "redundant semicolon" with if-elseKT-26187 "Cascade if can be replaced with when" loses lambda curly bracesKT-26289 Redundant let with call expression: don't report for long call chainsKT-26306 "Add annotation target" quick fix adds EXPRESSION annotation, but not SOURCE retentionKT-26343 "Replace 'if' expression with elvis expression" produces wrong code in extension function with not null type parameterKT-26353 "Make variable immutable" is a bad name for a quickfix that changes 'var' to 'val'KT-26472 "Maven dependency is incompatible with Kotlin 1.3+ and should be updated" inspection is not included into Kotlin MigrationKT-26492 "Make private" on annotated annotation produces nasty new lineKT-26599 "Foldable if-then" inspection marks if statements that cannot be folded using ?. operatorKT-26674 Move lambda out of parentheses is not proposed for suspend lambdaKT-26676 ReplaceWith always puts suspend lambda in parenthesesKT-26810 "Incompatible kotlinx.coroutines dependency" inspections report library built for 1.3-RC with 1.3-RC pluginKT-20368 Unresolved reference to declarations from kotlin.reflect in common code in multi-platform project: no "Add import" quick-fixKT-26356 New MPP doesn't work with Android projectsKT-26369 Library dependencies don't transitively pass for custom source sets at new MPP import to IDEKT-26414 Remove old multiplatform modules templates from New Project/New Module wizardKT-26517 Create actual ... generates default constructor parameter valuesKT-26585 Stdlib annotations annotated with @OptionalExpectation are reported with false positive error in common moduleKT-18490 Multiplatform project: Set text cursor correctly to file with header on navigation from impl sideKT-17124 Change signature refactoring dialog unescapes escaped parameter namesKT-25454 Extract function: make default visibility privateKT-26533 Move refactoring on interface shows it as "abstract interface" in the dialogKT-26228 NoClassDefFoundError: org/jetbrains/kotlin/idea/run/KotlinTestNgConfigurationProducer on running a JUnit test with TestNG plugin disabledKT-26793 Left gutter run icon does not appear for JS tests in old MPPKT-19309 Spring JPA Repository IntelliJ tooling with KotlinKT-26466 Uncaught ReferenceError: println is not definedKT-26572 Support suspend fun main in JSKT-26628 Support main entry-point without arguments in JSKT-25039 Any?.hashCode() extensionKT-26359 Use JvmName on parameters of kotlin.Metadata to improve the public APIKT-26398 Coroutine context shall perform structural equality comparison on keysKT-26598 Introduce ConcurrentModificationException actual typealias in the JVM libraryKT-18483 Check to contains value in range can be dramatically slowKT-17716 JS: Some kotlin.js.Math methods break Integer type safetyKT-21703 Review deprecations in stdlib for 1.3KT-21784 Deprecate and remove org.jetbrains.annotations from kotlin-stdlib in compiler distributionKT-22423 Deprecate mixed integer/floating point overloads of ClosedRange.contains operatorKT-25217 Raise deprecation level for mod operators to ERRORKT-25935 Move kotlin.reflect interfaces to kotlin-stdlib-commonKT-26358 Rebuild anko for new coroutines APIKT-26388 Specialize contentDeepEquals/HashCode/ToString for arrays of unsigned typesKT-26523 EXACTLY_ONCE contract in runCatching doesn't consider lambda exceptions are caughtKT-26591 Add primitive boxing functions to stdlibKT-26594 Change signed-to-unsigned widening conversions to sign extendingKT-26595 Deprecate common 'synchronized(Any) { }' functionKT-26596 Rename Random.nextInt/Long/Double parametersKT-26678 Rename buildSequence/buildIterator to sequence/iteratorKT-26929 Kotlin Reflect and Proguard: can’t find referenced class kotlin.annotations.jvm.ReadOnly/MutableKT-25499 Use-site targeted annotations on property accessors are not visible in Kotlin reflection if there's also an annotation on the propertyKT-25500 Annotations on parameter setter are not visible through reflectionKT-25664 Inline classes don't work properly with reflectionKT-26293 Incorrect javaType for suspend function's returnTypeKT-24613 Support argfiles in kotlinc with "@argfile"KT-25862 Release '-Xprogressive' as '-progressive'KT-26122 Support single quotation marks in argfilesKT-25680 Gradle plugin: version with non-experimental coroutines and no related settings still runs compiler with -Xcoroutines optionKT-26253 New MPP model shouldn't generate metadataMain and metadataTest source sets on IDE importKT-26383 Common modules dependencies are not mapped at import of a composite multiplatform project with project dependencies into IDEKT-26515 Support -Xcommon-sources in new MPPKT-26641 In new MPP, Gradle task for building classes has a name unexpected for GradleProjectTaskRunnerKT-26784 Support non-kts scripts discovery and compilation in gradleKT-26072 MPP compilation issueKT-26254 JPS build for new MPP model doesn't work: kotlinFacet?.settings?.sourceSetNames is emptyrelease notes
Published 9/20/2018
Pre-ReleasePre-releaseKT-17679 Support suspend fun main in JVMKT-24854 Support suspend function types for arities bigger than 22KT-26574 Support main entry-point without arguments in frontend, IDE and JVMKT-26490 Change boxing technique: instead of calling valueOf, allocate new wrapper typeKT-22069 Array class literals are always loaded as Array<*> from deserialized annotationsKT-22892 Call of invoke function with lambda parameter on a field named suspend should be reportedKT-24708 Incorrect WhenMappings code generated in case of mixed enum classes in when conditionsKT-24853 Forbid KSuspendFunctionN and SuspendFunctionN to be used as supertypesKT-24866 Review support of all operators for suspend function and forbid all unsupportedKT-25461 Mangle names of functions that have top-level inline class types in their signatures to allow non-trivial non-public constructorsKT-25785 Unsigned delegated property returns different value depending on the site it is usedKT-25855 Load Java declarations which reference kotlin.jvm.functions.FunctionN as Deprecated with level ERRORKT-26071 Postpone conversions from signed constant literals to unsigned onesKT-26141 actual typealias for expect sealed class results in error "This type is sealed, so it can be inherited by only its own nested classes or objects"KT-26200 Forbid suspend functions annotated with @kotlin.test.TestKT-26219 Result of unsigned predecrement/preincrement is not boxed as expectedKT-26223 Inline lambda arguments of inline class types are passed incorrectlyKT-26291 Boxed/primitive types clash when overriding Kotlin from Java with common generic supertype with inline class type argumentKT-26403 Add -impl suffix to box/unbox methods and make them syntheticKT-26404 Mangling: setters for properties of inline class typesKT-26409 implies in CallsInPlace effect isn't supportedKT-26437 Generate constructors containing inline classes as parameter types as private with synthetic accessorsKT-26449 Prohibit equals-like and hashCode-like declarations inside inline classesKT-26451 Generate static methods with equals/hashCode implementationsKT-26452 Get rid of $Erased nested class in ABI of inline classesKT-26453 Generate all static methods in inline classes with “-impl” suffixKT-26454 Prohibit @JvmName on functions that are assumed to be mangledKT-26468 Inline class ABI: Constructor invocation is not represented in bytecodeKT-26480 Report error from compiler when suspension point is located between corresponding MONITORENTER/MONITOREXITKT-26538 Prepare kotlin.Result to publication in 1.3KT-26558 Inline Classes: IllegalStateException when invoking secondary constructor for a primitive underlying typeKT-26570 Inline classes ABIKT-26573 Reserve box, unbox, equals and hashCode methods inside inline class for future releasesKT-26575 Reserve bodies of secondary constructors for inline classesKT-26576 Generate stubs for box/unbox/equals/hashCode inside inline classesKT-26580 Add version to kotlin.coroutines.jvm.internal.DebugMetadataKT-26659 Prohibit using kotlin.Result as a return type and with special operatorsKT-26687 Stdlib contracts have no effect in common codeKT-26707 companion val of primitive type is not treated as compile time constantKT-26720 Write language version requirement on inline classes and on declarations that use inline classesKT-26859 Inline class misses unboxing when using indexer into an ArrayListKT-26936 Report warning instead of error on usages of Experimental/UseExperimentalKT-26958 Introduce builder-inference with an explicit opt-in for itKT-26525 "Move Element Right/Left": Support type parameters in where clause (multiple type constraints)KT-22491 MPP new project/new module templates are not convenientKT-26428 Kotlin Migration in AS32 / AS33 fails to complete after "Indexing paused due to batch update" eventKT-26484 Do not show -Xmulti-platform option in facets for common modules of multiplatform projects with the new modelKT-26584 @Language prefix and suffix are ignored for function argumentsKT-26679 Coroutine migrator should rename buildSequence/buildIterator to their new namesKT-26732 Kotlin language version from IDEA settings is not taken into account when working with Java codeKT-26770 Android module in a multiplatform project isn't recognised as a multiplatform moduleKT-26794 Bad version detection during migration in Android Studio 3.2KT-26823 Fix deadlock in databinding with AndroidX which led to Android Studio hangingKT-26827 ISE “Error type encountered: [ERROR : UInt] (UnresolvedType)” for data inline class wrapped unsigned typeKT-26829 ISE “Error type encountered: [ERROR : UInt] (UnresolvedType)” for using as a field inline class wrapped unsigned typeKT-26843 LazyLightClassMemberMatchingError$NoMatch: Couldn't match ClsMethodImpl:getX MemberIndex(index=1) (with 0 parameters) on inline class overriding inherited interface method defined in different filesKT-26895 Exception while building light class for @Serializable annotated classKT-26169 Android extensions are not recognised by IDE in multiplatform projectsKT-26813 Multiplatform projects without Android target are not imported properly into Android StudioKT-22322 Incorrect indent after pressing Enter after annotation entryKT-26377 Formatter does not add blank line between annotation and type alias (or secondary constructor)KT-25853 IDEA hangs when Kotlin bytecode tool window open while editing a class with secondary constructorKT-26634 Do not generate module for metadataMain compilation on new MPP importKT-26675 Gradle: Dependency on multiple files gets duplicated on importKT-17687 Quickfix for "Interface doesn't have constructors" to convert to anonymous objectKT-24728 Add quickfix to remove single explicit & unused lambda parameterKT-25533 An intention to create actual implementations for expect members annotated with @OptionalExpectationKT-25621 Inspections for functions returning SuccessOrFailureKT-25969 Add an inspection for 'flatMap { it }'KT-26230 Inspection: replace safe cast (as?) with if (instance check + early return)KT-13343 Remove explicit type specification breaks code if initializer omits genericsKT-19586 Create actual implementation does nothing when platform module has no source directories.KT-22361 Multiplatform: "Generate equals() and hashCode()" intention generates JVM specific code for arrays in common moduleKT-22552 SimplifiableCallChain should keep formatting and commentsKT-24129 Multiplatform quick fix add implementation suggests generated source locationKT-24405 False "redundant overriding method" for abstract / default interface method combinationKT-24978 Do not highlight foldable if-then for is checksKT-25228 "Create function" from a protected inline method should not produce a private methodKT-25525 [@Experimental](https://github.com/Experimental)-related quick fixes are not suggested for usages in top-level propertyKT-25526 [@Experimental](https://github.com/Experimental)-related quick fixes are not suggested for usages in type aliasKT-25548 [@Experimental](https://github.com/Experimental) API usage: "Add annotation" quick fix incorrectly modifies primary constructorKT-25609 "Unused symbol" inspection reports annotation used only in -Xexperimental/-Xuse-experimental settingsKT-25711 "Deferred result is never used" inspection: remove experimental package (or whole FQN) from descriptionKT-25712 "Redundant 'async' call" inspection quick fix action label looks too longKT-25883 False "redundant override" reported on boxed parametersKT-25886 False positive "Replace 'if' with elvis operator" for nullable typeKT-25968 False positive "Remove redundant backticks" with keyword yieldKT-26009 "Convert to 'also'" intention adds an extra it expressionKT-26015 Intention to move property to constructor adds @field: qualifier to annotationsKT-26179 False negative "Boolean expression that can be simplified" for !trueKT-26181 Inspection for unused Deferred result: report for all functions by defaultKT-26185 False positive "redundant semicolon" with if-elseKT-26187 "Cascade if can be replaced with when" loses lambda curly bracesKT-26289 Redundant let with call expression: don't report for long call chainsKT-26306 "Add annotation target" quick fix adds EXPRESSION annotation, but not SOURCE retentionKT-26343 "Replace 'if' expression with elvis expression" produces wrong code in extension function with not null type parameterKT-26353 "Make variable immutable" is a bad name for a quickfix that changes 'var' to 'val'KT-26472 "Maven dependency is incompatible with Kotlin 1.3+ and should be updated" inspection is not included into Kotlin MigrationKT-26492 "Make private" on annotated annotation produces nasty new lineKT-26599 "Foldable if-then" inspection marks if statements that cannot be folded using ?. operatorKT-26674 Move lambda out of parentheses is not proposed for suspend lambdaKT-26676 ReplaceWith always puts suspend lambda in parenthesesKT-26810 "Incompatible kotlinx.coroutines dependency" inspections report library built for 1.3-RC with 1.3-RC pluginKT-20368 Unresolved reference to declarations from kotlin.reflect in common code in multi-platform project: no "Add import" quick-fixKT-26356 New MPP doesn't work with Android projectsKT-26369 Library dependencies don't transitively pass for custom source sets at new MPP import to IDEKT-26414 Remove old multiplatform modules templates from New Project/New Module wizardKT-26517 Create actual ... generates default constructor parameter valuesKT-26585 Stdlib annotations annotated with @OptionalExpectation are reported with false positive error in common moduleKT-18490 Multiplatform project: Set text cursor correctly to file with header on navigation from impl sideKT-17124 Change signature refactoring dialog unescapes escaped parameter namesKT-25454 Extract function: make default visibility privateKT-26533 Move refactoring on interface shows it as "abstract interface" in the dialogKT-26228 NoClassDefFoundError: org/jetbrains/kotlin/idea/run/KotlinTestNgConfigurationProducer on running a JUnit test with TestNG plugin disabledKT-26793 Left gutter run icon does not appear for JS tests in old MPPKT-19309 Spring JPA Repository IntelliJ tooling with KotlinKT-26466 Uncaught ReferenceError: println is not definedKT-26572 Support suspend fun main in JSKT-26628 Support main entry-point without arguments in JSKT-25039 Any?.hashCode() extensionKT-26359 Use JvmName on parameters of kotlin.Metadata to improve the public APIKT-26398 Coroutine context shall perform structural equality comparison on keysKT-26598 Introduce ConcurrentModificationException actual typealias in the JVM libraryKT-18483 Check to contains value in range can be dramatically slowKT-17716 JS: Some kotlin.js.Math methods break Integer type safetyKT-21703 Review deprecations in stdlib for 1.3KT-21784 Deprecate and remove org.jetbrains.annotations from kotlin-stdlib in compiler distributionKT-22423 Deprecate mixed integer/floating point overloads of ClosedRange.contains operatorKT-25217 Raise deprecation level for mod operators to ERRORKT-25935 Move kotlin.reflect interfaces to kotlin-stdlib-commonKT-26358 Rebuild anko for new coroutines APIKT-26388 Specialize contentDeepEquals/HashCode/ToString for arrays of unsigned typesKT-26523 EXACTLY_ONCE contract in runCatching doesn't consider lambda exceptions are caughtKT-26591 Add primitive boxing functions to stdlibKT-26594 Change signed-to-unsigned widening conversions to sign extendingKT-26595 Deprecate common 'synchronized(Any) { }' functionKT-26596 Rename Random.nextInt/Long/Double parametersKT-26678 Rename buildSequence/buildIterator to sequence/iteratorKT-26929 Kotlin Reflect and Proguard: can’t find referenced class kotlin.annotations.jvm.ReadOnly/MutableKT-25499 Use-site targeted annotations on property accessors are not visible in Kotlin reflection if there's also an annotation on the propertyKT-25500 Annotations on parameter setter are not visible through reflectionKT-25664 Inline classes don't work properly with reflectionKT-26293 Incorrect javaType for suspend function's returnTypeKT-24613 Support argfiles in kotlinc with "@argfile"KT-25862 Release '-Xprogressive' as '-progressive'KT-26122 Support single quotation marks in argfilesKT-25680 Gradle plugin: version with non-experimental coroutines and no related settings still runs compiler with -Xcoroutines optionKT-26253 New MPP model shouldn't generate metadataMain and metadataTest source sets on IDE importKT-26383 Common modules dependencies are not mapped at import of a composite multiplatform project with project dependencies into IDEKT-26515 Support -Xcommon-sources in new MPPKT-26641 In new MPP, Gradle task for building classes has a name unexpected for GradleProjectTaskRunnerKT-26784 Support non-kts scripts discovery and compilation in gradleKT-26072 MPP compilation issueKT-26254 JPS build for new MPP model doesn't work: kotlinFacet?.settings?.sourceSetNames is emptyThe Kotlin Programming Language.