Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): bump kotlinVersion from 2.0.0 to 2.0.10 (#170)
Bumps `kotlinVersion` from 2.0.0 to 2.0.10. Updates `org.jetbrains.kotlin:kotlin-stdlib-jdk7` from 2.0.0 to 2.0.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/releases">org.jetbrains.kotlin:kotlin-stdlib-jdk7's releases</a>.</em></p> <blockquote> <h2>Kotlin 2.0.10</h2> <h2>2.0.10</h2> <h3>Apple Ecosystem</h3> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68257"><code>KT-68257</code></a> Xcode incorrectly reuses embedAndSign framework when moving to and from 2.0.0</li> </ul> <h3>Compiler</h3> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-69876"><code>KT-69876</code></a> K2 Compile exception: Only IrBlockBody together with kotlinx serialization</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68521"><code>KT-68521</code></a> K2: Property's private setters can be bypassed when using plusAssign and minusAssign operators</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68667"><code>KT-68667</code></a> K2: Compiler hangs on mapNotNull and elvis inside lambda</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68747"><code>KT-68747</code></a> K2: Long compilation time because of constraint solving when using typealias in different modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68940"><code>KT-68940</code></a> K2: "IllegalArgumentException: All variables should be fixed to something"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68797"><code>KT-68797</code></a> K2 / Native: "java.lang.IllegalStateException: FIELD" caused by enabled caching</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68362"><code>KT-68362</code></a> False-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED for inheritor of java class which directly implements java.util.Map</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68449"><code>KT-68449</code></a> K2: "when" expression returns Unit</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67072"><code>KT-67072</code></a> K2: inconsistent stability of open vals on receivers of final type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68570"><code>KT-68570</code></a> K2: "Unresolved reference" in call with lambda argument and nested lambda argument</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69159"><code>KT-69159</code></a> K2: KotlinNothingValueException in Exposed</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68623"><code>KT-68623</code></a> K2: "Only safe or null-asserted calls are allowed" on safe call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68193"><code>KT-68193</code></a> JDK 21: new MutableList.addFirst/addLast methods allow adding nullable value for non-null types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67804"><code>KT-67804</code></a> removeFirst and removeLast return type with Java 21</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68727"><code>KT-68727</code></a> K2: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" caused by an enum class with default parameter in a different module</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68383"><code>KT-68383</code></a> K2: "Argument type mismatch: actual type is 'kotlin.String', but 'T & Any' was expected." with intersection types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68546"><code>KT-68546</code></a> K2: false-positive conflicting overloads error on inheriting generic type with inherited generic and non-generic member overloads</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68626"><code>KT-68626</code></a> K2: "Conflicting Overloads" for function if inherited from generic type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68351"><code>KT-68351</code></a> K2: "Suspension functions can only be called within coroutine body"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68489"><code>KT-68489</code></a> K2: WRONG_ANNOTATION_TARGET with Java and Kotlin <code>@target</code> annotation positions</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69058"><code>KT-69058</code></a> K2: Java-defined property annotations not persisted</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64515"><code>KT-64515</code></a> K2 IDE: [NEW_INFERENCE_ERROR] in a build.gradle.kts script while applying "jvm-test-suite" plugin and then configuring targets for test suites</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68016"><code>KT-68016</code></a> K2: Gradle repo test <code>should compile correctly with Kotlin explicit api mode</code> fails on K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68575"><code>KT-68575</code></a> K2: <code>@ParameterName</code> annotation is not erased when inferring the type of <code>it</code> in lambdas</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67999"><code>KT-67999</code></a> K2: lost flexibility on parameters of Java SAM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-59679"><code>KT-59679</code></a> K2: Investigate extracting uncompleted candidates from blocks</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68401"><code>KT-68401</code></a> K2: "IllegalAccessError: failed to access class" caused by package private super Java type, when inferencing a common super type of if or when branches on JVM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68806"><code>KT-68806</code></a> K/Wasm RuntimeError: unreachable on Sequence::toList</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68455"><code>KT-68455</code></a> K2: False negative UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68538"><code>KT-68538</code></a> KJS/K2: using <code>while</code> with <code>break</code> inside inline lambdas leads to an endless cycle</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68798"><code>KT-68798</code></a> JVM compiler crashes on calling private expect constructor with a default parameter</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68734"><code>KT-68734</code></a> K2: enum class in KMP: Expect declaration <code>MMKVLogLevel</code> is incompatible with actual <code>MMKVLogLevel</code> because modality is different</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68674"><code>KT-68674</code></a> False positive ACTUAL_WITHOUT_EXPECT in K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68350"><code>KT-68350</code></a> K2: "Inapplicable candidate(s)" caused by parameter reference of local class with type parameters from function</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68571"><code>KT-68571</code></a> K2: "IllegalStateException: Fake override should have at least one overridden descriptor" caused by exceptions and when statement</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68523"><code>KT-68523</code></a> K2: FileAnalysisException when using Definitely non-nullable types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68339"><code>KT-68339</code></a> K2: "Enum entry * is uninitialized here" caused by lazy property with enum in <code>when</code> expression</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-66688"><code>KT-66688</code></a> K2: false-negative "upper bound violated" error in extension receiver</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68630"><code>KT-68630</code></a> DiagnosticsSuppressor is not invoked with Kotlin 2.0</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md">org.jetbrains.kotlin:kotlin-stdlib-jdk7's changelog</a>.</em></p> <blockquote> <h2>2.0.10</h2> <h3>Apple Ecosystem</h3> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68257"><code>KT-68257</code></a> Xcode incorrectly reuses embedAndSign framework when moving to and from 2.0.0</li> </ul> <h3>Compiler</h3> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-69876"><code>KT-69876</code></a> K2 Compile exception: Only IrBlockBody together with kotlinx serialization</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68521"><code>KT-68521</code></a> K2: Property's private setters can be bypassed when using plusAssign and minusAssign operators</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68667"><code>KT-68667</code></a> K2: Compiler hangs on mapNotNull and elvis inside lambda</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68747"><code>KT-68747</code></a> K2: Long compilation time because of constraint solving when using typealias in different modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68940"><code>KT-68940</code></a> K2: "IllegalArgumentException: All variables should be fixed to something"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68797"><code>KT-68797</code></a> K2 / Native: "java.lang.IllegalStateException: FIELD" caused by enabled caching</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68362"><code>KT-68362</code></a> False-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED for inheritor of java class which directly implements java.util.Map</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68449"><code>KT-68449</code></a> K2: "when" expression returns Unit</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67072"><code>KT-67072</code></a> K2: inconsistent stability of open vals on receivers of final type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68570"><code>KT-68570</code></a> K2: "Unresolved reference" in call with lambda argument and nested lambda argument</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69159"><code>KT-69159</code></a> K2: KotlinNothingValueException in Exposed</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68623"><code>KT-68623</code></a> K2: "Only safe or null-asserted calls are allowed" on safe call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68193"><code>KT-68193</code></a> JDK 21: new MutableList.addFirst/addLast methods allow adding nullable value for non-null types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67804"><code>KT-67804</code></a> removeFirst and removeLast return type with Java 21</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68727"><code>KT-68727</code></a> K2: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" caused by an enum class with default parameter in a different module</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68383"><code>KT-68383</code></a> K2: "Argument type mismatch: actual type is 'kotlin.String', but 'T & Any' was expected." with intersection types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68546"><code>KT-68546</code></a> K2: false-positive conflicting overloads error on inheriting generic type with inherited generic and non-generic member overloads</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68626"><code>KT-68626</code></a> K2: "Conflicting Overloads" for function if inherited from generic type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68351"><code>KT-68351</code></a> K2: "Suspension functions can only be called within coroutine body"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68489"><code>KT-68489</code></a> K2: WRONG_ANNOTATION_TARGET with Java and Kotlin <code>@target</code> annotation positions</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69058"><code>KT-69058</code></a> K2: Java-defined property annotations not persisted</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64515"><code>KT-64515</code></a> K2 IDE: [NEW_INFERENCE_ERROR] in a build.gradle.kts script while applying "jvm-test-suite" plugin and then configuring targets for test suites</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68016"><code>KT-68016</code></a> K2: Gradle repo test <code>should compile correctly with Kotlin explicit api mode</code> fails on K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68575"><code>KT-68575</code></a> K2: <code>@ParameterName</code> annotation is not erased when inferring the type of <code>it</code> in lambdas</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67999"><code>KT-67999</code></a> K2: lost flexibility on parameters of Java SAM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-59679"><code>KT-59679</code></a> K2: Investigate extracting uncompleted candidates from blocks</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68401"><code>KT-68401</code></a> K2: "IllegalAccessError: failed to access class" caused by package private super Java type, when inferencing a common super type of if or when branches on JVM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68806"><code>KT-68806</code></a> K/Wasm RuntimeError: unreachable on Sequence::toList</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68455"><code>KT-68455</code></a> K2: False negative UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68538"><code>KT-68538</code></a> KJS/K2: using <code>while</code> with <code>break</code> inside inline lambdas leads to an endless cycle</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68798"><code>KT-68798</code></a> JVM compiler crashes on calling private expect constructor with a default parameter</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68734"><code>KT-68734</code></a> K2: enum class in KMP: Expect declaration <code>MMKVLogLevel</code> is incompatible with actual <code>MMKVLogLevel</code> because modality is different</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68674"><code>KT-68674</code></a> False positive ACTUAL_WITHOUT_EXPECT in K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68350"><code>KT-68350</code></a> K2: "Inapplicable candidate(s)" caused by parameter reference of local class with type parameters from function</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68571"><code>KT-68571</code></a> K2: "IllegalStateException: Fake override should have at least one overridden descriptor" caused by exceptions and when statement</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68523"><code>KT-68523</code></a> K2: FileAnalysisException when using Definitely non-nullable types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68339"><code>KT-68339</code></a> K2: "Enum entry * is uninitialized here" caused by lazy property with enum in <code>when</code> expression</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-66688"><code>KT-66688</code></a> K2: false-negative "upper bound violated" error in extension receiver</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68630"><code>KT-68630</code></a> DiagnosticsSuppressor is not invoked with Kotlin 2.0</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68222"><code>KT-68222</code></a> K2. KMP. False negative <code>Expected declaration must not have a body</code> for expected top-level property with getter/setter</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/JetBrains/kotlin/commit/c072e7c945fed74805d87ecc89c9a650bad23e12"><code>c072e7c</code></a> Add ChangeLog for 2.0.10-RC2</li> <li><a href="https://github.com/JetBrains/kotlin/commit/f3f8d94df8d6ceb5a973912d7ba15bf32c6edba9"><code>f3f8d94</code></a> Compose compiler: Do not add HiddenFromObjC annotation twice</li> <li><a href="https://github.com/JetBrains/kotlin/commit/c022606aedb53059075b5ce0f651a9f1e02daf6e"><code>c022606</code></a> Add ChangeLog for 2.0.10-RC</li> <li><a href="https://github.com/JetBrains/kotlin/commit/5118405d09fab5d93eb54883c154412adfefc0c0"><code>5118405</code></a> [KGP] Make kotlin.build.archivesTaskOutputAsFriendModule property public</li> <li><a href="https://github.com/JetBrains/kotlin/commit/623edefb002a684bc2e3fd2d8870d5d1bb847dab"><code>623edef</code></a> [KGP] Fix missing task dependency between Test and Main compilations</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1f70ebbdf5e8fcdcce44cce5f89c6db142785d49"><code>1f70ebb</code></a> [Gradle] Fix resolve friend paths to be able to detect late associateWith calls</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1b0ab7dbc1cbe91df8f8952c55826f07359d203f"><code>1b0ab7d</code></a> [Gradle] Add archivesTaskOutputAsFriendModule flag</li> <li><a href="https://github.com/JetBrains/kotlin/commit/ae44265434ed08f1bbc036581532c3c799c5daec"><code>ae44265</code></a> Init configurationMetrics parameter with a default value</li> <li><a href="https://github.com/JetBrains/kotlin/commit/d0984cc6a32f5477a72b73fa60966eaefec24ec2"><code>d0984cc</code></a> Calculate projects configurationMetrics after project evaluation</li> <li><a href="https://github.com/JetBrains/kotlin/commit/351f801d8c268130ea50d0ec14e5c154d8a897e8"><code>351f801</code></a> Finalize BuildFusService parameters to avoid CME</li> <li>Additional commits viewable in <a href="https://github.com/JetBrains/kotlin/compare/v2.0.0...v2.0.10">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlin.jvm` from 2.0.0 to 2.0.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/releases">org.jetbrains.kotlin.jvm's releases</a>.</em></p> <blockquote> <h2>Kotlin 2.0.10</h2> <h2>2.0.10</h2> <h3>Apple Ecosystem</h3> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68257"><code>KT-68257</code></a> Xcode incorrectly reuses embedAndSign framework when moving to and from 2.0.0</li> </ul> <h3>Compiler</h3> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-69876"><code>KT-69876</code></a> K2 Compile exception: Only IrBlockBody together with kotlinx serialization</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68521"><code>KT-68521</code></a> K2: Property's private setters can be bypassed when using plusAssign and minusAssign operators</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68667"><code>KT-68667</code></a> K2: Compiler hangs on mapNotNull and elvis inside lambda</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68747"><code>KT-68747</code></a> K2: Long compilation time because of constraint solving when using typealias in different modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68940"><code>KT-68940</code></a> K2: "IllegalArgumentException: All variables should be fixed to something"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68797"><code>KT-68797</code></a> K2 / Native: "java.lang.IllegalStateException: FIELD" caused by enabled caching</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68362"><code>KT-68362</code></a> False-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED for inheritor of java class which directly implements java.util.Map</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68449"><code>KT-68449</code></a> K2: "when" expression returns Unit</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67072"><code>KT-67072</code></a> K2: inconsistent stability of open vals on receivers of final type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68570"><code>KT-68570</code></a> K2: "Unresolved reference" in call with lambda argument and nested lambda argument</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69159"><code>KT-69159</code></a> K2: KotlinNothingValueException in Exposed</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68623"><code>KT-68623</code></a> K2: "Only safe or null-asserted calls are allowed" on safe call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68193"><code>KT-68193</code></a> JDK 21: new MutableList.addFirst/addLast methods allow adding nullable value for non-null types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67804"><code>KT-67804</code></a> removeFirst and removeLast return type with Java 21</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68727"><code>KT-68727</code></a> K2: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" caused by an enum class with default parameter in a different module</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68383"><code>KT-68383</code></a> K2: "Argument type mismatch: actual type is 'kotlin.String', but 'T & Any' was expected." with intersection types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68546"><code>KT-68546</code></a> K2: false-positive conflicting overloads error on inheriting generic type with inherited generic and non-generic member overloads</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68626"><code>KT-68626</code></a> K2: "Conflicting Overloads" for function if inherited from generic type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68351"><code>KT-68351</code></a> K2: "Suspension functions can only be called within coroutine body"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68489"><code>KT-68489</code></a> K2: WRONG_ANNOTATION_TARGET with Java and Kotlin <code>@target</code> annotation positions</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69058"><code>KT-69058</code></a> K2: Java-defined property annotations not persisted</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64515"><code>KT-64515</code></a> K2 IDE: [NEW_INFERENCE_ERROR] in a build.gradle.kts script while applying "jvm-test-suite" plugin and then configuring targets for test suites</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68016"><code>KT-68016</code></a> K2: Gradle repo test <code>should compile correctly with Kotlin explicit api mode</code> fails on K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68575"><code>KT-68575</code></a> K2: <code>@ParameterName</code> annotation is not erased when inferring the type of <code>it</code> in lambdas</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67999"><code>KT-67999</code></a> K2: lost flexibility on parameters of Java SAM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-59679"><code>KT-59679</code></a> K2: Investigate extracting uncompleted candidates from blocks</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68401"><code>KT-68401</code></a> K2: "IllegalAccessError: failed to access class" caused by package private super Java type, when inferencing a common super type of if or when branches on JVM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68806"><code>KT-68806</code></a> K/Wasm RuntimeError: unreachable on Sequence::toList</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68455"><code>KT-68455</code></a> K2: False negative UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68538"><code>KT-68538</code></a> KJS/K2: using <code>while</code> with <code>break</code> inside inline lambdas leads to an endless cycle</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68798"><code>KT-68798</code></a> JVM compiler crashes on calling private expect constructor with a default parameter</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68734"><code>KT-68734</code></a> K2: enum class in KMP: Expect declaration <code>MMKVLogLevel</code> is incompatible with actual <code>MMKVLogLevel</code> because modality is different</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68674"><code>KT-68674</code></a> False positive ACTUAL_WITHOUT_EXPECT in K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68350"><code>KT-68350</code></a> K2: "Inapplicable candidate(s)" caused by parameter reference of local class with type parameters from function</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68571"><code>KT-68571</code></a> K2: "IllegalStateException: Fake override should have at least one overridden descriptor" caused by exceptions and when statement</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68523"><code>KT-68523</code></a> K2: FileAnalysisException when using Definitely non-nullable types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68339"><code>KT-68339</code></a> K2: "Enum entry * is uninitialized here" caused by lazy property with enum in <code>when</code> expression</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-66688"><code>KT-66688</code></a> K2: false-negative "upper bound violated" error in extension receiver</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68630"><code>KT-68630</code></a> DiagnosticsSuppressor is not invoked with Kotlin 2.0</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md">org.jetbrains.kotlin.jvm's changelog</a>.</em></p> <blockquote> <h2>2.0.10</h2> <h3>Apple Ecosystem</h3> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68257"><code>KT-68257</code></a> Xcode incorrectly reuses embedAndSign framework when moving to and from 2.0.0</li> </ul> <h3>Compiler</h3> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-69876"><code>KT-69876</code></a> K2 Compile exception: Only IrBlockBody together with kotlinx serialization</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68521"><code>KT-68521</code></a> K2: Property's private setters can be bypassed when using plusAssign and minusAssign operators</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68667"><code>KT-68667</code></a> K2: Compiler hangs on mapNotNull and elvis inside lambda</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68747"><code>KT-68747</code></a> K2: Long compilation time because of constraint solving when using typealias in different modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68940"><code>KT-68940</code></a> K2: "IllegalArgumentException: All variables should be fixed to something"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68797"><code>KT-68797</code></a> K2 / Native: "java.lang.IllegalStateException: FIELD" caused by enabled caching</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68362"><code>KT-68362</code></a> False-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED for inheritor of java class which directly implements java.util.Map</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68449"><code>KT-68449</code></a> K2: "when" expression returns Unit</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67072"><code>KT-67072</code></a> K2: inconsistent stability of open vals on receivers of final type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68570"><code>KT-68570</code></a> K2: "Unresolved reference" in call with lambda argument and nested lambda argument</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69159"><code>KT-69159</code></a> K2: KotlinNothingValueException in Exposed</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68623"><code>KT-68623</code></a> K2: "Only safe or null-asserted calls are allowed" on safe call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68193"><code>KT-68193</code></a> JDK 21: new MutableList.addFirst/addLast methods allow adding nullable value for non-null types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67804"><code>KT-67804</code></a> removeFirst and removeLast return type with Java 21</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68727"><code>KT-68727</code></a> K2: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" caused by an enum class with default parameter in a different module</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68383"><code>KT-68383</code></a> K2: "Argument type mismatch: actual type is 'kotlin.String', but 'T & Any' was expected." with intersection types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68546"><code>KT-68546</code></a> K2: false-positive conflicting overloads error on inheriting generic type with inherited generic and non-generic member overloads</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68626"><code>KT-68626</code></a> K2: "Conflicting Overloads" for function if inherited from generic type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68351"><code>KT-68351</code></a> K2: "Suspension functions can only be called within coroutine body"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68489"><code>KT-68489</code></a> K2: WRONG_ANNOTATION_TARGET with Java and Kotlin <code>@target</code> annotation positions</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69058"><code>KT-69058</code></a> K2: Java-defined property annotations not persisted</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64515"><code>KT-64515</code></a> K2 IDE: [NEW_INFERENCE_ERROR] in a build.gradle.kts script while applying "jvm-test-suite" plugin and then configuring targets for test suites</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68016"><code>KT-68016</code></a> K2: Gradle repo test <code>should compile correctly with Kotlin explicit api mode</code> fails on K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68575"><code>KT-68575</code></a> K2: <code>@ParameterName</code> annotation is not erased when inferring the type of <code>it</code> in lambdas</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67999"><code>KT-67999</code></a> K2: lost flexibility on parameters of Java SAM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-59679"><code>KT-59679</code></a> K2: Investigate extracting uncompleted candidates from blocks</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68401"><code>KT-68401</code></a> K2: "IllegalAccessError: failed to access class" caused by package private super Java type, when inferencing a common super type of if or when branches on JVM</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68806"><code>KT-68806</code></a> K/Wasm RuntimeError: unreachable on Sequence::toList</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68455"><code>KT-68455</code></a> K2: False negative UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68538"><code>KT-68538</code></a> KJS/K2: using <code>while</code> with <code>break</code> inside inline lambdas leads to an endless cycle</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68798"><code>KT-68798</code></a> JVM compiler crashes on calling private expect constructor with a default parameter</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68734"><code>KT-68734</code></a> K2: enum class in KMP: Expect declaration <code>MMKVLogLevel</code> is incompatible with actual <code>MMKVLogLevel</code> because modality is different</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68674"><code>KT-68674</code></a> False positive ACTUAL_WITHOUT_EXPECT in K2</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68350"><code>KT-68350</code></a> K2: "Inapplicable candidate(s)" caused by parameter reference of local class with type parameters from function</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68571"><code>KT-68571</code></a> K2: "IllegalStateException: Fake override should have at least one overridden descriptor" caused by exceptions and when statement</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68523"><code>KT-68523</code></a> K2: FileAnalysisException when using Definitely non-nullable types</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68339"><code>KT-68339</code></a> K2: "Enum entry * is uninitialized here" caused by lazy property with enum in <code>when</code> expression</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-66688"><code>KT-66688</code></a> K2: false-negative "upper bound violated" error in extension receiver</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68630"><code>KT-68630</code></a> DiagnosticsSuppressor is not invoked with Kotlin 2.0</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68222"><code>KT-68222</code></a> K2. KMP. False negative <code>Expected declaration must not have a body</code> for expected top-level property with getter/setter</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/JetBrains/kotlin/commit/c072e7c945fed74805d87ecc89c9a650bad23e12"><code>c072e7c</code></a> Add ChangeLog for 2.0.10-RC2</li> <li><a href="https://github.com/JetBrains/kotlin/commit/f3f8d94df8d6ceb5a973912d7ba15bf32c6edba9"><code>f3f8d94</code></a> Compose compiler: Do not add HiddenFromObjC annotation twice</li> <li><a href="https://github.com/JetBrains/kotlin/commit/c022606aedb53059075b5ce0f651a9f1e02daf6e"><code>c022606</code></a> Add ChangeLog for 2.0.10-RC</li> <li><a href="https://github.com/JetBrains/kotlin/commit/5118405d09fab5d93eb54883c154412adfefc0c0"><code>5118405</code></a> [KGP] Make kotlin.build.archivesTaskOutputAsFriendModule property public</li> <li><a href="https://github.com/JetBrains/kotlin/commit/623edefb002a684bc2e3fd2d8870d5d1bb847dab"><code>623edef</code></a> [KGP] Fix missing task dependency between Test and Main compilations</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1f70ebbdf5e8fcdcce44cce5f89c6db142785d49"><code>1f70ebb</code></a> [Gradle] Fix resolve friend paths to be able to detect late associateWith calls</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1b0ab7dbc1cbe91df8f8952c55826f07359d203f"><code>1b0ab7d</code></a> [Gradle] Add archivesTaskOutputAsFriendModule flag</li> <li><a href="https://github.com/JetBrains/kotlin/commit/ae44265434ed08f1bbc036581532c3c799c5daec"><code>ae44265</code></a> Init configurationMetrics parameter with a default value</li> <li><a href="https://github.com/JetBrains/kotlin/commit/d0984cc6a32f5477a72b73fa60966eaefec24ec2"><code>d0984cc</code></a> Calculate projects configurationMetrics after project evaluation</li> <li><a href="https://github.com/JetBrains/kotlin/commit/351f801d8c268130ea50d0ec14e5c154d8a897e8"><code>351f801</code></a> Finalize BuildFusService parameters to avoid CME</li> <li>Additional commits viewable in <a href="https://github.com/JetBrains/kotlin/compare/v2.0.0...v2.0.10">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information