Skip to content

Releases: JetBrains/kotlin

Kotlin 1.3.40 EAP 2

31 May 06:54

Choose a tag to compare

Kotlin 1.3.40 EAP 2 Pre-release
Pre-release

CHANGELOG

1.3.40

Android

Fixes

  • KT-12402 Android DataBinding work correctly but the IDE show it as error
  • KT-31432 Remove obsolete code introduced in KT-12402

Compiler

New Features

  • KT-29915 Implement typeOf on JVM
  • KT-30467 Provide a way to to save compiled script(s) as a jar

Performance Improvements

  • KT-17755 Optimize trimIndent and trimMargin on constant strings
  • KT-30603 Compiler performance issue: VariableLivenessKt.useVar performance

Fixes

  • KT-19227 Load built-ins from dependencies by default in the compiler, support erroneous "fallback" built-ins
  • KT-23426 Actual typealias to Java enum does not match expected enum because of modality
  • KT-23854 Inference for common type of two captured types
  • KT-25105 False-positive warning "Remove final upper bound" on generic override
  • KT-25302 New inference: "Type mismatch" between star projection and Any? type argument in specific case
  • KT-25433 Wrong order of fixing type variables for callable references
  • KT-26386 Front-end recursion problem while analyzing contract function with call expression of self in implies
  • KT-26412 Wrong LVT generated if decomposed parameter of suspend lambda is not the first parameter.
  • KT-27097 JvmMultifileClass + JvmName causes NoSuchMethodError on sealed class hierarchy for top-level members
  • KT-28534 Local variable entries are missing in LVT for suspend lambda parameters
  • KT-28535 Rename result to $result in coroutines' LVT
  • KT-29184 Implement inference for coroutines according to the @BuilderInference contract in NI
  • KT-29772 Contracts don't work if contract function is fully qualified (FQN)
  • KT-29790 Incorrect version requirement in metadata of anonymous class for suspend lambda
  • KT-29948 NI: incorrect DSLMarker behaviour with generic star projection
  • KT-30021 +NewInference on Kotlin Native :: java.lang.StackOverflowError
  • KT-30242 Statements are not coerced to Unit in last expressions of lambda
  • KT-30243 Include FIR modules into compiler
  • KT-30250 Rewrite at slice exception for callable reference argument inside delegated expression
  • KT-30292 Reference to function is unresolved when LHS is a star-projected type
  • KT-30293 Wrong intersection type for common supertype from String and integer type
  • KT-30370 Call is completed too early when there is "Nothing" constraint
  • KT-30405 Support expected type from cast in new inference
  • KT-30406 Fix testIfOrWhenSpecialCall test for new inference
  • KT-30590 Report diagnostic about not enough information for inference in NI
  • KT-30620 Exception from the compiler when coroutine-inference is involved even with the explicitly specified types
  • KT-30656 Exception is occurred when functions with implicit return-stub types are involved in builder-inference
  • KT-30658 Exception from the compiler when getting callable reference to a suspend function
  • KT-30661 Disable SAM conversions to Kotlin functions in new-inference by default
  • KT-30676 Overload resolution ambiguity when there is a callable reference argument and candidates with different functional return types
  • KT-30694 No debug metadata is generated for suspend lambdas which capture crossinline
  • KT-30724 False positive error about missing equals when one of the operands is incorrectly inferred to Nothing
  • KT-30734 No smartcast inside lambda literal in then/else "if" branch
  • KT-30737 Try analysing callable reference preemptively
  • KT-30780 Compiler crashes on 'private inline' function accessing private constant in 'inline class' (regression)
  • KT-30808 NI: False negative SPREAD_OF_NULLABLE with USELESS_ELVIS_RIGHT_IS_NULL
  • KT-30816 BasicJvmScriptEvaluator passes constructor parameters in incorrect order
  • KT-30826 There isn't report about unsafe call in the new inference (by invalidating smartcast), NPE
  • KT-30843 Duplicate JVM class name for expect/actual classes in JvmMultifileClass-annotated file
  • KT-30853 Compiler crashes with NewInference and Kotlinx.Coroutines Flow
  • KT-30927 Data flow info isn't used for 'this' which is returned from lambda using labeled return
  • KT-31081 Implement ArgumentMatch abstraction in new inference
  • KT-31113 Fix failing tests from SlicerTestGenerated
  • KT-31199 Unresolved callable references with typealias
  • KT-31339 Inliner does not remove redundant continuation classes, leading to CNFE in JMH bytecode processing
  • KT-31346 Fix diagnostic DSL_SCOPE_VIOLATION for new inference
  • KT-31356 False-positive error about violating dsl scope for new-inference
  • KT-31360 NI: inconsistently prohibits member usage without explicit receiver specification with star projection and DSL marker
  • KT-18563 Do not generate inline reified functions as private in bytecode
  • KT-20849 Inference results in Nothing type argument in case of passing 'out T' to 'in T1'
  • KT-25290 New inference: KNPE at ResolutionPartsKt.getExpectedTypeWithSAMConversion() on out projection of Java class
  • KT-26418 Back-end (JVM) Internal error when compiling decorated suspend inline functions
  • KT-26925 Decorated suspend inline function continuation resumes in wrong spot
  • KT-28999 Prohibit type parameters for anonymous objects
  • KT-29307 New inference: false negative CONSTANT_EXPECTED_TYPE_MISMATCH with a Map
  • KT-29475 IllegalArgumentException at getAbstractTypeFromDescriptor with deeply nested expression inside function named with a right parenthesis
  • KT-29996 Properly report errors on attempt to inline bytecode from class files compiled to 1.8 to one compiling to 1.6
  • KT-30289 Don't generate annotations on synthetic methods for methods with default values for parameters
  • KT-30410 [NI] Front-end recursion problem while analyzing contract function with call expression of self in implies
  • KT-30411 Fold recursive types to star-projected ones when inferring type variables
  • KT-30706 Passing noinline lambda as (cross)inline parameter result in wrong state-machine
  • KT-30707 Java interop of coroutines inside inline functions is broken
  • KT-30983 ClassCastException: DeserializedTypeAliasDescriptor cannot be cast to PackageViewDescriptor on star-import of expect enum class actualized with typealias
  • KT-31242 "Can't find enclosing method" proguard compilation exception with inline and crossinline
  • KT-31347 "IndexOutOfBoundsExcept...
Read more

Kotlin 1.3.40 EAP 1

20 May 18:39

Choose a tag to compare

Kotlin 1.3.40 EAP 1 Pre-release
Pre-release

CHANGELOG

1.3.40

Compiler

New Features

Performance Improvements

  • KT-17755 Optimize trimIndent and trimMargin on constant strings
  • KT-30603 Compiler performance issue: VariableLivenessKt.useVar performance

Fixes

  • KT-19227 Load built-ins from dependencies by default in the compiler, support erroneous "fallback" built-ins
  • KT-23426 Actual typealias to Java enum does not match expected enum because of modality
  • KT-23854 Inference for common type of two captured types
  • KT-25105 False-positive warning "Remove final upper bound" on generic override
  • KT-25302 New inference: "Type mismatch" between star projection and Any? type argument in specific case
  • KT-25433 Wrong order of fixing type variables for callable references
  • KT-26386 Front-end recursion problem while analyzing contract function with call expression of self in implies
  • KT-26412 Wrong LVT generated if decomposed parameter of suspend lambda is not the first parameter.
  • KT-27097 JvmMultifileClass + JvmName causes NoSuchMethodError on sealed class hierarchy for top-level members
  • KT-28534 Local variable entries are missing in LVT for suspend lambda parameters
  • KT-28535 Rename result to $result in coroutines' LVT
  • KT-29184 Implement inference for coroutines according to the @BuilderInference contract in NI
  • KT-29772 Contracts don't work if contract function is fully qualified (FQN)
  • KT-29790 Incorrect version requirement in metadata of anonymous class for suspend lambda
  • KT-29948 NI: incorrect DSLMarker behaviour with generic star projection
  • KT-30021 +NewInference on Kotlin Native :: java.lang.StackOverflowError
  • KT-30242 Statements are not coerced to Unit in last expressions of lambda
  • KT-30243 Include FIR modules into compiler
  • KT-30250 Rewrite at slice exception for callable reference argument inside delegated expression
  • KT-30292 Reference to function is unresolved when LHS is a star-projected type
  • KT-30293 Wrong intersection type for common supertype from String and integer type
  • KT-30370 Call is completed too early when there is "Nothing" constraint
  • KT-30405 Support expected type from cast in new inference
  • KT-30406 Fix testIfOrWhenSpecialCall test for new inference
  • KT-30590 Report diagnostic about not enough information for inference in NI
  • KT-30620 Exception from the compiler when coroutine-inference is involved even with the explicitly specified types
  • KT-30656 Exception is occurred when functions with implicit return-stub types are involved in builder-inference
  • KT-30658 Exception from the compiler when getting callable reference to a suspend function
  • KT-30661 Disable SAM conversions to Kotlin functions in new-inference by default
  • KT-30676 Overload resolution ambiguity when there is a callable reference argument and candidates with different functional return types
  • KT-30694 No debug metadata is generated for suspend lambdas which capture crossinline
  • KT-30724 False positive error about missing equals when one of the operands is incorrectly inferred to Nothing
  • KT-30734 No smartcast inside lambda literal in then/else "if" branch
  • KT-30737 Try analysing callable reference preemptively
  • KT-30780 Compiler crashes on 'private inline' function accessing private constant in 'inline class' (regression)
  • KT-30808 NI: False negative SPREAD_OF_NULLABLE with USELESS_ELVIS_RIGHT_IS_NULL
  • KT-30816 BasicJvmScriptEvaluator passes constructor parameters in incorrect order
  • KT-30826 There isn't report about unsafe call in the new inference (by invalidating smartcast), NPE
  • KT-30843 Duplicate JVM class name for expect/actual classes in JvmMultifileClass-annotated file
  • KT-30853 Compiler crashes with NewInference and Kotlinx.Coroutines Flow
  • KT-30927 Data flow info isn't used for 'this' which is returned from lambda using labeled return
  • KT-31081 Implement ArgumentMatch abstraction in new inference
  • KT-31113 Fix failing tests from SlicerTestGenerated
  • KT-31199 Unresolved callable references with typealias
  • KT-31339 Inliner does not remove redundant continuation classes, leading to CNFE in JMH bytecode processing
  • KT-31346 Fix diagnostic DSL_SCOPE_VIOLATION for new inference
  • KT-31356 False-positive error about violating dsl scope for new-inference
  • KT-31360 NI: inconsistently prohibits member usage without explicit receiver specification with star projection and DSL marker

IDE

New Features

  • KT-11242 Action to copy project diagnostic information to clipboard
  • KT-24292 Support external nullability annotations
  • KT-30453 Add plugin option (registry?) to enable new inference only in IDE

Performance Improvements

  • KT-13841 Classes and functions should be lazy-parseable
  • KT-27106 Performance issue with optimize imports
  • KT-30442 Several second lag on project open in KotlinNonJvmSourceRootConverterProvider
  • KT-30644 ConfigureKotlinInProjectUtilsKt freezes UI

Fixes

  • KT-7380 Imports insertion on paste does not work correctly when there were alias imports in the source file
  • KT-10512 Do not delete imports with unresolved parts when optimizing
  • KT-13048 "Strip trailing spaces on Save" should not strip trailing spaces inside multiline strings in Kotlin
  • KT-17375 Optimize Imports does not remove unused import alias
  • KT-27385 Uast: property references should resolve to getters/setters
  • KT-28627 Invalid detection of Kotlin jvmTarget inside Idea/gradle build
  • KT-29267 Enable ultra-light classes by default
  • KT-29892 A lot of threads are waiting in KotlinConfigurationCheckerComponent
  • KT-30356 Kotlin facet: all JVM 9+ target platforms are shown as "Target Platform = JVM 9" in Project Structure dialog
  • KT-30514 Auto-import with "Add unambiguous imports on the fly" imports enum members from another package
  • KT-30583 Kotlin light elements should be isEquivalentTo to it's origins
  • KT-30688 Memory leak in the PerModulePackageCacheService.onTooComplexChange method
  • KT-30949 Optimize Imports removes used import alias
  • KT-30957 Kotlin UAST: USimpleNameReferenceExpression in "imports" for class' member resolves incorrectly to class, not to the member
  • KT-31090 java.lan...
Read more

1.3.31

25 Apr 19:01

Choose a tag to compare

1.3.31

Compiler

  • KT-26418 Back-end (JVM) Internal error when compiling decorated suspend inline functions
  • KT-26925 Decorated suspend inline function continuation resumes in wrong spot
  • KT-30706 Passing noinline lambda as (cross)inline parameter result in wrong state-machine
  • KT-30707 Java interop of coroutines inside inline functions is broken
  • KT-30997 Crash with suspend crossinline

IDE. Inspections and Intentions

  • KT-30879 False positive "Redundant qualifier name"
  • KT-31112 "Remove redundant qualifier name" inspection false positive for property with irrelevant import

JavaScript

  • KT-31007 Kotlin/JS 1.3.30 - private method in an interface in the external library causes ReferenceError

Tools. Gradle

  • KT-31027 java.lang.NoSuchMethodError: No static method hashCode(Z)I in class Ljava/lang/Boolean; or its super classes (declaration of 'java.lang.Boolean' appears in /system/framework/core-libart.jar)

Tools. kapt

  • KT-30979 Issue with Dagger2 providers MissingBinding with 1.3.30

Previous releases

This release also includes the fixes and improvements from the previous releases.

1.3.30

11 Apr 16:50

Choose a tag to compare

Content

The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.

CHANGELOG

1.3.30

Compiler

New Features

  • KT-19664 Allow more permissive visibility for non-virtual actual declarations
  • KT-29586 Add support for Android platform annotations
  • KT-29604 Do not implicitly propagate deprecations originated in Java

Performance Improvements

  • KT-24876 Emit calls to java.lang.Long.divideUnsigned for unsigned types when target version is 1.8
  • KT-25974 'when' by unsigned integers is not translated to tableswitch/lookupswitch
  • KT-28015 Coroutine state-machine shall use Result.throwOnFailure
  • KT-29229 Intrinsify 'in' operator for unsigned integer ranges
  • KT-29230 Specialize 'next' method call for unsigned integer range and progression iterators

Fixes

  • KT-7185 Parse import directives in the middle of the file, report a diagnostic instead
  • KT-7237 Parser recovery (angle bracket mismatch)
  • KT-11656 Could not generate LightClass because of ISE from bridge generation on invalid code
  • KT-13497 Better recovery in comma-separated lists in case of missing comma
  • KT-13703 Restore parser better when class is missing from enum declaration
  • KT-13731 Recover parser on value parameter without a type
  • KT-14227 Incorrect code is generated when using MutableMap.set with plusAssign operator
  • KT-19389 Couldn't inline method call 'with'
  • KT-20065 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with generic typealias
  • KT-20322 Debug: member value returned from suspending function is not updated immediately
  • KT-20780 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with parameterized inner type alias
  • KT-21405 Throwable “Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST” on editing string literal in kotlin-js module
  • KT-21775 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with typealias used from a different module
  • KT-22818 "UnsupportedOperationException: Don't know how to generate outer expression" on using non-trivial expression in default argument of expect function
  • KT-23117 Local delegate + local object = NoSuchMethodError
  • KT-23701 Report error when -Xmultifile-parts-inherit is used and relevant JvmMultifileClass parts have any state
  • KT-23992 Target prefixes for annotations on supertype list elements are not checked
  • KT-24490 Wrong type is inferred when last expression in lambda has functional type
  • KT-24871 Optimize iteration and contains for UIntRange/ULongRange
  • KT-24964 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with Validated typealias from Arrow
  • KT-25383 Named function as last statement in lambda doesn't coerce to Unit
  • KT-25431 Type mismatch when trying to bind mutable property with complex common system
  • KT-25435 Try/catch as the last expression of lambda cause type mismatch
  • KT-25437 Type variable fixation of postponed arguments and type variables with Nothing constraint
  • KT-25446 Empty labeled return doesn't force coercion to Unit
  • KT-26069 NoSuchMethodError on calling remove/getOrDefault on a Kotlin subclass of Java subclass of Map
  • KT-26638 Check for repeatablilty of annotations doesn't take into account annotations with use-site target
  • KT-26816 Lambdas to Nothing is inferred if multilevel collections is used (listOf, mapOf, etc)
  • KT-27190 State machine elimination after inlining stopped working (regression)
  • KT-27241 Contracts: smartcasts don't work correctly if type checking for contract function is used
  • KT-27565 Lack of fallback resolution for SAM conversions for Kotlin functions in new inference
  • KT-27799 Prohibit references to reified type parameters in annotation arguments in local classes / anonymous objects
  • KT-28182 Kotlin Bytecode tool window shows incorrect output on annotated property with backing field
  • KT-28236 "Cannot serialize error type: [ERROR : Unknown type parameter 2]" with inferred type arguments in generic extension function from Arrow
  • KT-28309 Do not generate LVT entries with different types pointing to the same slot, but have different types
  • KT-28317 Strange behavior in testJvmAssertInlineFunctionAssertionsEnabled on Jdk 6 and exception on JDK 8
  • KT-28453 Mark anonymous classes for callable references as synthetic
  • KT-28598 Type is inferred incorrectly to Any on a deep generic type with out projection
  • KT-28654 No report about type mismatch inside a lambda in generic functions with a type parameter as a return type
  • KT-28670 Not null smartcasts on an intersection of nullable types don't work
  • KT-28718 progressive mode plus new inference result in different floating-point number comparisons
  • KT-28810 Suspend function's continuation parameter is missing from LVT
  • KT-28855 NoSuchMethodError with vararg of unsigned Int in generic class constructor
  • KT-28984 Exception when subtype of kotlin.Function is used as an expected one for lambda or callable reference
  • KT-28993 Incorrect behavior when two lambdas are passed outside a parenthesized argument list
  • KT-29144 Interface with companion object generates invalid bytecode in progressive mode
  • KT-29228 Intrinsify 'for' loop for unsigned integer ranges and progressions
  • KT-29324 Warnings indexing jdk 11 classes
  • KT-29367 New inference doesn't wrap annotated type from java to TypeWithEnhancement
  • KT-29507 @field-targeted annotation on property with both getter and setter is absent from bytecode
  • KT-29705 'Rewrite at slice CONSTRUCTOR` of JS class while editing another JVM-class
  • KT-29792 UnsupportedOperationException: Unsupported annotation argument type when using Java annotation with infinity or NaN as a default value
  • KT-29891 Kotlin doesn't allow to use local class literals as annotation arguments
  • KT-29912 Crossinline nonsuspend lambda leads to KNPE during inlining
  • KT-29965 Don't generate annotation on $default method
  • KT-30030 Extensive 'Rewrite at slice'-exception with contracts in JS module of multiplatform project
  • KT-22043 Report an error when comparing enum (==/!=/when) to any other incompatible type since 1.4
  • KT-26150 KotlinFrontendException is thrown when callsInPlace called twice with different InvocationKind in functions with contracts
  • KT-26153 Contra...
Read more

Kotlin 1.3.30 EAP 4

09 Apr 14:47

Choose a tag to compare

Kotlin 1.3.30 EAP 4 Pre-release
Pre-release

CHANGELOG

1.3.30

Compiler

New Features

  • KT-19664 Allow more permissive visibility for non-virtual actual declarations
  • KT-29586 Add support for Android platform annotations
  • KT-29604 Do not implicitly propagate deprecations originated in Java

Performance Improvements

  • KT-24876 Emit calls to java.lang.Long.divideUnsigned for unsigned types when target version is 1.8
  • KT-25974 'when' by unsigned integers is not translated to tableswitch/lookupswitch
  • KT-28015 Coroutine state-machine shall use Result.throwOnFailure
  • KT-29229 Intrinsify 'in' operator for unsigned integer ranges
  • KT-29230 Specialize 'next' method call for unsigned integer range and progression iterators

Fixes

  • KT-7185 Parse import directives in the middle of the file, report a diagnostic instead
  • KT-7237 Parser recovery (angle bracket mismatch)
  • KT-11656 Could not generate LightClass because of ISE from bridge generation on invalid code
  • KT-13497 Better recovery in comma-separated lists in case of missing comma
  • KT-13703 Restore parser better when class is missing from enum declaration
  • KT-13731 Recover parser on value parameter without a type
  • KT-14227 Incorrect code is generated when using MutableMap.set with plusAssign operator
  • KT-19389 Couldn't inline method call 'with'
  • KT-20065 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with generic typealias
  • KT-20322 Debug: member value returned from suspending function is not updated immediately
  • KT-20780 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with parameterized inner type alias
  • KT-21405 Throwable “Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST” on editing string literal in kotlin-js module
  • KT-21775 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with typealias used from a different module
  • KT-22818 "UnsupportedOperationException: Don't know how to generate outer expression" on using non-trivial expression in default argument of expect function
  • KT-23117 Local delegate + local object = NoSuchMethodError
  • KT-23701 Report error when -Xmultifile-parts-inherit is used and relevant JvmMultifileClass parts have any state
  • KT-23992 Target prefixes for annotations on supertype list elements are not checked
  • KT-24490 Wrong type is inferred when last expression in lambda has functional type
  • KT-24871 Optimize iteration and contains for UIntRange/ULongRange
  • KT-24964 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with Validated typealias from Arrow
  • KT-25383 Named function as last statement in lambda doesn't coerce to Unit
  • KT-25431 Type mismatch when trying to bind mutable property with complex common system
  • KT-25435 Try/catch as the last expression of lambda cause type mismatch
  • KT-25437 Type variable fixation of postponed arguments and type variables with Nothing constraint
  • KT-25446 Empty labeled return doesn't force coercion to Unit
  • KT-26069 NoSuchMethodError on calling remove/getOrDefault on a Kotlin subclass of Java subclass of Map
  • KT-26638 Check for repeatablilty of annotations doesn't take into account annotations with use-site target
  • KT-26816 Lambdas to Nothing is inferred if multilevel collections is used (listOf, mapOf, etc)
  • KT-27190 State machine elimination after inlining stopped working (regression)
  • KT-27241 Contracts: smartcasts don't work correctly if type checking for contract function is used
  • KT-27565 Lack of fallback resolution for SAM conversions for Kotlin functions in new inference
  • KT-27799 Prohibit references to reified type parameters in annotation arguments in local classes / anonymous objects
  • KT-28182 Kotlin Bytecode tool window shows incorrect output on annotated property with backing field
  • KT-28236 "Cannot serialize error type: [ERROR : Unknown type parameter 2]" with inferred type arguments in generic extension function from Arrow
  • KT-28309 Do not generate LVT entries with different types pointing to the same slot, but have different types
  • KT-28317 Strange behavior in testJvmAssertInlineFunctionAssertionsEnabled on Jdk 6 and exception on JDK 8
  • KT-28453 Mark anonymous classes for callable references as synthetic
  • KT-28598 Type is inferred incorrectly to Any on a deep generic type with out projection
  • KT-28654 No report about type mismatch inside a lambda in generic functions with a type parameter as a return type
  • KT-28670 Not null smartcasts on an intersection of nullable types don't work
  • KT-28718 progressive mode plus new inference result in different floating-point number comparisons
  • KT-28810 Suspend function's continuation parameter is missing from LVT
  • KT-28855 NoSuchMethodError with vararg of unsigned Int in generic class constructor
  • KT-28984 Exception when subtype of kotlin.Function is used as an expected one for lambda or callable reference
  • KT-28993 Incorrect behavior when two lambdas are passed outside a parenthesized argument list
  • KT-29144 Interface with companion object generates invalid bytecode in progressive mode
  • KT-29228 Intrinsify 'for' loop for unsigned integer ranges and progressions
  • KT-29324 Warnings indexing jdk 11 classes
  • KT-29367 New inference doesn't wrap annotated type from java to TypeWithEnhancement
  • KT-29507 @field-targeted annotation on property with both getter and setter is absent from bytecode
  • KT-29705 'Rewrite at slice CONSTRUCTOR` of JS class while editing another JVM-class
  • KT-29792 UnsupportedOperationException: Unsupported annotation argument type when using Java annotation with infinity or NaN as a default value
  • KT-29891 Kotlin doesn't allow to use local class literals as annotation arguments
  • KT-29912 Crossinline nonsuspend lambda leads to KNPE during inlining
  • KT-29965 Don't generate annotation on $default method
  • KT-30030 Extensive 'Rewrite at slice'-exception with contracts in JS module of multiplatform project
  • KT-22043 Report an error when comparing enum (==/!=/when) to any other incompatible type since 1.4
  • KT-26150 KotlinFrontendException is thrown when callsInPlace called twice with different InvocationKind in functions with contracts
  • KT-26153 Contract is allowed when it's at the beginning in control flow terms, but not in tokens order terms (contract doesn't work)
  • KT-26191 Contract may not be the first statement if it's part of the expression
  • KT-29178 Prohibit arrays of reified ...
Read more

Kotlin 1.3.30 EAP 3

29 Mar 10:08

Choose a tag to compare

Kotlin 1.3.30 EAP 3 Pre-release
Pre-release

CHANGELOG

1.3.30

Compiler

New Features

  • KT-19664 Allow more permissive visibility for non-virtual actual declarations
  • KT-29586 Add support for Android platform annotations
  • KT-29604 Do not implicitly propagate deprecations originated in Java

Performance Improvements

  • KT-24876 Emit calls to java.lang.Long.divideUnsigned for unsigned types when target version is 1.8
  • KT-25974 'when' by unsigned integers is not translated to tableswitch/lookupswitch
  • KT-28015 Coroutine state-machine shall use Result.throwOnFailure
  • KT-29229 Intrinsify 'in' operator for unsigned integer ranges
  • KT-29230 Specialize 'next' method call for unsigned integer range and progression iterators

Fixes

  • KT-7185 Parse import directives in the middle of the file, report a diagnostic instead
  • KT-7237 Parser recovery (angle bracket mismatch)
  • KT-11656 Could not generate LightClass because of ISE from bridge generation on invalid code
  • KT-13497 Better recovery in comma-separated lists in case of missing comma
  • KT-13703 Restore parser better when class is missing from enum declaration
  • KT-13731 Recover parser on value parameter without a type
  • KT-14227 Incorrect code is generated when using MutableMap.set with plusAssign operator
  • KT-19389 Couldn't inline method call 'with'
  • KT-20065 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with generic typealias
  • KT-20322 Debug: member value returned from suspending function is not updated immediately
  • KT-20780 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with parameterized inner type alias
  • KT-21405 Throwable “Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST” on editing string literal in kotlin-js module
  • KT-21775 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with typealias used from a different module
  • KT-22818 "UnsupportedOperationException: Don't know how to generate outer expression" on using non-trivial expression in default argument of expect function
  • KT-23117 Local delegate + local object = NoSuchMethodError
  • KT-23701 Report error when -Xmultifile-parts-inherit is used and relevant JvmMultifileClass parts have any state
  • KT-23992 Target prefixes for annotations on supertype list elements are not checked
  • KT-24490 Wrong type is inferred when last expression in lambda has functional type
  • KT-24871 Optimize iteration and contains for UIntRange/ULongRange
  • KT-24964 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with Validated typealias from Arrow
  • KT-25383 Named function as last statement in lambda doesn't coerce to Unit
  • KT-25431 Type mismatch when trying to bind mutable property with complex common system
  • KT-25435 Try/catch as the last expression of lambda cause type mismatch
  • KT-25437 Type variable fixation of postponed arguments and type variables with Nothing constraint
  • KT-25446 Empty labeled return doesn't force coercion to Unit
  • KT-26069 NoSuchMethodError on calling remove/getOrDefault on a Kotlin subclass of Java subclass of Map
  • KT-26638 Check for repeatablilty of annotations doesn't take into account annotations with use-site target
  • KT-26816 Lambdas to Nothing is inferred if multilevel collections is used (listOf, mapOf, etc)
  • KT-27190 State machine elimination after inlining stopped working (regression)
  • KT-27241 Contracts: smartcasts don't work correctly if type checking for contract function is used
  • KT-27565 Lack of fallback resolution for SAM conversions for Kotlin functions in new inference
  • KT-27799 Prohibit references to reified type parameters in annotation arguments in local classes / anonymous objects
  • KT-28182 Kotlin Bytecode tool window shows incorrect output on annotated property with backing field
  • KT-28236 "Cannot serialize error type: [ERROR : Unknown type parameter 2]" with inferred type arguments in generic extension function from Arrow
  • KT-28309 Do not generate LVT entries with different types pointing to the same slot, but have different types
  • KT-28317 Strange behavior in testJvmAssertInlineFunctionAssertionsEnabled on Jdk 6 and exception on JDK 8
  • KT-28453 Mark anonymous classes for callable references as synthetic
  • KT-28598 Type is inferred incorrectly to Any on a deep generic type with out projection
  • KT-28654 No report about type mismatch inside a lambda in generic functions with a type parameter as a return type
  • KT-28670 Not null smartcasts on an intersection of nullable types don't work
  • KT-28718 progressive mode plus new inference result in different floating-point number comparisons
  • KT-28810 Suspend function's continuation parameter is missing from LVT
  • KT-28855 NoSuchMethodError with vararg of unsigned Int in generic class constructor
  • KT-28984 Exception when subtype of kotlin.Function is used as an expected one for lambda or callable reference
  • KT-28993 Incorrect behavior when two lambdas are passed outside a parenthesized argument list
  • KT-29144 Interface with companion object generates invalid bytecode in progressive mode
  • KT-29228 Intrinsify 'for' loop for unsigned integer ranges and progressions
  • KT-29324 Warnings indexing jdk 11 classes
  • KT-29367 New inference doesn't wrap annotated type from java to TypeWithEnhancement
  • KT-29507 @field-targeted annotation on property with both getter and setter is absent from bytecode
  • KT-29705 'Rewrite at slice CONSTRUCTOR` of JS class while editing another JVM-class
  • KT-29792 UnsupportedOperationException: Unsupported annotation argument type when using Java annotation with infinity or NaN as a default value
  • KT-29891 Kotlin doesn't allow to use local class literals as annotation arguments
  • KT-29912 Crossinline nonsuspend lambda leads to KNPE during inlining
  • KT-29965 Don't generate annotation on $default method
  • KT-30030 Extensive 'Rewrite at slice'-exception with contracts in JS module of multiplatform project
  • KT-22043 Report an error when comparing enum (==/!=/when) to any other incompatible type since 1.4
  • KT-26150 KotlinFrontendException is thrown when callsInPlace called twice with different InvocationKind in functions with contracts
  • KT-26153 Contract is allowed when it's at the beginning in control flow terms, but not in tokens order terms (contract doesn't work)
  • KT-26191 Contract may not be the first statement if it's part of the expression
  • KT-29178 Prohibit arrays of reified ...
Read more

Kotlin 1.3.30 EAP 2

15 Mar 10:27

Choose a tag to compare

Kotlin 1.3.30 EAP 2 Pre-release
Pre-release

1.3.30

Compiler

New Features

  • KT-19664 Allow more permissive visibility for non-virtual actual declarations
  • KT-29586 Add support for Android platform annotations
  • KT-29604 Do not implicitly propagate deprecations originated in Java

Performance Improvements

  • KT-24876 Emit calls to java.lang.Long.divideUnsigned for unsigned types when target version is 1.8
  • KT-25974 'when' by unsigned integers is not translated to tableswitch/lookupswitch
  • KT-28015 Coroutine state-machine shall use Result.throwOnFailure
  • KT-29229 Intrinsify 'in' operator for unsigned integer ranges
  • KT-29230 Specialize 'next' method call for unsigned integer range and progression iterators

Fixes

  • KT-7185 Parse import directives in the middle of the file, report a diagnostic instead
  • KT-7237 Parser recovery (angle bracket mismatch)
  • KT-11656 Could not generate LightClass because of ISE from bridge generation on invalid code
  • KT-13497 Better recovery in comma-separated lists in case of missing comma
  • KT-13703 Restore parser better when class is missing from enum declaration
  • KT-13731 Recover parser on value parameter without a type
  • KT-14227 Incorrect code is generated when using MutableMap.set with plusAssign operator
  • KT-19389 Couldn't inline method call 'with'
  • KT-20065 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with generic typealias
  • KT-20322 Debug: member value returned from suspending function is not updated immediately
  • KT-20780 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with parameterized inner type alias
  • KT-21405 Throwable “Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST” on editing string literal in kotlin-js module
  • KT-21775 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with typealias used from a different module
  • KT-22818 "UnsupportedOperationException: Don't know how to generate outer expression" on using non-trivial expression in default argument of expect function
  • KT-23117 Local delegate + local object = NoSuchMethodError
  • KT-23701 Report error when -Xmultifile-parts-inherit is used and relevant JvmMultifileClass parts have any state
  • KT-23992 Target prefixes for annotations on supertype list elements are not checked
  • KT-24490 Wrong type is inferred when last expression in lambda has functional type
  • KT-24871 Optimize iteration and contains for UIntRange/ULongRange
  • KT-24964 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with Validated typealias from Arrow
  • KT-25383 Named function as last statement in lambda doesn't coerce to Unit
  • KT-25431 Type mismatch when trying to bind mutable property with complex common system
  • KT-25435 Try/catch as the last expression of lambda cause type mismatch
  • KT-25437 Type variable fixation of postponed arguments and type variables with Nothing constraint
  • KT-25446 Empty labeled return doesn't force coercion to Unit
  • KT-26069 NoSuchMethodError on calling remove/getOrDefault on a Kotlin subclass of Java subclass of Map
  • KT-26638 Check for repeatablilty of annotations doesn't take into account annotations with use-site target
  • KT-26816 Lambdas to Nothing is inferred if multilevel collections is used (listOf, mapOf, etc)
  • KT-27190 State machine elimination after inlining stopped working (regression)
  • KT-27241 Contracts: smartcasts don't work correctly if type checking for contract function is used
  • KT-27565 Lack of fallback resolution for SAM conversions for Kotlin functions in new inference
  • KT-27799 Prohibit references to reified type parameters in annotation arguments in local classes / anonymous objects
  • KT-28182 Kotlin Bytecode tool window shows incorrect output on annotated property with backing field
  • KT-28236 "Cannot serialize error type: [ERROR : Unknown type parameter 2]" with inferred type arguments in generic extension function from Arrow
  • KT-28309 Do not generate LVT entries with different types pointing to the same slot, but have different types
  • KT-28317 Strange behavior in testJvmAssertInlineFunctionAssertionsEnabled on Jdk 6 and exception on JDK 8
  • KT-28453 Mark anonymous classes for callable references as synthetic
  • KT-28598 Type is inferred incorrectly to Any on a deep generic type with out projection
  • KT-28654 No report about type mismatch inside a lambda in generic functions with a type parameter as a return type
  • KT-28670 Not null smartcasts on an intersection of nullable types don't work
  • KT-28718 progressive mode plus new inference result in different floating-point number comparisons
  • KT-28810 Suspend function's continuation parameter is missing from LVT
  • KT-28855 NoSuchMethodError with vararg of unsigned Int in generic class constructor
  • KT-28984 Exception when subtype of kotlin.Function is used as an expected one for lambda or callable reference
  • KT-28993 Incorrect behavior when two lambdas are passed outside a parenthesized argument list
  • KT-29144 Interface with companion object generates invalid bytecode in progressive mode
  • KT-29228 Intrinsify 'for' loop for unsigned integer ranges and progressions
  • KT-29324 Warnings indexing jdk 11 classes
  • KT-29367 New inference doesn't wrap annotated type from java to TypeWithEnhancement
  • KT-29507 @field-targeted annotation on property with both getter and setter is absent from bytecode
  • KT-29705 'Rewrite at slice CONSTRUCTOR` of JS class while editing another JVM-class
  • KT-29792 UnsupportedOperationException: Unsupported annotation argument type when using Java annotation with infinity or NaN as a default value
  • KT-29891 Kotlin doesn't allow to use local class literals as annotation arguments
  • KT-29912 Crossinline nonsuspend lambda leads to KNPE during inlining
  • KT-29965 Don't generate annotation on $default method
  • KT-30030 Extensive 'Rewrite at slice'-exception with contracts in JS module of multiplatform project
  • KT-22043 Report an error when comparing enum (==/!=/when) to any other incompatible type since 1.4
  • KT-26150 KotlinFrontendException is thrown when callsInPlace called twice with different InvocationKind in functions with contracts
  • KT-26153 Contract is allowed when it's at the beginning in control flow terms, but not in tokens order terms (contract doesn't work)
  • KT-26191 Contract may not be the first statement if it's part of the expression
  • KT-29178 Prohibit arrays of reified type parameters...
Read more

Kotlin 1.3.30 EAP 1

28 Feb 16:47

Choose a tag to compare

Kotlin 1.3.30 EAP 1 Pre-release
Pre-release

1.3.30

Compiler

New Features

  • KT-19664 Allow more permissive visibility for non-virtual actual declarations
  • KT-29586 Add support for Android platform annotations
  • KT-29604 Do not implicitly propagate deprecations originated in Java

Performance Improvements

  • KT-24876 Emit calls to java.lang.Long.divideUnsigned for unsigned types when target version is 1.8
  • KT-25974 'when' by unsigned integers is not translated to tableswitch/lookupswitch
  • KT-28015 Coroutine state-machine shall use Result.throwOnFailure
  • KT-29229 Intrinsify 'in' operator for unsigned integer ranges
  • KT-29230 Specialize 'next' method call for unsigned integer range and progression iterators

Fixes

  • KT-7185 Parse import directives in the middle of the file, report a diagnostic instead
  • KT-7237 Parser recovery (angle bracket mismatch)
  • KT-11656 Could not generate LightClass because of ISE from bridge generation on invalid code
  • KT-13497 Better recovery in comma-separated lists in case of missing comma
  • KT-13703 Restore parser better when class is missing from enum declaration
  • KT-13731 Recover parser on value parameter without a type
  • KT-14227 Incorrect code is generated when using MutableMap.set with plusAssign operator
  • KT-19389 Couldn't inline method call 'with'
  • KT-20065 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with generic typealias
  • KT-20322 Debug: member value returned from suspending function is not updated immediately
  • KT-20780 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with parameterized inner type alias
  • KT-21405 Throwable “Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST” on editing string literal in kotlin-js module
  • KT-21775 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with typealias used from a different module
  • KT-22818 "UnsupportedOperationException: Don't know how to generate outer expression" on using non-trivial expression in default argument of expect function
  • KT-23117 Local delegate + local object = NoSuchMethodError
  • KT-23701 Report error when -Xmultifile-parts-inherit is used and relevant JvmMultifileClass parts have any state
  • KT-23992 Target prefixes for annotations on supertype list elements are not checked
  • KT-24490 Wrong type is inferred when last expression in lambda has functional type
  • KT-24871 Optimize iteration and contains for UIntRange/ULongRange
  • KT-24964 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with Validated typealias from Arrow
  • KT-25383 Named function as last statement in lambda doesn't coerce to Unit
  • KT-25431 Type mismatch when trying to bind mutable property with complex common system
  • KT-25435 Try/catch as the last expression of lambda cause type mismatch
  • KT-25437 Type variable fixation of postponed arguments and type variables with Nothing constraint
  • KT-25446 Empty labeled return doesn't force coercion to Unit
  • KT-26069 NoSuchMethodError on calling remove/getOrDefault on a Kotlin subclass of Java subclass of Map
  • KT-26638 Check for repeatablilty of annotations doesn't take into account annotations with use-site target
  • KT-26816 Lambdas to Nothing is inferred if multilevel collections is used (listOf, mapOf, etc)
  • KT-27190 State machine elimination after inlining stopped working (regression)
  • KT-27241 Contracts: smartcasts don't work correctly if type checking for contract function is used
  • KT-27565 Lack of fallback resolution for SAM conversions for Kotlin functions in new inference
  • KT-27799 Prohibit references to reified type parameters in annotation arguments in local classes / anonymous objects
  • KT-28182 Kotlin Bytecode tool window shows incorrect output on annotated property with backing field
  • KT-28236 "Cannot serialize error type: [ERROR : Unknown type parameter 2]" with inferred type arguments in generic extension function from Arrow
  • KT-28309 Do not generate LVT entries with different types pointing to the same slot, but have different types
  • KT-28317 Strange behavior in testJvmAssertInlineFunctionAssertionsEnabled on Jdk 6 and exception on JDK 8
  • KT-28453 Mark anonymous classes for callable references as synthetic
  • KT-28598 Type is inferred incorrectly to Any on a deep generic type with out projection
  • KT-28654 No report about type mismatch inside a lambda in generic functions with a type parameter as a return type
  • KT-28670 Not null smartcasts on an intersection of nullable types don't work
  • KT-28718 progressive mode plus new inference result in different floating-point number comparisons
  • KT-28810 Suspend function's continuation parameter is missing from LVT
  • KT-28855 NoSuchMethodError with vararg of unsigned Int in generic class constructor
  • KT-28984 Exception when subtype of kotlin.Function is used as an expected one for lambda or callable reference
  • KT-28993 Incorrect behavior when two lambdas are passed outside a parenthesized argument list
  • KT-29144 Interface with companion object generates invalid bytecode in progressive mode
  • KT-29228 Intrinsify 'for' loop for unsigned integer ranges and progressions
  • KT-29324 Warnings indexing jdk 11 classes
  • KT-29367 New inference doesn't wrap annotated type from java to TypeWithEnhancement
  • KT-29507 @field-targeted annotation on property with both getter and setter is absent from bytecode
  • KT-29705 'Rewrite at slice CONSTRUCTOR` of JS class while editing another JVM-class
  • KT-29792 UnsupportedOperationException: Unsupported annotation argument type when using Java annotation with infinity or NaN as a default value
  • KT-29891 Kotlin doesn't allow to use local class literals as annotation arguments
  • KT-29912 Crossinline nonsuspend lambda leads to KNPE during inlining
  • KT-29965 Don't generate annotation on $default method
  • KT-30030 Extensive 'Rewrite at slice'-exception with contracts in JS module of multiplatform project

IDE

New Features

  • KT-26950 Support Multiline TODO comments
  • KT-29034 Make JvmDeclarationSearch find private fields in kotlin classes

Performance Improvements

  • KT-29457 FindImplicitNothingAction#update freezes UI for 30 secs
  • KT-29551 CreateKotlinSdkActivity runs on UI thread

Fixes

  • KT-11143 Do not insert closing brace for string template between open brace and identifier
  • KT-18503 Optimize imports produces ...
Read more

Kotlin 1.3.21

06 Feb 14:27

Choose a tag to compare

1.3.21

Compiler

Fixes

  • KT-29475 IllegalArgumentException at getAbstractTypeFromDescriptor with deeply nested expression inside function named with a right parenthesis
  • KT-29479 WARN: Could not read file on Java classes from JDK 11+
  • KT-29360 Kotlin 1.3.20-eap-100: This marker function should never been called. Looks like compiler did not eliminate it properly. Please, report an issue if you caught this exception.

IDE

Fixes

  • KT-29486 Throwable: "Could not find correct module information" through IdeaKotlinUastResolveProviderService.getBindingContext() and ReplaceWithAnnotationAnalyzer.analyzeOriginal()
  • KT-29394 Kotlin 1.3.20 EAP: Excess log messages with kotlin.parallel.tasks.in.project=true
  • KT-29474 Regression in 1.3.20: Kotlin IDE plugin parses all *.gradle.kts files when any class in buildSrc is opened
  • KT-29290 Warning "function returning deferred with a name that does not end with async" should not be displayed for let/also/apply...
  • KT-29494 Don't report BooleanLiteralArgumentInspection in batch (offline) mode with INFORMATION severity
  • KT-29525 turning on parallel tasks causes java.lang.NoClassDefFoundError: Could not initialize class kotlin.Unit sometimes
  • KT-27769 Change the DSL marker icon
  • KT-29118 Log polluted with multiple "Kotlin does not support alternative resolve" reports

IDE. Multiplatform

  • KT-28128 MPP Kotlin/Native re-downloads POM files on IDE Gradle refresh

IDE. REPL

  • KT-29400 IDE REPL in Gradle project: "IllegalStateException: consoleView must not be null" on module build

Libraries

Fixes

  • KT-29612 jlink refuses to consume stdlib containing non-public package kotlin.native

Tools. CLI

  • KT-29596 "AssertionError: Cannot load extensions/common.xml from kotlin-compiler.jar" on IBM JDK 8

Tools. Gradle

  • KT-29476 1.3.20 MPP Android publishing common api configuration with runtime scope
  • KT-29725 MPP Gradle 5.2: NoSuchMethodError in WrapUtil
  • KT-29485 In MPP with Gradle module metadata, POM rewriting does not replace the root module publication with a platform one if the former has a custom artifact ID

Tools. Scripts

  • KT-29490 Regression in 1.3.20: Kotlin Jsr223 script engine cannot handle functional return types

Tools. Kapt

  • KT-29481 Annotation processors run on androidTest source set even without the kaptAndroidTest declaration
  • KT-29513 kapt throws "ZipException: zip END header not found", when Graal SVM jar in classpath

1.3.20

23 Jan 17:37

Choose a tag to compare

Content

The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.

Changelog

1.3.20

Android

  • KT-22571 Android: Configure Kotlin should add implementation dependency instead of compile

Compiler

New Features

  • KT-14416 Support of @PolymorphicSignature in Kotlin compiler
  • KT-22704 Allow expect annotations with actual typealias to Java to have default argument values both in expected and in actual
  • KT-26165 Support VarHandle in JVM codegen
  • KT-26999 Inspection for unused main parameter in Kotlin 1.3

Performance Improvements

  • KT-16867 Proguard can't unbox Kotlin enums to integers
  • KT-23466 kotlin compiler opens-reads-closes .class files many times over
  • KT-25613 Optimise boxing of inline class values inside string templates

Fixes

  • KT-2680 JVM backend should generate synthetic constructors for enum entries (as javac does).
  • KT-6574 Enum entry classes should be compiled to package private classes
  • KT-8341 Local variable cannot have type parameters
  • KT-14529 JS: annotations on property accessors are not serialized
  • KT-15453 Annotations are ignored on accessors of private properties
  • KT-18053 Unexpected behavior with "in" infix operator and ConcurrentHashMap
  • KT-18592 Compiler cannot resolve trait-based superclass of Groovy dependency
  • KT-19613 "Public property exposes its private type" not reported for primary constructor properties
  • KT-20344 Unused private setter created for property
  • KT-21862 java.lang.NoSuchFieldError when calling isInitialized on a lateinit "field" of a companion object
  • KT-21946 Compilation error during default lambda inlining when it returns anonymous object
  • KT-22154 Warning: Stripped invalid locals information from 1 method when compiling with D8
  • KT-23369 Internal compiler error in SMAPParser.parse
  • KT-23543 Back-end (JVM) Internal error: Couldn't inline method
  • KT-23739 CompilationException: Back-end (JVM) Internal error: Couldn't inline method call: Unmapped line number in inlined function
  • KT-24156 For-loop optimization should not be applied in case of custom iterator
  • KT-24672 JVM BE: Wrong range is generated in LVT for variables with "late" assignment
  • KT-24780 Recursive suspend local functions: "Expected an object reference, but found ."
  • KT-24937 Exception from parser (EA-76217)
  • KT-25058 Fix deprecated API usage in RemappingClassBuilder
  • KT-25288 SOE when inline class is recursive through type parameter upper bound
  • KT-25295 “Couldn't transform method node” error on compiling inline class with inherited interface method call
  • KT-25424 No coercion to Unit when type argument specified explicitly
  • KT-25702 @jvmoverloads should not be allowed on constructors of annotation classes
  • KT-25893 crossinline suspend function leads to IllegalStateException: call to 'resume' before 'invoke' with coroutine or compile error
  • KT-25907 "Backend Internal error" for a nullable loop variable with explicitly declared type in a for-loop over String
  • KT-25922 Back-end Internal error : Couldn't inline method : Lambda inlining : invoke(Continuation) : Trying to access skipped parameter
  • KT-26126 Front-end doesn't check that fun with contract and callsInPlace effect is an inline function; compiler crashes on val initialization
  • KT-26366 UseExperimental with full qualified reference to marker annotation class is reported as error
  • KT-26384 Compiler crash with nested multi-catch try, finally block and inline function
  • KT-26505 Improve error message on missing script base class kotlin.script.templates.standard.ScriptTemplateWithArgs
  • KT-26506 Incorrect bytecode generated for inner class inside inline class referencing outer 'this'
  • KT-26508 Incorrect accessor generated for private inline class method call from lambda
  • KT-26509 Internal compiler error on generating inline class private method call from companion object
  • KT-26554 VerifyError: Bad type on operand stack for inline class with default parameter of underlying type
  • KT-26582 Array literal of a primitive wrapper class is loaded as a primitive array literal
  • KT-26608 Couldn't inline method call. RuntimeException: Trying to access skipped parameter: Ljava/lang/Object;
  • KT-26658 Trying to access skipped parameter exception in code with crossinline suspend lambda with suspend function with default parameter call
  • KT-26715 NullPointerException for an inline class constructor reference
  • KT-26848 Incorrect line in coroutine debug metadata for first suspension point
  • KT-26908 Inline classes can't have a parameter with a default value (Platform declaration clash)
  • KT-26931 NSME “InlineClass.foo-impl(LIFace;)I” on calling inherited method from inline class instance
  • KT-26932 CCE “Foo cannot be cast to java.lang.String” when accessing underlying value of inline class through reflection
  • KT-26998 Default extension fun call in generic Kotlin interface with inline class substituted type of extension receiver fails with internal compiler error
  • KT-27025 Inline class access to private companion object fun fails with VerifyError
  • KT-27070 Delegated property with inline class type delegate fails with internal error in codegen
  • KT-27078 Inline class instance captured in closure fails with internal error (incorrect bytecode generated)
  • KT-27107 JvmStatic in inline class companion doesn't generate static method in the class
  • KT-27113 Inline class's toString is not called when it is used in string extrapolation
  • KT-27140 Couldn't inline method call 'ByteArray' with inline class
  • KT-27162 Incorrect container is generated to callable reference classes for references to inline class members
  • KT-27259 "Internal error: wrong code generated" for nullable inline class with an inline class underlying type
  • KT-27318 Interface implementation by delegation to inline class type delegate fails with internal error in codegen
  • KT-27358 Boxed inline class type default parameter values fail with CCE at run-time
  • KT-27416 "IllegalStateException: Backend Internal error" for inline class with a function with default argument value
  • KT-27429 "-java-parameters" compiler argument fails in constructor when there is an inline class parameter present
  • KT-27513 Backend Internal Error when using inline method inside inline class
  • KT-27560 Executing...
Read more