Skip to content

Releases: JetBrains/kotlin

Kotlin 1.3.60 EAP 3

06 Nov 19:49

Choose a tag to compare

Kotlin 1.3.60 EAP 3 Pre-release
Pre-release

CHANGELOG

1.3.60 EAP 3

Compiler

  • KT-18541 Prohibit "tailrec" modifier on open functions
  • KT-19844 Do not render type annotations on symbols rendered in diagnostic messages
  • KT-24913 KotlinFrontEndException with local class in init of generic class
  • KT-31540 Change initialization order of default values for tail recursive optimized functions

IDE

  • KT-21153 IDE: string template + annotation usage: ISE: "Couldn't get delegate" at LightClassDataHolderKt.findDelegate()
  • KT-33352 "KotlinExceptionWithAttachments: Couldn't get delegate for class" on nested class/object
  • KT-34042 "Error loading Kotlin facets. Kotlin facets are not allowed in Kotlin/Native Module" in 192 IDEA
  • KT-34237 MPP with Android target: common* source sets are not shown as source roots in IDE

IDE. Debugger

  • KT-11395 Breakpoint inside lambda argument of InlineOnly function doesn't work

IDE. Gradle

  • KT-32960 KotlinMPPGradleModelBuilder takes a long time to process when syncing non-MPP project with IDE
  • KT-34424 With Kotlin plugin in Gradle project without Native the IDE fails to start Gradle task: "Kotlin/Native properties file is absent at null/konan/konan.properties"

IDE. Inspections and Intentions

  • KT-32965 False positive "Redundant qualifier name" with nested enum member call
  • KT-33597 False positive "Redundant qualifier name" with class property initialized with same-named object property
  • KT-33991 False positive "Redundant qualifier name" with enum member function call
  • KT-34113 False positive "Redundant qualifier name" with Enum.values() from a different Enum

IDE. Run Configurations

  • KT-34366 Implement gutters for running tests (multi-platform projects)

Libraries

  • KT-33864 Read from pseudo-file system is empty

Tools. CLI

  • KT-24966 Classloader problems when running basic kafka example with kotlin and kotlinc

Tools. Gradle

  • KT-33980 Read the granular source sets metadata flag value once and cache it for the current Gradle build
  • KT-34312 UnsupportedOperationException on requiresVisibilityOf in the Kotlin Gradle plugin

Tools. Gradle. JS

  • KT-32319 Gradle, js, webpack: source-map-loader failed to load source contents from relative urls
  • KT-33417 NodeTest failed with error "Failed to create MD5 hash" after NodeRun is executed
  • KT-33747 Exception doesn't fail the test in kotlin js node runner

Tools. J2K

  • KT-19355 "Variable expected" error after J2K for increment/decrement of an object field
  • KT-19569 Java wrappers for primitives are converted to nullable types with nullability errors in Kotlin
  • KT-30643 J2K: wrong position of TYPE_USE annotation
  • KT-32518 Nullability information is lost after J2K convertion of constructor with null parameter
  • KT-33941 J2K: Overload resolution ambiguity with assertThat and StackOverflowError in IDEA
  • KT-33942 New J2K: StackOverflowError from org.jetbrains.kotlin.nj2k.inference.common.BoundTypeCalculatorImpl.boundTypeUnenhanced
  • KT-34164 J2K: on converting static method references in other .java sources are not corrected
  • KT-34165 J2K: imports are lost in conversion, references resolve to different same-named classes
  • KT-34266 Multiple errors after converting Java class implementing an interface from another file

Tools. Scripts

  • KT-33892 REPL/Script: Implement mechanism for resolve top-level functions and properties from classloader
  • KT-34294 SamWithReceiver cannot be used with new scripting API

Tools. kapt

  • KT-33503 Kapt, Spring Boot: "Could not resolve all files for configuration ':_classStructurekaptKotlin'"

Kotlin Native

Related Kotlin Native changelog can be found separately.

Previous releases

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

Kotlin 1.3.60 EAP 2

22 Oct 00:31

Choose a tag to compare

Kotlin 1.3.60 EAP 2 Pre-release
Pre-release

CHANGELOG

1.3.60 EAP 2

Compiler

  • KT-18541 Prohibit "tailrec" modifier on open functions
  • KT-19844 Do not render type annotations on symbols rendered in diagnostic messages
  • KT-24913 KotlinFrontEndException with local class in init of generic class
  • KT-28940 Concurrency issue for lazy values with the post-computation phase
  • KT-31540 Change initialization order of default values for tail recursive optimized functions

IDE

  • KT-21153 IDE: string template + annotation usage: ISE: "Couldn't get delegate" at LightClassDataHolderKt.findDelegate()
  • KT-33352 "KotlinExceptionWithAttachments: Couldn't get delegate for class" on nested class/object
  • KT-34042 "Error loading Kotlin facets. Kotlin facets are not allowed in Kotlin/Native Module" in 192 IDEA
  • KT-34237 MPP with Android target: common* source sets are not shown as source roots in IDE

IDE. Debugger

  • KT-11395 Breakpoint inside lambda argument of InlineOnly function doesn't work

IDE. Gradle

  • KT-32960 KotlinMPPGradleModelBuilder takes a long time to process when syncing non-MPP project with IDE
  • KT-34424 With Kotlin plugin in Gradle project without Native the IDE fails to start Gradle task: "Kotlin/Native properties file is absent at null/konan/konan.properties"

IDE. Inspections and Intentions

  • KT-32965 False positive "Redundant qualifier name" with nested enum member call
  • KT-33597 False positive "Redundant qualifier name" with class property initialized with same-named object property
  • KT-33991 False positive "Redundant qualifier name" with enum member function call
  • KT-34113 False positive "Redundant qualifier name" with Enum.values() from a different Enum

IDE. Run Configurations

  • KT-34366 Implement gutters for running tests (multi-platform projects)

Libraries

  • KT-33864 Read from pseudo-file system is empty

Tools. CLI

  • KT-24966 Classloader problems when running basic kafka example with kotlin and kotlinc

Tools. Gradle

  • KT-33980 Read the granular source sets metadata flag value once and cache it for the current Gradle build
  • KT-34312 UnsupportedOperationException on requiresVisibilityOf in the Kotlin Gradle plugin

Tools. Gradle. JS

  • KT-32319 Gradle, js, webpack: source-map-loader failed to load source contents from relative urls
  • KT-33417 NodeTest failed with error "Failed to create MD5 hash" after NodeRun is executed
  • KT-33747 Exception doesn't fail the test in kotlin js node runner

Tools. J2K

  • KT-19355 "Variable expected" error after J2K for increment/decrement of an object field
  • KT-19569 Java wrappers for primitives are converted to nullable types with nullability errors in Kotlin
  • KT-30643 J2K: wrong position of TYPE_USE annotation
  • KT-32518 Nullability information is lost after J2K convertion of constructor with null parameter
  • KT-33941 J2K: Overload resolution ambiguity with assertThat and StackOverflowError in IDEA
  • KT-33942 New J2K: StackOverflowError from org.jetbrains.kotlin.nj2k.inference.common.BoundTypeCalculatorImpl.boundTypeUnenhanced
  • KT-34164 J2K: on converting static method references in other .java sources are not corrected
  • KT-34165 J2K: imports are lost in conversion, references resolve to different same-named classes
  • KT-34266 Multiple errors after converting Java class implementing an interface from another file

Tools. Scripts

  • KT-33892 REPL/Script: Implement mechanism for resolve top-level functions and properties from classloader
  • KT-34294 SamWithReceiver cannot be used with new scripting API

Tools. kapt

  • KT-33503 Kapt, Spring Boot: "Could not resolve all files for configuration ':_classStructurekaptKotlin'"

Kotlin Native

Related Kotlin Native changelog can be found separately.

Previous releases

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

Kotlin 1.3.60 EAP 1

08 Oct 16:53

Choose a tag to compare

Kotlin 1.3.60 EAP 1 Pre-release
Pre-release

CHANGELOG

1.3.60

Android

  • KT-27170 Android lint tasks fails in Gradle with MPP dependency

Compiler

New Features

  • KT-31230 Refine rules for allowed Array-based class literals on different platforms: allow Array::class everywhere, disallow Array<...>::class on non-JVM
  • KT-33413 Allow 'break' and 'continue' in 'when' statement to point to innermost surrounding loop

Performance Improvements

  • KT-14513 Suboptimal compilation of lazy delegated properties with inline getValue
  • KT-28507 Extra InlineMarker.mark invocation in generated suspending function bytecode
  • KT-29229 Intrinsify 'in' operator for unsigned integer ranges

Fixes

  • KT-7354 Confusing error message when trying to access package local java class
  • KT-9310 Don't make interface and DefaultImpls methods synchronized
  • KT-11430 Improve diagnostics for dangling lambdas
  • KT-16526 Provide better error explanation when one tries to delegate var to read-only delegate
  • KT-20258 Improve annotation rendering in diagnostic messages
  • KT-22275 Unify exceptions from null checks
  • KT-27503 Private functions uses from inside of suspendCoroutine go though accessor
  • KT-28938 Coroutines tail-call optimization does not work for generic returns that had instantiated to Unit
  • KT-29385 "AnalyzerException: Expected an object reference, but found I" for EXACTLY_ONCE non-inline contract with captured class constructor parameter
  • KT-29510 "RuntimeException: Trying to access skipped parameter" with EXACTLY_ONCE contract and nested call of crossinline lambda
  • KT-29614 java.lang.VerifyError: Bad type on operand stack - in inlining, crossinline in constructor with EXACTLY_ONCE contract
  • KT-30275 Get rid of session in FirElement
  • KT-30744 Invoking Interface Static Method from Extension method generates incorrect jvm bytecode
  • KT-30785 Equality comparison of inline classes results in boxing
  • KT-32217 FIR: support delegated properties resolve
  • KT-32433 NI: UninferredParameterTypeConstructor with class property
  • KT-32587 NI: Type mismatch "String" vs "String" in IDE on generic .invoke on generic delegated property
  • KT-32689 Shuffled line numbers in suspend functions with elvis operator
  • KT-32851 Constraint for callable reference argument doesn't take into account use-site variance
  • KT-32864 The line number of assertFailsWith in suspending function is lost
  • KT-33125 NI: "Rewrite at slice INDEXED_LVALUE_SET" with Mutable Map set index operator inside "@kotlin.BuilderInference" block
  • KT-33414 'java.lang.AssertionError: int type expected, but null was found in basic frames' in kotlin-io while building library train
  • KT-33421 Please make NOTHING_TO_INLINE warning shorter
  • KT-33504 EA-209823 - ISE: ProjectResolutionFacade$computeModuleResolverProvider$resolverForProject$$.invoke: Can't find builtIns by key CacheKeyBySdk
  • KT-33572 Scripting import with implicit receiver doesn't work
  • KT-33821 Compiler should not rely on the default locale when generating boxing for suspend functions

Docs & Examples

  • KT-26212 Update docs to explicitly mention that union is opposite of intersect
  • KT-34086 Website, stdlib api docs: unresolved link jvm/stdlib/kotlin.text/-charsets/Charset

IDE

Fixes

  • KT-8581 'Move Statement' doesn't work for statement finished by semicolon
  • KT-9204 Shorten references and some other IDE features have problem when package name clash with class name
  • KT-17993 Annotations are colored the same as language keywords
  • KT-21037 LazyLightClassMemberMatchingError$WrongMatch “Matched :BAR MemberIndex(index=0) to :BAR MemberIndex(index=1) in KtLightClassImpl” after duplicating values inside enum class
  • KT-23305 We should be able to see platform-specific errors in common module
  • KT-23461 Move statement up/down attaches a comment block to the function being moved
  • KT-26960 IDE doesn't report actual without expect placed into a custom platform-agnostic source set
  • KT-27243 LazyLightClassMemberMatchingError when overriding hidden member
  • KT-28404 Gradle configuration page is missing from a New Project Wizard creation flow for multiplatform templates
  • KT-30824 No highlighting of declaration/usage of function with functional-type (lambda) parameter on its usage
  • KT-31117 AssertionError at CompletionBindingContextProvider._getBindingContext when typing any character within string with injected Kotlin
  • KT-31139 "Override members" on enum inserts semicolon before enum body
  • KT-31810 Paste inside indented .trimIndent() raw string doesn't respect indentation
  • KT-32401 Exceptions while running IDEA in headless mode for building searchable options
  • KT-32543 UltraLight support for Kotlin collections.
  • KT-32544 Support UltraLight classes for local/anonymous/enum classes
  • KT-32799 2019.2 RC (192.5728.74) Kotlin plugin exception during build searchable options (Directory index may not be queried for default project)
  • KT-33008 IDEA does not report in MPP: Upper bound of a type parameter cannot be an array
  • KT-33316 Kotlin Facet: make sure the order of allPlatforms value is fixed
  • KT-33561 LazyLightClassMemberMatchingError when overloading synthetic member
  • KT-33584 Make kotlin light classes return no-arg constructor when no-arg (or jpa) compiler plugin is enabled
  • KT-33775 please remove usages of org.intellij.plugins.intelliLang.inject.InjectorUtils#putInjectedFileUserData(com.intellij.lang.injection.MultiHostRegistrar, com.intellij.openapi.util.Key, T) deprecated eons ago
  • KT-33813 Poor formatting of 'Selected target platforms' and 'Depends on' in facet settings
  • KT-33937 delay() completion from kotlinx.coroutines causes happening of root package in code
  • KT-33973 Kotlin objects could abuse idea plugin functionality
  • KT-34000 Import quickfix does not work for extension methods from objects
  • KT-34070 "No target platforms selected" message for commonTest facet at mobile shared library project
  • KT-34191 Since-build .. until-build compatibility ranges are the same for 192 and 193 IDE plugins

IDE. Completion

  • KT-10340 Import completion unable to shorten fq-names when there is a conflict between package name and local identifier
  • KT-17689 Code completion for enum typealias doesn't show members
  • KT-28998 Slow completion for build.gradle.kts (Kotlin Gradle DSL script)
  • KT-30996 DSL extension methods which are not applicable are offered for completion
  • KT-31902 Fully qualified name is used for delay instead of import and just method name
    ...
Read more

1.3.50

22 Aug 19:24
6d6618a

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).

CHANGELOG

1.3.50

Compiler

  • KT-12787 Debugger: Generate line number at end of function (to set a breakpoint on the last line of the block)
  • KT-23675 "Parameter specified as non-null is null: method org.jetbrains.kotlin.codegen.FrameMapBase.getIndex, parameter descriptor" when classes are defined inside an anonymous extension function and access a field of the extension function's this instance
  • KT-24596 Refactor / Inline const property does not insert its value into usage in annotation
  • KT-25497 kotlinx.serialization - throws Backend Internal error exception during code generation of sealed classes
  • KT-28927 "IllegalStateException: Arrays of class literals are not supported yet" in AnnotationDeserializer.resolveArrayElementType
  • KT-31070 IndexOutOfBoundsException in Analyzer with @jvmoverloads constructor with 34+ parameters
  • KT-31265 FIR: experimental compiler
  • KT-31535 False positives from compiler warning IMPLICIT_NOTHING_AS_TYPE_PARAMETER
  • KT-31969 NI: false positive USELESS_ELVIS with multiple elvis calls
  • KT-32044 For loop over full UByte range terminates at UInt bound.
  • KT-25432 No smartcast on qualifier expression of captured type
  • KT-30796 psi2ir generates IrErrorType for elvis with generic type having nullable upper-bound when expected type is not nullable
  • KT-31242 "Can't find enclosing method" proguard compilation exception with inline and crossinline
  • KT-31347 "IndexOutOfBoundsException: Insufficient maximum stack size" with crossinline and suspend
  • KT-31367 IllegalStateException: Concrete fake override public open fun (...) defined in TheIssue[PropertyGetterDescriptorImpl@1a03c376] should have exactly one concrete super-declaration: []
  • KT-31734 Empty parameter list required on Annotations of function types
  • KT-32434 New type inference fails for Caffeine Cache
  • KT-32452 Kotlin 1.3.40 - problem in IDE with new type inference and suspending method reference
  • KT-32407 NI: "use property access syntax" intention causes freezes in editor
  • KT-33127 Script result value is not calculated properly for the last expression
  • KT-33157 Inline class with generic method is considered bad class by javac

Docs & Examples

  • KT-16602 Provide examples of sorting API usage
  • KT-32353 Document order of array elements initialization

IDE

New Features

  • KT-28098 Insert space after automatically closed right brace of nested lambda to follow code style

Fixes

  • KT-16476 Extend selection (Select Word) doesn't select just KDoc if cursor is just before the KDoc
  • KT-21374 Imports optimized tooltip is displayed, even if no changes were made
  • KT-21422 IDE can't import class from root package
  • KT-27344 MPP: jvmWithJava: no IDE module dependency is created between Kotlin test and Java main on import; Gradle build is successful
  • KT-29667 Kotlin update settings has wrong looking text boxes for versions
  • KT-30133 Update copyright creates duplicates for build.gradle.kts files
  • KT-30782 'Show Method Separators' does not separate expression body Kotlin functions
  • KT-31022 Quick definition does not show Kotlin code in Java files
  • KT-31499 "Extend selection" selects escaped identifier name together with backticks
  • KT-31595 "Complete current statement" for method call closes brace at wrong place
  • KT-31637 NPE in IDE when organizing imports
  • KT-31786 KNPE at copy attempt due to kdoc reference
  • KT-32276 Fix flaky test for ultra light classes
  • KT-32364 Remove deprecated usages of OUT_OF_CODE_BLOCK_MODIFICATION_COUNT and write a replacement for Kotlin language
  • KT-32370 Lambdas should have implicit return in Kotlin Uast
  • KT-12096 Spring: rename of Kotlin bean defined in @Bean annotation fails
  • KT-28193 Exception: Mirror element should never be calculated for light classes generated from a single file
  • KT-28822 Dependencies in Kotlin MPP project could be wrongly resolved if project was not build before import
  • KT-29267 Enable ultra-light classes by default
  • KT-31129 Call only Kotlin-specific reference contributors for getting Kotlin references from PSI
  • KT-32082 Kotlin facet: 1.3.40 plugin does not properly read target platform settings of 1.3.50 plugin
  • KT-32969 Data class extending abstract class with final toString, equals or hashCode causes exception
  • KT-33245 IllegalArgumentException exception occurs on Tools->Configure Koltin in Project action in Android Studio

IDE. Completion

  • KT-9792 Don't propose the same name for arguments of lambda on completion of function call with lambda template
  • KT-29572 Smart completing anonymous object uses incorrect code style
  • KT-25264 Freeze in Kotlin file on completion
  • KT-32519 Keyword completion: support fixing layout and typo tolerance

IDE. Debugger

New Features

  • KT-30740 Display more information about variables when breakpoint is set inside lambda expression

Fixes

  • KT-8579 Debugger: Evaluate expression fails at typed arrays
  • KT-10183 Debugger: receiver properties are not shown inline in extension function
  • KT-11663 Assignment is not possible in Evaluate expression
  • KT-11706 Attempts to evaluate java method calls on 'Array' instance in debugger fail with NoSuchMethodError
  • KT-11888 Evaluate Expression for expression with synchronized
  • KT-11938 Empty condition is marked as error
  • KT-13188 Cannot evaluate expression with local extension function
  • KT-14421 Debugger: breakpoint set on trivial if/while is not hit
  • KT-15259 Debug: closing brace of object definition is considered executable; ISE: "Don't call this method for local declarations: OBJECT_DECLARATION" at LazyDeclarationResolver.getMemberScopeDeclaredIn()
  • KT-19084 Breakpoints on Debugger altering Result
  • KT-19556 Kotlin exception while debugging IJ plugin code
  • KT-19980 Debug: evaluation fails for setter of member extention property
  • KT-20560 Evaluate expression doesn't work for super method call
  • KT-23526 In *.kts scripts, debugger ignores breakpoints in top-level statements and members
  • KT-24914 AS: Uninitialized yet lazy properties called on first debug point reach
  • KT-26742 Debugger can't evaluate expected top-level function from common code
  • KT-30120 False positive "Unused equals expression" in e...
Read more

Kotlin 1.3.50 EAP 3

14 Aug 09:19

Choose a tag to compare

Kotlin 1.3.50 EAP 3 Pre-release
Pre-release

CHANGELOG

1.3.50

Compiler

  • KT-12787 Debugger: Generate line number at end of function (to set a breakpoint on the last line of the block)
  • KT-23675 "Parameter specified as non-null is null: method org.jetbrains.kotlin.codegen.FrameMapBase.getIndex, parameter descriptor" when classes are defined inside an anonymous extension function and access a field of the extension function's this instance
  • KT-24596 Refactor / Inline const property does not insert its value into usage in annotation
  • KT-25497 kotlinx.serialization - throws Backend Internal error exception during code generation of sealed classes
  • KT-28927 "IllegalStateException: Arrays of class literals are not supported yet" in AnnotationDeserializer.resolveArrayElementType
  • KT-31070 IndexOutOfBoundsException in Analyzer with @jvmoverloads constructor with 34+ parameters
  • KT-31265 FIR: experimental compiler
  • KT-31535 False positives from compiler warning IMPLICIT_NOTHING_AS_TYPE_PARAMETER
  • KT-31969 NI: false positive USELESS_ELVIS with multiple elvis calls
  • KT-32044 For loop over full UByte range terminates at UInt bound.
  • KT-25432 No smartcast on qualifier expression of captured type
  • KT-30796 psi2ir generates IrErrorType for elvis with generic type having nullable upper-bound when expected type is not nullable
  • KT-31242 "Can't find enclosing method" proguard compilation exception with inline and crossinline
  • KT-31347 "IndexOutOfBoundsException: Insufficient maximum stack size" with crossinline and suspend
  • KT-31367 IllegalStateException: Concrete fake override public open fun (...) defined in TheIssue[PropertyGetterDescriptorImpl@1a03c376] should have exactly one concrete super-declaration: []
  • KT-31734 Empty parameter list required on Annotations of function types
  • KT-32434 New type inference fails for Caffeine Cache
  • KT-32452 Kotlin 1.3.40 - problem in IDE with new type inference and suspending method reference
  • KT-32407 NI: "use property access syntax" intention causes freezes in editor
  • KT-33127 Script result value is not calculated properly for the last expression
  • KT-33157 Inline class with generic method is considered bad class by javac

Docs & Examples

  • KT-16602 Provide examples of sorting API usage
  • KT-32353 Document order of array elements initialization

IDE

New Features

  • KT-28098 Insert space after automatically closed right brace of nested lambda to follow code style

Fixes

  • KT-16476 Extend selection (Select Word) doesn't select just KDoc if cursor is just before the KDoc
  • KT-21374 Imports optimized tooltip is displayed, even if no changes were made
  • KT-21422 IDE can't import class from root package
  • KT-27344 MPP: jvmWithJava: no IDE module dependency is created between Kotlin test and Java main on import; Gradle build is successful
  • KT-29667 Kotlin update settings has wrong looking text boxes for versions
  • KT-30133 Update copyright creates duplicates for build.gradle.kts files
  • KT-30782 'Show Method Separators' does not separate expression body Kotlin functions
  • KT-31022 Quick definition does not show Kotlin code in Java files
  • KT-31499 "Extend selection" selects escaped identifier name together with backticks
  • KT-31595 "Complete current statement" for method call closes brace at wrong place
  • KT-31637 NPE in IDE when organizing imports
  • KT-31786 KNPE at copy attempt due to kdoc reference
  • KT-32276 Fix flaky test for ultra light classes
  • KT-32364 Remove deprecated usages of OUT_OF_CODE_BLOCK_MODIFICATION_COUNT and write a replacement for Kotlin language
  • KT-32370 Lambdas should have implicit return in Kotlin Uast
  • KT-12096 Spring: rename of Kotlin bean defined in @Bean annotation fails
  • KT-28193 Exception: Mirror element should never be calculated for light classes generated from a single file
  • KT-28822 Dependencies in Kotlin MPP project could be wrongly resolved if project was not build before import
  • KT-29267 Enable ultra-light classes by default
  • KT-31129 Call only Kotlin-specific reference contributors for getting Kotlin references from PSI
  • KT-32082 Kotlin facet: 1.3.40 plugin does not properly read target platform settings of 1.3.50 plugin
  • KT-32969 Data class extending abstract class with final toString, equals or hashCode causes exception
  • KT-33245 IllegalArgumentException exception occurs on Tools->Configure Koltin in Project action in Android Studio

IDE. Completion

  • KT-9792 Don't propose the same name for arguments of lambda on completion of function call with lambda template
  • KT-29572 Smart completing anonymous object uses incorrect code style
  • KT-25264 Freeze in Kotlin file on completion

IDE. Debugger

New Features

  • KT-30740 Display more information about variables when breakpoint is set inside lambda expression

Fixes

  • KT-8579 Debugger: Evaluate expression fails at typed arrays
  • KT-10183 Debugger: receiver properties are not shown inline in extension function
  • KT-11663 Assignment is not possible in Evaluate expression
  • KT-11706 Attempts to evaluate java method calls on 'Array' instance in debugger fail with NoSuchMethodError
  • KT-11888 Evaluate Expression for expression with synchronized
  • KT-11938 Empty condition is marked as error
  • KT-13188 Cannot evaluate expression with local extension function
  • KT-14421 Debugger: breakpoint set on trivial if/while is not hit
  • KT-15259 Debug: closing brace of object definition is considered executable; ISE: "Don't call this method for local declarations: OBJECT_DECLARATION" at LazyDeclarationResolver.getMemberScopeDeclaredIn()
  • KT-19084 Breakpoints on Debugger altering Result
  • KT-19556 Kotlin exception while debugging IJ plugin code
  • KT-19980 Debug: evaluation fails for setter of member extention property
  • KT-20560 Evaluate expression doesn't work for super method call
  • KT-23526 In *.kts scripts, debugger ignores breakpoints in top-level statements and members
  • KT-24914 AS: Uninitialized yet lazy properties called on first debug point reach
  • KT-26742 Debugger can't evaluate expected top-level function from common code
  • KT-30120 False positive "Unused equals expression" in evaluate expression window
  • KT-30730 Missing tooltip for "Kotlin variables view" button
  • KT-30919 Debugger's "Kotlin View" doesn't show variables inside lambdas
  • [KT-30976](https://yout...
Read more

Kotlin 1.3.50 EAP 2

30 Jul 19:36

Choose a tag to compare

Kotlin 1.3.50 EAP 2 Pre-release
Pre-release

CHANGELOG

1.3.50

Compiler

  • KT-12787 Debugger: Generate line number at end of function (to set a breakpoint on the last line of the block)
  • KT-23675 "Parameter specified as non-null is null: method org.jetbrains.kotlin.codegen.FrameMapBase.getIndex, parameter descriptor" when classes are defined inside an anonymous extension function and access a field of the extension function's this instance
  • KT-24596 Refactor / Inline const property does not insert its value into usage in annotation
  • KT-25497 kotlinx.serialization - throws Backend Internal error exception during code generation of sealed classes
  • KT-28927 "IllegalStateException: Arrays of class literals are not supported yet" in AnnotationDeserializer.resolveArrayElementType
  • KT-31070 IndexOutOfBoundsException in Analyzer with @jvmoverloads constructor with 34+ parameters
  • KT-31265 FIR: experimental compiler
  • KT-31535 False positives from compiler warning IMPLICIT_NOTHING_AS_TYPE_PARAMETER
  • KT-31969 NI: false positive USELESS_ELVIS with multiple elvis calls
  • KT-32044 For loop over full UByte range terminates at UInt bound.
  • KT-25432 No smartcast on qualifier expression of captured type
  • KT-30796 psi2ir generates IrErrorType for elvis with generic type having nullable upper-bound when expected type is not nullable
  • KT-31242 "Can't find enclosing method" proguard compilation exception with inline and crossinline
  • KT-31347 "IndexOutOfBoundsException: Insufficient maximum stack size" with crossinline and suspend
  • KT-31367 IllegalStateException: Concrete fake override public open fun (...) defined in TheIssue[PropertyGetterDescriptorImpl@1a03c376] should have exactly one concrete super-declaration: []
  • KT-31734 Empty parameter list required on Annotations of function types
  • KT-32434 New type inference fails for Caffeine Cache
  • KT-32452 Kotlin 1.3.40 - problem in IDE with new type inference and suspending method reference

Docs & Examples

  • KT-16602 Provide examples of sorting API usage
  • KT-32353 Document order of array elements initialization

IDE

New Features

  • KT-28098 Insert space after automatically closed right brace of nested lambda to follow code style

Fixes

  • KT-16476 Extend selection (Select Word) doesn't select just KDoc if cursor is just before the KDoc
  • KT-21374 Imports optimized tooltip is displayed, even if no changes were made
  • KT-21422 IDE can't import class from root package
  • KT-27344 MPP: jvmWithJava: no IDE module dependency is created between Kotlin test and Java main on import; Gradle build is successful
  • KT-29667 Kotlin update settings has wrong looking text boxes for versions
  • KT-30133 Update copyright creates duplicates for build.gradle.kts files
  • KT-30782 'Show Method Separators' does not separate expression body Kotlin functions
  • KT-31022 Quick definition does not show Kotlin code in Java files
  • KT-31499 "Extend selection" selects escaped identifier name together with backticks
  • KT-31595 "Complete current statement" for method call closes brace at wrong place
  • KT-31637 NPE in IDE when organizing imports
  • KT-31786 KNPE at copy attempt due to kdoc reference
  • KT-32276 Fix flaky test for ultra light classes
  • KT-32364 Remove deprecated usages of OUT_OF_CODE_BLOCK_MODIFICATION_COUNT and write a replacement for Kotlin language
  • KT-32370 Lambdas should have implicit return in Kotlin Uast
  • KT-12096 Spring: rename of Kotlin bean defined in @Bean annotation fails
  • KT-28193 Exception: Mirror element should never be calculated for light classes generated from a single file
  • KT-28822 Dependencies in Kotlin MPP project could be wrongly resolved if project was not build before import
  • KT-29267 Enable ultra-light classes by default
  • KT-31129 Call only Kotlin-specific reference contributors for getting Kotlin references from PSI
  • KT-32082 Kotlin facet: 1.3.40 plugin does not properly read target platform settings of 1.3.50 plugin

IDE. Completion

  • KT-9792 Don't propose the same name for arguments of lambda on completion of function call with lambda template
  • KT-29572 Smart completing anonymous object uses incorrect code style
  • KT-25264 Freeze in Kotlin file on completion

IDE. Debugger

New Features

  • KT-30740 Display more information about variables when breakpoint is set inside lambda expression

Fixes

  • KT-8579 Debugger: Evaluate expression fails at typed arrays
  • KT-10183 Debugger: receiver properties are not shown inline in extension function
  • KT-11663 Assignment is not possible in Evaluate expression
  • KT-11706 Attempts to evaluate java method calls on 'Array' instance in debugger fail with NoSuchMethodError
  • KT-11888 Evaluate Expression for expression with synchronized
  • KT-11938 Empty condition is marked as error
  • KT-13188 Cannot evaluate expression with local extension function
  • KT-14421 Debugger: breakpoint set on trivial if/while is not hit
  • KT-15259 Debug: closing brace of object definition is considered executable; ISE: "Don't call this method for local declarations: OBJECT_DECLARATION" at LazyDeclarationResolver.getMemberScopeDeclaredIn()
  • KT-19084 Breakpoints on Debugger altering Result
  • KT-19556 Kotlin exception while debugging IJ plugin code
  • KT-19980 Debug: evaluation fails for setter of member extention property
  • KT-20560 Evaluate expression doesn't work for super method call
  • KT-23526 In *.kts scripts, debugger ignores breakpoints in top-level statements and members
  • KT-24914 AS: Uninitialized yet lazy properties called on first debug point reach
  • KT-26742 Debugger can't evaluate expected top-level function from common code
  • KT-30120 False positive "Unused equals expression" in evaluate expression window
  • KT-30730 Missing tooltip for "Kotlin variables view" button
  • KT-30919 Debugger's "Kotlin View" doesn't show variables inside lambdas
  • KT-30976 Debugger: No access to receiver evaluating named parameters during call to extension function
  • KT-31418 java.lang.ClassCastException : java.lang.annotation.Annotation[] cannot be cast to byte[]
  • KT-31510 isDumb should be used only under read action: KotlinEvaluator
  • KT-31702 Debugger can't stop on breakpoint on Unit expression from coroutine context
  • KT-31709 Evaluate: "IllegalArgumentException: Parameter specified as non-null is null: method org.jetbrains.kotlin.codegen...
Read more

Kotlin 1.3.50 EAP 1

18 Jul 18:34

Choose a tag to compare

Kotlin 1.3.50 EAP 1 Pre-release
Pre-release

1.3.50

Compiler

  • KT-12787 Debugger: Generate line number at end of function (to set a breakpoint on the last line of the block)
  • KT-23675 "Parameter specified as non-null is null: method org.jetbrains.kotlin.codegen.FrameMapBase.getIndex, parameter descriptor" when classes are defined inside an anonymous extension function and access a field of the extension function's this instance
  • KT-24596 Refactor / Inline const property does not insert its value into usage in annotation
  • KT-25497 kotlinx.serialization - throws Backend Internal error exception during code generation of sealed classes
  • KT-28927 "IllegalStateException: Arrays of class literals are not supported yet" in AnnotationDeserializer.resolveArrayElementType
  • KT-31070 IndexOutOfBoundsException in Analyzer with @jvmoverloads constructor with 34+ parameters
  • KT-31265 FIR: experimental compiler
  • KT-31535 False positives from compiler warning IMPLICIT_NOTHING_AS_TYPE_PARAMETER
  • KT-31969 NI: false positive USELESS_ELVIS with multiple elvis calls
  • KT-32044 For loop over full UByte range terminates at UInt bound.

IDE

New Features

  • KT-28098 Insert space after automatically closed right brace of nested lambda to follow code style

Fixes

  • KT-16476 Extend selection (Select Word) doesn't select just KDoc if cursor is just before the KDoc
  • KT-21374 Imports optimized tooltip is displayed, even if no changes were made
  • KT-21422 IDE can't import class from root package
  • KT-27344 MPP: jvmWithJava: no IDE module dependency is created between Kotlin test and Java main on import; Gradle build is successful
  • KT-29667 Kotlin update settings has wrong looking text boxes for versions
  • KT-30133 Update copyright creates duplicates for build.gradle.kts files
  • KT-30782 'Show Method Separators' does not separate expression body Kotlin functions
  • KT-31022 Quick definition does not show Kotlin code in Java files
  • KT-31499 "Extend selection" selects escaped identifier name together with backticks
  • KT-31595 "Complete current statement" for method call closes brace at wrong place
  • KT-31637 NPE in IDE when organizing imports
  • KT-31786 KNPE at copy attempt due to kdoc reference
  • KT-32276 Fix flaky test for ultra light classes
  • KT-32364 Remove deprecated usages of OUT_OF_CODE_BLOCK_MODIFICATION_COUNT and write a replacement for Kotlin language
  • KT-32370 Lambdas should have implicit return in Kotlin Uast

IDE. Completion

  • KT-9792 Don't propose the same name for arguments of lambda on completion of function call with lambda template
  • KT-29572 Smart completing anonymous object uses incorrect code style

IDE. Debugger

New Features

  • KT-30740 Display more information about variables when breakpoint is set inside lambda expression

Fixes

  • KT-8579 Debugger: Evaluate expression fails at typed arrays
  • KT-10183 Debugger: receiver properties are not shown inline in extension function
  • KT-11663 Assignment is not possible in Evaluate expression
  • KT-11706 Attempts to evaluate java method calls on 'Array' instance in debugger fail with NoSuchMethodError
  • KT-11888 Evaluate Expression for expression with synchronized
  • KT-11938 Empty condition is marked as error
  • KT-13188 Cannot evaluate expression with local extension function
  • KT-14421 Debugger: breakpoint set on trivial if/while is not hit
  • KT-15259 Debug: closing brace of object definition is considered executable; ISE: "Don't call this method for local declarations: OBJECT_DECLARATION" at LazyDeclarationResolver.getMemberScopeDeclaredIn()
  • KT-19084 Breakpoints on Debugger altering Result
  • KT-19556 Kotlin exception while debugging IJ plugin code
  • KT-19980 Debug: evaluation fails for setter of member extention property
  • KT-20560 Evaluate expression doesn't work for super method call
  • KT-23526 In *.kts scripts, debugger ignores breakpoints in top-level statements and members
  • KT-24914 AS: Uninitialized yet lazy properties called on first debug point reach
  • KT-26742 Debugger can't evaluate expected top-level function from common code
  • KT-30120 False positive "Unused equals expression" in evaluate expression window
  • KT-30730 Missing tooltip for "Kotlin variables view" button
  • KT-30919 Debugger's "Kotlin View" doesn't show variables inside lambdas
  • KT-30976 Debugger: No access to receiver evaluating named parameters during call to extension function
  • KT-31418 java.lang.ClassCastException : java.lang.annotation.Annotation[] cannot be cast to byte[]
  • KT-31510 isDumb should be used only under read action: KotlinEvaluator
  • KT-31702 Debugger can't stop on breakpoint on Unit expression from coroutine context
  • KT-31709 Evaluate: "IllegalArgumentException: Parameter specified as non-null is null: method org.jetbrains.kotlin.codegen.FrameMapBase.getIndex, parameter descriptor" with nested lambda member access

IDE. Gradle

  • KT-19693 Import package prefix from Gradle
  • KT-30667 Dependencies of a module on a multiplatform one with a JVM target and withJava() configured, are incorrectly resolved in IDE
  • KT-32300 Add possibility to distinguish kotlin source root from java source root

IDE. Gradle. Script

  • KT-31779 "Highlighting in scripts is not available"

IDE. Inspections and Intentions

New Features

  • KT-8958 ReplaceWith intention message could be more helpful in case of generic substitution
  • KT-12515 Quickfix "by Delegates.notNull()" as replacement for "lateinit" for primitive type
  • KT-14344 Suggest to replace manual range with explicit indices call or iteration over collection
  • KT-17916 Import popup does not indicate deprecated classes
  • KT-23501 Add intention for converting ordinary properties to 'lazy' and vise versa
  • KT-25006 Add inspection "'equals()' between objects of inconvertible primitive / enum / string types"
  • KT-27353 Quickfix to add a constructor parameter from parent class to child class
  • KT-30124 Add inspection to replace java.util.Arrays.equals with contentEquals
  • KT-30640 Add inspection for check/require/checkNotNull/requireNotNull
  • KT-30775 Inspection for the case when one lateinit var overrides another lateinit var
  • KT-31476 Improve "Create expect..." quickfix
  • KT-31533 Make "Add operator modifier" an inspection instead of intention
  • KT-31795 Inspection: simplify property setter with custom visibilit...
Read more

1.3.41

03 Jul 21:16

Choose a tag to compare

1.3.41

Compiler

  • KT-31981 New type inference asks to use ?. on non-null local variable
  • KT-32029 Exception when callable reference is resolved against unresolved type
  • KT-32037 No coercion to Unit for last expression with lambda in code block
  • KT-32038 Unsubstituted stub type cause type mismatch later for builder inference
  • KT-32051 NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on matching Nothing with generic type parameter
  • KT-32081 New type inference fails involving Either and Nothing
  • KT-32089 False positive IMPLICIT_NOTHING_AS_TYPE_PARAMETER with lambdas
  • KT-32094 NI: member from star import has higher resolution priority than member imported by FQN
  • KT-32116 Type inference for HashMap<,> fails but compiles
  • KT-32123 Wrong unused import for extension method
  • KT-32133 Regression in Kotlin 1.3.40 new inference engine
  • KT-32134 java.lang.Throwable: Resolution error of this type shouldn't occur for resolve try as a call for incomplete try-construction
  • KT-32143 1.3.40 new inference: backward incompatibility in method calls with multiple SAM arguments
  • KT-32154 setOf(Map.Entry<*, *>::key) gives error on IDE
  • KT-32157 Issue with new type inference in unbounded generics
  • KT-32175 New Type Inference Algorithm, RxJava and IDE-Compiler Inconsistency
  • KT-32184 NI: Argument for @NotNull parameter 'type' of org/jetbrains/kotlin/types/CommonSupertypes.depth must not be null
  • KT-32187 Exception when using callable reference with an unresolved LHS
  • KT-32218 Cannot call get on a Map<out Any,Any> with new type system
  • KT-32230 New inference not working with RxJava combineLatest
  • KT-32235 New type inference failure with in check

JavaScript

  • KT-32215 Reified generic doesn't work with ByteArray on js

Tools. CLI

  • KT-32272 kotlinc - no main manifest attribute, in hello.jar

Tools. REPL

  • KT-32085 Kotlinc REPL: "java.lang.NoClassDefFoundError: org/jline/reader/LineReaderBuilder"

Tools. Scripts

  • KT-32169 Kotlin 1.3.40 - Crash on running *.main.kts script: "NoSuchMethodError: kotlin.script.templates.standard.ScriptTemplateWithArgs."
  • KT-32206 Custom script definitions not loaded in the cli compiler

Previous releases

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

1.3.40

19 Jun 16:16

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).

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'...
Read more

Kotlin 1.3.40 EAP 3

11 Jun 20:40

Choose a tag to compare

Kotlin 1.3.40 EAP 3 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