129 KiB
129 KiB
1.9.0
Analysis API
New Features
KT-57930Analysis API: provide an API for extending Kotlin resolutionKT-57636K2: Add the return type of K2 reference shortener AAShortenCommand::invokeShortening()e.g.,ShorteningResultInfoto allow callers to access the shortening result PSI
Fixes
KT-58249Analysis API: Disable error logging for FE10 implementation of resolveCall when resolve is not successfulKT-55626Impossible to restore symbol by psi from script fileKT-57314LL FIR: CombineLLFirProvider$SymbolProviders in session dependencies (optimization)KT-55527K2 IDE: Rewrite KtScopeContext class to allow to handle each scope separatelyKT-55329LL FIR: Unexpected ACTUAL_WITHOUT_EXPECT error on constructor and function declarationKT-50732LL API: fix compiler based testsKT-57850K2: contract violation due to SymbolLightAccessorMethod.propertyAccessorSymbolKT-56543LL FIR: rework lazy transformers so transformers modify only declarations they suppose toKT-56721K2: FirExtensionDeclarationsSymbolProvider: java.lang.IllegalStateException: Recursive updateKT-50253Analysis API: Solve issues with ProcessCancelledExceptionKT-56800K2 IDE: optimize deprecation calculation for symbolsKT-55006Analysis API does not transform Java type refs for callable symbol return typesKT-57256AA FIR: Reduce lazy resolve phase for deprecation statusKT-57619K2: CFG for class initializer is not correctly built in reversed resolve modeKT-58141K2: AA FIR: impossible to restore symbol for declaration with annotation with argument inside typeKT-57462Symbol Light Classes: SymbolLightFieldForProperty should retrieve annotations not from KtPropertySymbol, but from the corresponding backing fieldKT-54864Analysis API: add function to get expect KtSymbol list by actual KtSymbolKT-56763Analysis API:.KtSourceModuleImpl is missing in the map.on symbol restore when symbol cannot be seen from the use-site moduleKT-56617Analysis API: optimize KtFirSymbolProviderByJavaPsi.getNamedClassSymbolKT-54430K2: .getAllOverriddenSymbols() returns invalid results
Backend. Native. Debug
KT-55440Kotlin/Native debugger: inline function parameters are not visible during debugging
Backend. Wasm
KT-58293Wasm: ReferenceError: e is not defined in kotlin.test.jsThrowKT-58931Wasm tests are failing to start on Kotlin 1.9.0-BetaKT-58188Restore binary compatibility of PlatformDiagnosticSuppressor.shouldReportUnusedParameterKT-57136K/Wasm: Restrict non-external types in JS interopKT-57060Clarify the lack of support for dynamic in Kotlin/WasmKT-56955K/Wasm: Support restricted version of K/JSjs(code)KT-57276Wasm: "Body not found for function" error when compiling konform library with Kotlin/Wasm supportKT-56976K/Wasm bug with calling override of external function with default parameters
Compiler
New Features
KT-55333Allow secondary constructors in value classes with bodiesKT-54944@Volatilesupport in nativeKT-54746Deprecate with ERROR JvmDefault annotation and old -Xjvm-default modesKT-47902Do not propagate method deprecation through overridesKT-29378K2: rework warnings/errors for equality/identity operators on incompatible typesKT-57477False-positive overload resolution ambiguity in case of lambda without argumentsKT-57010Kotlin/Native: make it possible to compile bitcode in a separate compiler invocationKT-55691K2: Avoid inferring Nothing? in presence of other constraints (beside type parameter bounds)KT-46288Unexpected behavior of extension function on lambda with suspend receiverKT-24779Inconsistent smart cast behavior for bound data flow values
Performance Improvements
KT-23397Optimize out field for property delegate when it's safe (JVM)KT-56906FIR: Use cached instance of FirImplicitTypeRefImpl in FIR buildersKT-56276LanguageVersion.getVersionString() allocates 5k objects on project opening
Fixes
KT-57784"NullPointerException: Parameter specified as non-null is null:" with enum, companion object, 'entries' and mapKT-55217K2: support callable reference conversions on top-level expressionsKT-57232K2: build Space JVM (master)KT-59079"AE: SyntheticAccessorLowering should not attempt to modify other files!" with callable reference to constructor with value class parameterKT-58837Partial linkage fails to report any compiler message on Windows when launched through Gradle pluginKT-57602K2: Rework member scope of types having projection arguments for covariant parametersKT-55171Put new contracts syntax under a feature flagKT-58719K2: false-positive INVISIBLE_REFERENCE error in case of importing an internal abstract classKT-56030[K2/N] Support Objective-C overloading by param names onlyKT-57510K2: Data class equals/hashCode/toString methods are not written to Klib metadataKT-56331K2: compiler backend crash on usage of expected function with default argumentsKT-53846K2 / Context receivers: ClassCastException on secondary constructor of class with context receiverKT-58621K2: Private class shadows public function defined in the same packageKT-59102K2: constant evaluator does not provide Long type on shlKT-59066[K2] delegation leads to "IllegalStateException: Expected some types"KT-56074K2: build Space JVM (snapshot 2022.3)KT-58787KAPT: "NullPointerException: null cannot be cast to non-null type" with delegateKT-57022K2 IllegalStateException in signature computationKT-56792K2: build kotlinpoetKT-57373K2: FIR properties synthesized when implementing interface by delegation don't have accessorsKT-56583K1: Implement opt-in for integer cinterop conversionsKT-59030[PL] Workaround for broken@Deprecatedannotations in c-interop KLIBsKT-58618K2: Local property delegates cannot infer generic return typeKT-36770Prohibit unsafe calls with expected@NotNullT and given Kotlin generic parameter with nullable boundKT-56739K2: build Space iOSKT-57131K2: stdlib test compilation fails on ListTest.kt in FirJvmMangleComputerKT-58137K2: ISE "Usage of default value argument for this annotation is not yet possible" when instantiating Kotlin annotation with default parameter from another moduleKT-58897K2: False positive unresolved reference with same-named enum class and its entryKT-40903Forbid actual member in expect classKT-30905Expect var property with default public setter matches with actual var property with private setterKT-56172K2: Fix reporting of PRIVATE_CLASS_MEMBER_FROM_INLINE errorKT-56171Implement deprecation warning for missing PRIVATE_CLASS_MEMBER_FROM_INLINE errorKT-27261Contracts for infix functions don't work (for receivers and parameters)KT-56927Enum with secondary constructor can't be compiled with K2 using JS/Native backendKT-53568Partial linkage: absent class as type parameter bound causes failure ofcompileProductionExecutableKotlinJsKT-53608Partial linkage: Kotlin/JS fails with IllegalStateException: "Validation failed in file" when overridden declaration was visible, but now privateKT-53663Partial linkage: usage of property which becomes abstract: no IrLinkageError, but AssertionError in Native backend insteadKT-56013K2. a set of errors about local properties are missingKT-53939Partial linkage: with turning object into class linkNative and jsTest tasks failKT-53938Partial linkage: with turning interface into class and using as second parent Native build failsKT-53941Partial linkage: with turning class into object accessing member via parameterless constructor does not failKT-53970Partial linkage: on turning nested class into inner JS tasks are successful, Native build failsKT-53971Partial linkage: turning inner class into nested: without usage in executable Native is successful, JavaScript failsKT-53972Partial linkage: turning inner class into nested: with usage in executable Native fails with NPE in backendKT-54045Partial linkage: turning class into type alias + calculating implicit function type: build fails with UninitializedPropertyAccessException: "lateinit property parent has not been initialized"KT-54046Partial linkage: turning type alias into class + using it as type: build fails with AssertionError: "Expected exactly one delegating constructor call but none encountered"KT-53887Partial linkage: turning from enum to regular class + reference to enum contant causes compileProductionExecutableKotlinJs fail with IllegalStateExceptionKT-54047Partial linkage: reference to removed enum const causes JS fail with "IllegalStateException: Validation failed in file"KT-54048Partial linkage: reference to removed enum const in runtime causes Native fail with IllegalStateException at IrBindablePublicSymbolBase.getOwner()KT-53995Partial linkage: on turning class to abstract and direct constructor call Naive fails, JavaScript is successfulKT-43527@ExtensionFunctionTypeis allowed on function types with no parameters and leads to backend exceptionKT-55316K2. IllegalStateException on incorrect import directive nameKT-57570Remove source code excerpts from platform type nullability assertion exceptionsKT-56073K2: build ExposedKT-47932Report errors on cycles in annotation parameter typesKT-38871Kotlin Gradle DSL, MPP: UNUSED_VARIABLE when configuring a sourceset with delegated propertyKT-46344No error for a super class constructor call on a function interface in supertypes listKT-56609K2: False positive NULL_FOR_NONNULL_TYPE with -Xjsr305=strict and@Nullableannotation Java parameterKT-56656K1/K2: inconsistent NOTHING_TO_OVERRIDE with complex nullable annotationsKT-58332K2: local fun with suspend type is not marked as suspend in IRKT-57991K2: Modifier 'suspend' is not applicable to 'anonymous function'KT-54294K2: "Not all type variables found" in builder inference with type parameters inferred through a union of two branchesKT-58564[PL] Annotations with unlinked parameters are not removedKT-52597Provide Alpha Support for Multiplatform in the K2 platformKT-58523K2: reference is resolved to imported type-alias instead of identically named top-level propertyKT-57098Native: avoid object initialization while accessing const valKT-5797332-th default value in inline classes override function is not usedKT-57714"IllegalStateException: <B::!>" using reified genericsKT-57810toStringof object erroneously considered as constant function in string concatenationKT-58076K2: Incorrect inference of type of labeled receiverKT-57929K2: Arguments of annotations are not calculated in a lot of strange locationsKT-54874K2. No compilation error with incorrect Comparator invocationKT-55388Consider enabling ProhibitUsingNullableTypeParameterAgainstNotNullAnnotatedKT-53041NPE in Kotlin 1.7.0 when using RxJava Maybe.doOnEvent with anonymous parametersKT-54829Cleanup local types approximation logicKT-58577K2: private Kotlin property prevents use of Java set-method from Java-Kotlin-Java hierarchy in another moduleKT-58587MUST_BE_INITIALIZED must take into account effectivelly finalKT-58524K2: false-positive overload resolution ambiguity error on invoking a generic class's member function with id-shaped function-typed parameter on intersection-typed receiverKT-53929Enum.entries: consider changing scope behavior in K1KT-58520K2: FIR2IR: ISE during const evaluation of operator times with exposedKT-57905K1: resolution to base class's Java field instead of derived class's Kotlin property is not deprecated in case of different typesKT-56662K1: false negative INVISIBLE_SETTER for a var with internal setter accessed from a derived classKT-57770K2: Support generation of serializer if base class for serializable class declared in different moduleKT-58375Kapt: "wrong number of type arguments. required 1" when more than 22 type argumentsKT-48870[FIR] Different behavior for explicit receiver resolution inside delegated constructorsKT-58013K2: "Not enough information to infer type variable T" when using assert non-null (!!) and delegationKT-58365K2: Fix stub types leakage in builder inference caused by implicit receiver type update with partially resolved calls (IGNORE_LEAKED_INTERNAL_TYPES for stub types)KT-58214Continuation parameter only exists in lowered suspend functions, but function origin is LOCAL_FUNCTION_FOR_LAMBDAKT-58030K2/MPP/JVM: compiler backend crash on super-call to indirectly inherited Java methodKT-58135K2: Priority of extension property is lower than ordinary propertyKT-57181[K1/N, K2/N] Expect and Actual funs have different IdSignature.CommonSignature, if Expect has default argumentKT-58219K2/MPP/metadata: false-positive invisible reference error in Native-shared source setKT-58145K2/MPP/metadata: compiler FIR crash on inheritance of a generic class with property by actual-class from Native-shared source setKT-56023Constant operations (e.g. division) are not constant in K2 (JS, Native)KT-57354In suspend function default arguments are sometimes not deleted in IRKT-55242K2/MPP: basic build/link functionalityKT-57979K2: Unresolved reference error when assigning to Java synthetic property with a different nullability getterKT-57543K2 reports DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLEKT-58142K2: val parameter with more specific type is lower priorityKT-48546Missed TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM error at plus-assignKT-57854RECEIVER_TYPE_MISMATCH on synthetic property from mutually recursive Java generics with disabled ProperTypeInferenceConstraintsProcessingKT-54518False negative NON_PUBLIC_CALL_FROM_PUBLIC_INLINE when calling internal method of super classKT-58025K2: Argument type mismatch when using Springs HandlerMethodArgumentResolverKT-58259Unexpected unresolved function call with obvious invoke-convention desugaringKT-57135K2: Fir should take into account an annotation's allowed targets as well as the use-site target when deciding whether it applies to a property, a field, or a constructor parameterKT-57069K2: Method kind in metadata is DECLARATION when DELEGATION is used in K1KT-57958K2: Initializer type mismatch when using extension property on type with star projectionKT-58149K2: New inference error with buildListKT-58008K2: "Cannot find cached type parameter by FIR symbol: T" on suspend function with generic and nested classKT-57835K2: compiler crash on lambda with dynamic receiverKT-57601K2: Builtin functionextensionToStringcan't be accessedKT-57655K2: ImplicitIntegerCoercion is not working for named argumentsKT-58143K2: overload resolution ambiguity inside dynamic lambdaKT-58132K2: Implicit int constant to long converion crashes FirSerializerKT-57378Partial linkage: Run codegen box tests for Native & JS with enabled PLKT-58207K2: Handle result of completion of synthetic call with callable reference argumentKT-56549K2: Reference to Java sealed class fails to compileKT-57994K2: Type inference failed on function referenceKT-58099interop0 test fails with error "type kotlin.String? is not supported here: doesn't correspond to any C type"KT-57671Synthetic $EntriesMappings declaration is public and generated even for enums from current module on ICKT-56517K2: Reference to Java record fails to compile: "unresolved reference", "Overload resolution ambiguity between candidates"KT-58163FIR: deserialized default property setter and getter must have FirResolvePhase.ANALYZED_DEPENDENCIES phaseKT-55646K2: Report definitely non-nullable as reified errorKT-58043k2: Expect call is not removed from IR with nullability-based overloadKT-56442K2: Make sure K2 has the same behavior for defaults with overrides as K1 hasKT-55904Fix tests for volatile annotation on K2KT-57928K2: Arguments of annotations on constructor value parameter are not calculatedKT-57814K2: Argument type mismatch with delegating propertyKT-56490Implement deprecation for an anonymous type exposed from inline functions with type argumentKT-57781K2: Generated serializer is invisible in a non-JVM test source setKT-57807K2: Symbol already bound exception for arrayOf function from IrBuiltInsOverFirKT-57962K2: No set method providing array access on dynamicKT-57353K2: unresolved reference when using fully qualified object declaration name as an expression, when a declaration package is from another klib and has at least two name segmentsKT-57899K2: compiler FIR2IR crash on anonymous object with inheritance by delegation to value of smart-casted type parameterKT-57988K2: compiler exception on get operator on dynamic thisKT-57960K2: incorrect type inference in lambda with dynamic receiverKT-57923K2: Optional expectation annotation crashes const evaluatorKT-56511K1: false negative SMARTCAST_IMPOSSIBLE when alien constructor property is accessed from a private classKT-58033K2 reports Constructor must be private or protected in sealed class in actual sealed class if its constructor has own actual declarationKT-58061K2: false-positive unsupported feature error on callable references to Java methods from annotation interfacesKT-55079Refactor DiagnosticReporterByTrackingStrategy and fix some "diagnostic into black hole" problemsKT-57889K2: false-positive lack of information for inline function's type parameter in case of builder-style inference from caller function's return expressionKT-57961K2: Unresolved reference using dynamic lambda parameterKT-57911K2: Contracts are not inherited by substitution overridesKT-57880K2: false-positive argument type mismatch due to lambda receiver shadowing labeled outer lambda receiver when assigning lambda to variableKT-57986K2: NPE on building SpaceKT-57873K2: compiler FIR serialization crash on builder-style inference from lambda's return typeKT-57941K2: Assertion error on loading serializable class with non-serializable property compiled with K1 compilerKT-57947K2: Incorrect resolution results when property type for invokeExtension is not inferredKT-58002K2: compiler FIR serialization crash on platform type with type-targeted Java annotation with Java enum as argumentKT-57263K2/MPP/JVM: compiler codegen crash on expect-property as default argument for expect-function's parameterKT-56942K2: False-negative NO_ELSE_IN_WHEN if subject is flexible typeKT-56687Unexpected behaviour with enum entries when using outdated stdlibKT-56398K2/MPP: compiler backend crash on inheritance from expected interfaceKT-57806K2: string interpolation as annotation parameter causes errorKT-57611K2: Annotation arguments are not evaluatedKT-56190[K2/N] Const initializers are not serialized to klibKT-57843K2: Missing diagnostic when calling constructor through typealias whose expansion has a deprecationKT-57350FIR: deprecation diagnostic is not reported on a super class callKT-57532K2: IrActualizer doesn't handle properties overloaded by extension receiver correctlyKT-57776K2: Suppressing "INVISIBLE_REFERENCE" leads to AssertionError: Unexpected IR element found during code generationKT-57769[K2] Load properties in proper order for classes compiled with kotlinx.serialization and LV < 2.0KT-57879K2: compiler FIR serialization crash on passing Java constants as arguments to type-targeted annotationsKT-57893K1/K2 inconsistency on smart casts of internally visible properties in friend modulesKT-57876K2: stack overflow in compiler FIR deserialization on nested type-target annotation class used in enclosing classKT-57839K2: Compiler crash on lambda returning anonymous object with implemented lambdaKT-57822K2: Can't refer to external interface from class literalKT-57809K2: No value passed for parameter of external classKT-56383Build intellij master with LV 1.9KT-57735K2: MPP: K2 reports hides member of supertype and needs 'override' modifier for the function with@PlatformDependentannotation when there is an empty linux target in projectKT-55056Builder inference causes incorrect type inference result in related callKT-57689K2: Unresolved reference to nested typealias in KLIBKT-57665K2: incorrect resolution of dynamic typeKT-57381K2/MPP/Native: impossible to override Any::equals with non-external functionKT-57654K2: Lambda with receiver deserialized as lambda without receiver during metadata compilationKT-57662K2: The error message is poorly formatted and not precise in case of NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS error and@Suppressis usedKT-57763FirExtensionRegistrar extension point brokenKT-57312K2: IR interpreter fails on string interpolation withconst valfrom a klib involvedKT-57768Don't decompile code to search for annotation argumentsKT-55628Diagnostics for kotlin.concurrent.Volatile annotation applicabilityKT-55860K2. [CONFLICTING_INHERITED_MEMBERS] for inheritor of a class with overloaded generic functionKT-53491K2: Implement "Operator '==' cannot be applied to 'Long' and 'Int'" errorKT-55804K2: UNSAFE_CALL Non-nullable generic marked as nullable even if non-null assertedKT-57682K2: Incorrect composing of signatures for calls on dynamic typesKT-55405K2: false-negative INVISIBLE_REFERENCE in import directivesKT-54781K2: no error on unresolved import statement with more than one packageKT-57635K2/MPP: Expect constructors are not considered as expect during metadata deserializationKT-57376K2/MPP: false-positive K/JS diagnostic in absence of K/JS target when sharing a source set between K/JVM and K/NativeKT-55902K2: Support ImplicitIntegerCoercion annotationKT-56577Migrate Native KLIB ABI compatibility tests to K2KT-56603[K2/N] Segfault invoking fun from binary compatible klibKT-57457K2: the error message is not quite informative in case of EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERRORKT-57568K2: K2, Native reports overload resolution ambiguityKT-57446K2: Adapter function reference is not generated inside when expressionKT-54894K2: False positive RETURN_TYPE_MISMATCH on function which returns a functional type with@UnsafeVarianceargumentKT-57001K2 compilation fails due to nullabillity subtyping not working properlyKT-57271Delay forbidding inference to an empty intersection to version 2.0KT-57209K2: type parameters are available in companion object scopeKT-50550False positive NO_ELSE_IN_WHEN with annotatedwhenbranch conditionKT-57431K2 MPP JS: Compiler crash on transitive common dependenciesKT-57456K2 reports uninitializied variable in enum class when variable is used in lambda and defined in companion objectKT-57583K2/MPP/JS&Native: FIR2IR compiler crash on reference to Any method inherited by expect-classifierKT-56336[K2/N] Multiplatform test fails with unexpected "actual declaration has no corresponding expected declaration" compiler errorKT-57556K2: Rename error 'This API is not available after FIR'KT-23447Integer.toChar compiles to missing methodKT-46465Deprecate and make open Number.toChar()KT-49017Forbid usages of super or super if in fact it accesses an abstract memberKT-56119BinaryVersion.isCompatible binary compatibility is brokenKT-57369K2/MPP: supertypes established in actual-classifiers from other source sets are not visibleKT-55469[K2/N] equals(Double,Double) and equals(Boolean,Boolean) are not foundKT-57250K2: the metadata is serialized for anexpectclass even if theactualclass is present when compiling to klibKT-56660K2/MPP: compiler backend crash on invoking a K/Common constructor in K/JS codeKT-55055K1: Builder inference violates upper boundKT-57316Initialize Enum.entries eagerly: avoid using invokedynamicsKT-57491Kotlin synthetic parameter looks ordinaryKT-56846K2: incorrect line & symbol numbers in exception reportingKT-56368K2/MPP: compiler backend crash on missing actual declarationKT-57104K2: false-positive conflicting inherited JVM declarations error despite use of@JvmNamein another moduleKT-56747[K2/N] Return type forlambda: (Any) -> Anywhich returns Unit is different for K1 and K2 and return statement is missing with K2KT-57211K2: incorrect "error: an annotation argument must be a compile-time constant" on unsigned array in annotation argumentKT-57302K2 fails with IllegalStateException on reading inherited property of Java enumKT-57424K2 IDE: "By now the annotations argument mapping should have been resolved" exceptionKT-57241K2 MPP: Actualization doesn't work for actual enum that has primary constructor with argumentsKT-57210K2 MPP: Support of arguments with dynamic typeKT-57182K2 MPP: Actualization doesn't work for nested objectsKT-56344K2: Implement correct errors reporting of IrActualizerKT-54405K2 compiler allows val redeclarationKT-54531[K2] Uncaught Runtime exception is thrown instead of user friendly error messages with details in case -no-jdk option set to trueKT-56926K2: incorrect line number generated for class constructor or method with default parameter when comment beforeKT-56913K2: Incorrect line numbers in overriden field getters and settersKT-56982K2: Incorrect line number start in when expressionKT-56720K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTED in case of delegation in diamond inheritanceKT-57175K2: false-positive INVALID_TYPE_OF_ANNOTATION_MEMBER on type aliasesKT-25694Fix reporting of uninitialized parameter in default values of parametersKT-57198K2: false-positive type mismatch error on inherited raw-typed class with type parameters in upper bounds of other type parametersKT-15470Inconsistency: use-site 'set' target is a compilation error, use-site 'get' target is okKT-57179FIR: preserve prefix increment behavior like in K1 by calling getter twiceKT-57405K2. Function call ambiguity error when nullable String is passed to function with Spring@Nullableannotation in signatureKT-57284K2: compiler codegen crash at property initialization in constructor after smartcast of dispatch receiver to indirectly derived typeKT-57221K2: compiler FIR2IR crash on function's unavailable cached type parameterKT-57036Unresolved reference: with inferred type of class constructor with extension parameterKT-56177K2: FIR should not generate annotation on both property and parameterKT-54990NI: Type mismatch when encountering bounded type parameter and projectionsKT-57065K2: overload resolution ambiguity between type-aliased constructor and identically named functionKT-49653Deprecate and remove Enum.declaringClass synthetic propertyKT-57190K2: false-positive unsafe call error on safe call on type-aliased nullable receiver in SAM-conversionKT-57166K2: false-positive val reassignment error when synthetic property with implicitly typed overridden getter is called from implicitly typed member that is declared earlierKT-55828[K2/N]: Fix test fails in OPT mode :Internal compiler error: no implementation found ... when building itable/vtableKT-56169False negative deprecation warning about future inference error with builder inferenceKT-56657K1/K2: inconsistent behavior in nullability mismatch (Guava hash set/map)KT-57105K2: compiler codegen crash at property initialization in constructor after smartcastKT-56379K2: build tests for the Kotlin standard libraryKT-56079K2: build YouTrack 2022.3KT-57092K2: false-positive multiple inherited implementations errorKT-56696K2: Allow to access uninitialized member properties in non-inPlace lambdas in class initializationKT-56354K2/MPP: unresolved references to library entitiesKT-57095K2: false-positive lack of type arguments error on raw cast of Base<*> to Derived: Base<T?>KT-56630FIR: ClassCastException on compilation hierarchy with a raw typeKT-57171K2: Implement bytecode testsKT-57214K2: compiler FIR crash on annotation usage before annotation class declarationKT-57204K2: callable reference to mutable property of inherited by delegation superinterface isn't properly resolvedKT-57195K2: false-positive VAR_TYPE_MISMATCH_ON_OVERRIDE on changing property's platform type to non-nullable type when overridingKT-56814K2. PsiElement is null inside IrClass. As a result ClassBuilder defineClass gets null as originKT-54758DeprecateClassBuilderInterceptorExtension.interceptClassBuilderFactoryand provide another method without dependency on K1KT-57253K2: clean up callable reference logic in FIR2IRKT-56225K2. "BackendException: Backend Internal error: Exception during IR lowering" error on incorrect constructor in inline classKT-56769K2. Annotation applicability is ignored during compilation when there's use-site@targetKT-56616K2: cannot infer Java array type properlyKT-57247K2: false-positive INVALID_TYPE_OF_ANNOTATION_MEMBER on type-aliased vararg propertyKT-57206K2: false-positive val reassignment error on synthetic property from generic class with overridden getter but not setterKT-56519K2: Compiler crash on a function reference on companion receiver that inherits from outer classKT-56506K1/K2 inconsistency: VAL_REASSIGNMENT on synthetic setter with different nullabilityKT-56877K2: false-positive UNRESOLVED_LABEL for labeled this-expression in contract descriptionKT-56863K2: false-positive property initialization analysis errors after smartcastKT-56864K2: Unexpected behavior with default parameter inheritance and function referenceKT-56665K2: false positive RECURSIVE_TYPEALIAS_EXPANSIONKT-53966K2 does not support SAM conversions with condition into Java/Kotlin functional interfacesKT-56659FIR: Increment operator on object leads to exception from resolveKT-56771FIR: Increment operator on qualified expressions leads to exception from resolveKT-56759K2: False-positive UNRESOLVED_REFERENCE on labeled desctructuring declaration in LT modeKT-56548K2: false positive overload resolution ambiguity for Java record constructorKT-56476K2: false positive NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY at inline fun use-siteKT-56138K2: Illegal conversion of lambda with parameters to ExtensionFunction expected typeKT-56448K2: False-positive unsafe call due to incorrect inference of smartcasted typeKT-55966K2: Not enough information to infer type variable K if smartcast is usedKT-57168K2: compiler FIR2IR crash on synthetic property from generic class with overridden getter but not setterKT-56876K2: false-positive UNRESOLVED_REFERENCE for name of nested class in contract descriptionKT-57194K2: overload resolution doesn't prioritize Double over FloatKT-57067Warning about expect/aсtual in the same module doesn't take into account absence of 'actual' modifierKT-56954K2: function literals can be passed as arguments to parameters with kotlin.reflect function typesKT-55423K2: Implement CONTRACT_NOT_ALLOWEDKT-56923K2: no line number in bytecode when ASTORE exception in catchKT-56829K2: compiler FIR2IR crash on passing to function a callable reference to nested class's constructor with default argumentsKT-57029Per-file caches fail on local inline function in an inline functionKT-57085K2:@Suppressis sensitive to its argument's caseKT-57103K1: AssertionError: Mismatching type arguments: 0 vs 1 + 0 when calling inline function with callable reference to generic synthetic propertyKT-57033Make KtClassLiteralExpression stub basedKT-57035Make KtCollectionLiteralExpression stub basedKT-40857Invalid parameterized types for extension function on parameterized receiver when javaParameters=trueKT-56154Compiler backend crash on reference to Java synthetic property from generic classKT-56692StackOverflow in PrivateInlineFunctionsReturningAnonymousObjectsCheckerKT-55879Modularized tests: fir.bench.language.version is used as API version, not language versionKT-51821ClassCastException on anonymous fun interface implementation when unrelated vararg is usedKT-56820K2: compiler FIR crash on Java field access after smartcastKT-56579[K2/N] IR actualizer crashed with K2 on expect annotation marked with@OptionalExpectation, without actual.KT-56750K2: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER" when calling typealias method referenceKT-55614K2: consider serializing static enum members (values/valueOf/entries) to match K1 behaviorKT-30507Unsound smartcast if null assignment inside index place and plusAssign/minusAssign is usedKT-56646K2: "IllegalStateException: No single implementation found for: FUN FAKE_OVERRIDE" when compiling a functional interfaceKT-56334K2: can't call expected function with default argumentsKT-56514K2 should report ACTUAL_TYPE_ALIAS_NOT_TO_CLASSKT-56522K2 should report ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTSKT-56910Exception during IR lowering: Cannot determine lineNumber of element FUN name:cancelProgressKT-56542K2: false positive TOO_MANY_ARGUMENTS in VarHandle.set callKT-56861FIR: test FirPluginBlackBoxCodegenTestGenerated.testClassWithAllPropertiesConstructor is failing with runtime errorKT-56234K2: "ISE: Expected value generated with NEW" with inline property setter and noinline parameterKT-56722K2: cannot resolve component call after smart castKT-56875K2: isOperator flag is incorrectly set for java methodsKT-56714K2: wrong argument mapping in DSLKT-56723K2: lambda accidentally returns Unit? instead of UnitKT-55877K2: Secondary constructor without call to parent: no frontend error, ISE: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER"KT-56386K2: Make possible to access Java field which is shadowed by Kotlin invisible property`KT-56862Compatibility problem with using Kotlin in Intellij 223 or higher because of missing particular trove4j dependencyKT-55088JS, Native compilation fail with internal error onSomeEnum.entriesreference whenSomeEnumis from klib compiled with disabled EnumEntries language featureKT-40904No warning when declare actual in the same target (module) as expectKT-56707K2: Unexpected TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM where only getter type specified explicitlyKT-56508Context receivers: Internal compiler error when compiling code containing a class with a secondary constructorKT-56706K2: False-positive ARGUMENT_TYPE_MISMATCH for generic nested types from libraryKT-56505K2: MissingNO_EXPLICIT_VISIBILITY_IN_API_MODEerrors on various declarationsKT-56682K2: False-negative UNINITIALIZED_VARIABLE on access to delegated propertyKT-56678K2: False-negative UNINITIALIZED_VARIABLE if corresponding variable has initializerKT-56612K2: false positive NO_TYPE_ARGUMENTS_ON_RHS on raw cast with type alias based argumentKT-56445K2: False-positive unresolved reference to callable reference to function with default argumentKT-55024K2: overload resolution ambiguity/unresolved reference if variable is smart-casted to an invisible internal classKT-55722K2: Incorrect OVERLOAD_RESOLUTION_AMBIGUITY with smart cast on dispatch receiver (simple)KT-56563Inference within if stops working when changing expected type from Any to a different typeKT-55936K2: Support proper resolution of callable references as last statements in lambdaKT-45989FIR: wrong callable reference type inferredKT-55169K2: False-negative NO_ELSE_IN_WHENKT-55932K2. No compiler error when elvis operator returns not matched typeKT-53987K2: False negative "TYPE_MISMATCH" with if statement returnKT-41038NI: TYPE_MISMATCH when passing constructor of nested classKT-42449Can not resolve property for value of type Any even after casting type to a type with star projectionKT-52934StackOverflow fromPseudocodeTraverserKt.collectDataFromSubgraphwithifinsidefinallyKT-52860StackOverflowError when casting involving recursive generics and star projectionKT-52424ClassCastException: Wrong smartcast to Nothing? with if-else in nullable lambda parameterKT-52262TYPE_MISMATCH: Nonnull smartcasting fails with non-exhaustive whenKT-52502Forbid extension calls on inline functional parametersKT-51045SETTER_PROJECTED_OUT: Star projected nullable property can't be set to nullKT-40480[FIR] SupporthasStableParameterNamefrom metadataKT-50134NI: Type inference regression in java streams groupingByKT-50160False positive "USELESS_CAST" caused by indexed access operatorKT-42715Unable to use implicit lambda paramitfor overloaded methodsKT-49045False positive USELESS_CAST in generic type with nullable type parameterKT-49024AssertionError: Variance conflict: type parameter variance 'out' and projection kind 'in' cannot be combinedKT-48975Type mismatch: inferred type is X but Nothing! was expected with the AssertJ latest versionKT-47870INVISIBLE_MEMBER: Kotlin class can't access protected annotation defined in Java parent classKT-47495ReenteringLazyValueComputationException on invalid codeKT-47490Missed diagnostic for incorrect callable reference in finallyKT-47484"Recursion detected in a lazy value under LockBasedStorageManager" on invalid codeKT-46301Combining branches with sealed interfaces inwhenbreaks type inferenceKT-44392False negative: redundant nullability/not null check on cast with as operatorKT-43936Recursion detected on input: ANNOTATION_ENTRY with annotation on star-imported nested classKT-43846No smart cast when returning function closures with captured smart-cast variableKT-43603False positive USELESS_CAST leads to TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM on "when" with smart cast and extension propertyKT-43553JVM / IR: "AssertionError: Unbound symbols not allowed" caused by annotation class with TYPE targetKT-42169False negative CAST_NEVER_SUCCEEDS for incompatible types with generic parameter and star projectionKT-42136NI: False positive [USELESS_CAST] when list serves to create a mutable listKT-41721SAM conversion fails on varargs with type approximated to NothingKT-38288Unresolved reference for type parameter upper bound of nested class when outer class extends it with star projected type argumentKT-37490NULL_FOR_NONNULL_TYPE: "Null can not be a value of a non-null type Nothing" when null is passed to nullable argument of type projected methodKT-37365NPE fromReflectionReferencesGenerator.generateCallableReferencewith inner class function reference and wrong parenthesisKT-36958NI: missed unresolved on parenthesized callable reference passing through call (back-ends throw an exception)KT-30756No smartcast if elvis operator as a smartcast source in while or do-while is used as the last statementKT-24737Report an error on invalid this-expression with angle brackets on left-hand side of a callable referenceKT-21463Compiler doesn't take into accout a type parameter upper bound if a corresponding type argument is in projectionKT-6822Smart cast doesn't work inside local returned expression in lambdaKT-55840Inconsistency between members of enums in bytecode between FE 1.0 + JVM IR and FIR + JVM IRKT-47815JVM: "Recursion detected in a lazy value under LockBasedStorageManager" when trying to inherit interface from a class with non-trivial functionKT-17817No error reported on invalid LHS for class literalKT-47373Missed diagnostics on/after non-null assertion (!!) on generic class class use with class literalKT-51143Wrong Unit-requiring at if/when branch with stub typesKT-53671False-positive diagnostic reported on OptIn annotation import from root packageKT-53494Mistaken type inference in compound 'if' expression with nullability check and covariant typeKT-28668"AssertionError: Unrelated types in SAM conversion for index variable" if lambda argument of '[...]' in LHS of augmented assignment is used as an implementation for different SAM interfacesKT-55931Inference for callable reference inside synthetic calls for if/when/try/etc stops working when brought into lambda for a callKT-20223Inline access check ignores operator calls toinvoke()KT-54478@NoInfercauses CONFLICTING_OVERLOADSKT-56472K2: Add stack of all FIR elements to CheckerContextKT-41126[FIR] Inconsistency of a compiler behaviour at init block for an enum entry with and without a qualifier nameKT-54931Annotations defined in nested classes cannot be instantiated directlyKT-52338"IncompatibleClassChangeError: Expected non-static field" with Kotlin class with same-named companion object property as base Java class fieldKT-24901No smart cast forwhenwith early returnKT-53086"Cannot access '' before superclass constructor has been called" with inner class secondary constructorKT-55137Callable references with conversion are incorrectly allowed to be promoted to KFunctionKT-30497EXACTLY_ONCE contract doesn't work in a function withvarargparameterKT-47074Front-end Internal error: Failed to analyze declaration State / java.lang.IllegalStateException: Should not be called! when try to add ParcelizeKT-24503Return-as-expression is allowed as this/super constructor parameterKT-55379False positive NO_ELSE_IN_WHEN with smartcast to BooleanKT-47750False positive NO_ELSE_IN_WHEN in presence of smartcast to sealed interfaceKT-53819False positive UNINITIALIZED_VARIABLE with secondary constructor and custom property getter in local classKT-56457JVM: Enum.entries are not annotated with@NotNullKT-56072K2. "IllegalStateException: Fir2IrSimpleFunctionSymbol for is already bound" when trying to access java synthetic property of inherited classKT-50082Kotlin non-overriding property of subclass doesn't shadow same-named Java field from base classKT-55822False positive ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED with raw types and mixed overridden membersKT-55666K2: label on local function is rejected: "Target label does not denote a function"KT-56283False-positive INVISIBLE_MEMBER on overridden member of more specific type after smart castKT-51969[FIR] Compilation for expect value class fails with "Fir2IrSimpleFunctionSymbol for [declaration] is already bound"KT-56329K2: compiler backend crash on two expected functions with similar signaturesKT-56361K2/MPP: receiver isn't available in lambda literals with receiverKT-55295K2/MPP: JS build functionalityKT-55909[K2/N] IndexOutOfBoundsException for a reference to a function defined in companion object superclassKT-55664K2: eliminate ClassId.isSame call from FirClass.isSubclassOfKT-56353K2. False negative "Unresolved reference" in default value of secondary constructor's parameterKT-56381K2: Function type kind not extracted from lambda literal in generic callKT-55747K2. "Convention for 'mod' is forbidden. Use 'rem'" error is missingKT-56104Unnecessary inner classes attributes in class files for subclassesKT-55570K2: ACTUAL_WITHOUT_EXPECT error is not reported on a simple actual classKT-56176[K2/N] "IllegalStateException: actual type is kotlin.Int, expected kotlin.Long" when expected type uses typealiasKT-56229K2: IllegalStateException (already bound) for triangle-like dependencies scheme with MPP scenarioKT-56199K2 + MPP + kotlinx.serialization: java.lang.VerifyError: Bad type on operand stack in aaloadKT-56212K2: Exception when compiling extension function declaration with illegally chained type parameter receiverKT-55503K2: "Argument type mismatch" caused by using the wrong "this"KT-56050K2: inconsistency regarding visibility of synthetic properties with protected getter and public setterKT-49663FIR: Support@kotlin.jvm.PurelyImplements for java collectionsKT-55468[K2/N] Crash with debuginfo caused by changed tree using IMPLICIT_COERCION_TO_UNITKT-56269[K2/N] Don't test "Tailrec is not allowed on open members" in K2KT-54647K2: Function call with Lambda on LHS of assignment leads to KotlinExceptionWithAttachments: FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtFunctionLiteralKT-54648K2: Function call on left side of erroneous assignment isn't resolvedKT-55699K2. False Negative "Type parameter T is not an expression"KT-56132Restore 'JvmBackendContext' constructor signature for compatibilityKT-55973K2: Exception from UnusedChecker on an unused destructuringKT-56275K2 IDE: Missed error for enum super typeKT-54775K2. "IllegalStateException: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl " exception on incorrect codeKT-55528K2: CFA for property initialization analysis is not run for class initialization graphsKT-54410K2: Deprecation warning instead of "this declaration is only available since Kotlin X" when language version in project are below required to use language featureKT-55186K2: No compilation error on calling exception without constructorKT-36776Treat special constructions (if, when, try) as a usual calls when there is expected typeKT-50947False negative: FE 1.0 doesn't report type variance conflict error on an inner typeKT-39041Collection literals should not be allowed inside annotation classesKT-54694Consider enabling BooleanElvisBoundSmartCasts in K1 or K2KT-54587K2. CCE on compilation when some operator fun is needed and it is implemented as an extension function for another classKT-52774Resolve unqualified enum constants based on expected type
Docs & Examples
KT-53643Update coding style conventions to include rangeUntil operatorKT-57902Create migration tutorial from kotlin-js to kotlin-multiplatform gradle pluginKT-58381[Docs][Libraries] Document Path.createParentDirectories
IDE
Performance Improvements
KTIJ-23501Make main run configuration detection lighterKT-56613Reduce memory consumption of light classes
Fixes
KTIJ-25855Infinite "Analyzing..." on .kt files from native source-setKTIJ-25448When project JDK is less than one defines in jvmToolchain block run with Idea fails withhas been compiled by a more recent version of the Java RuntimeKTIJ-25673Temporarily switch off adding jvmToolchain to new/converted Kotlin projectsKTIJ-25719K/Wasm: Fix import of wasm projects with Kotlin 1.9.0KTIJ-24136Files with actual declarations are not highlighted in kotlinx.coroutines projectKTIJ-24390Kotlin assignment plugin: Imports are not recognized in build logic .kt files for Gradle buildKTIJ-24695Default Kotlin project can not be synced on Mac M1KTIJ-25302Wrong variant of serialization plugins is passed to JPS build if the project was imported from GradleKTIJ-25416"Add import" works incorrectly without formatting the code for root packageKT-57849K2: contract violation due to implicit java type with annotationKTIJ-24666Store annotation arguments in clsKTIJ-24667Store constant expressions in clsKTIJ-24665Store contracts in clsKTIJ-24543An option to configure kotlin with JavaScript is available at Tools -> Kotlin menuKT-57857LC: FakeFileForLightClass: Read access is allowed from inside read-actionKTIJ-25172Store flexible types in clsKT-57578SLC: incorrect upper bound wildcardsKT-57917Analysis API: decompiled value parameters are not resolvedKT-56046K2 IDE: Avoid redundant resolve from annotationsKT-57569SLC: incorrect visibility for lateinit var with private setterKT-57547SLC: non-lastvarargvalue parameter type mismatchKTIJ-25034K2 IDE: unresolved import treated as unusedKT-57548SLC: incorrect inheritance list for ComparatorKT-56843Light classes: certain kinds of constant values in property initializers aren't supportedKTIJ-24676Enum.entries is red if it's called on enum class from JDK or module without stdlib in dependenciesKT-56868SLC: IncorrectOperationException on enum annotation arguments that are not valid Java identifiersKTIJ-25048K2: IDE K2: "Unexpected scope FirNameAwareCompositeScope"KTIJ-24895K2 IDE: "Invalid FirDeclarationOrigin Synthetic" exception for synthetic "WHEN_CALL" function during highlightingKT-56833Light classes: Accessors to lateinit properties don't have@NotNullannotationsKTIJ-24768IDE K2: "IllegalArgumentException Failed requirement at FirJvmTypeMapper"KT-56845Light classes: Overridden property accessors don't have@OverrideannotationKT-56441K2 IDE: reference from Java to ObjectName.INSTANCE of private object is red in IDE, but compiled successfullyKT-56891Symbol Classes: DefaultImpls classes contain methods without default implementationKTIJ-24742K2 IDE: InvalidFirElementTypeExceptionKTIJ-24067K2 IDE: references from .java source to top-level Kotlin members from dependencies are unresolvedKT-56842Light Classes: Primitive-backed context receiver parameters shouldn't be marked with@NotNullKT-56835Light classes: Underlying fields for delegated properties should be marked as final and@NotNullKT-56840Light Classes: Inline classes backed by Java primitives shouldn't be marked with@NotNullKT-56728K2 IDE. False positivenot applicable tofor kotlin annotation with target annotating Java elementKTIJ-24610K2: Exception from import optimizer: "Unexpected qualifier '10' of type 'KtConstantExpression`"KTIJ-24476Make application services to be classes instead of objectsKTIJ-24574K2 IDE: "No fir element was found for" from inspectionsKT-55815SLC: Keep annotations on type when converting toPsiTypeKT-55669K2 IDE: INRE from light classesKTIJ-24530K2 IDE: status resolution fails with CCEKTIJ-23937K2: No 'JavaSymbolProvider' in array owner: Source session for moduleKTIJ-24087K2: Type parameter bounds found not analyzed during call inferenceKTIJ-24344K2 IDE: Object reference incorrectly resolves to 'invoke' operator functionKTIJ-24107K2 IDE: Unresolved call for qualified companion invoke()KTIJ-24385K2 IDE: KtCallExpression(KtCallExpression) should always resolve to a KtCallInfo
IDE. Code Style, Formatting
KTIJ-24928Organize imports puts imports in one line if Formatter option is used
IDE. Completion
KTIJ-25108K2 IDE: Code completion in Java context for Kotlin top level members: "Slow operations are prohibited on EDT" through KtAnalysisScopeProviderImpl.canBeAnalysed()KTIJ-24989K2 IDE: completion should show information about expanded types for type alias parametersKTIJ-24992K2 IDE: completion shows return type with incorrect nullability when type is stub typeKTIJ-24948K2 IDE: "ERROR: class org.jetbrains.kotlin.fir.types.jvm.FirJavaTypeRef cannot be cast to class org.jetbrains.kotlin.fir.types.FirResolvedTypeRef" during completion of inner classes' constructorsKTIJ-24256K2 IDE: Angle brackets are missing in completion of function with type parametersKTIJ-24083K2, Completion: Exception on adding a type parameter receiver to a functionKTIJ-23963K2 IDE: Completion in Kotlin suggests overriding a Java field; fails with "Unknown member to override"KTIJ-22359K2 IDE: no completion for Java synthetic properties from super classKTIJ-23880Completion doesn't work for Java synthetic property reference
IDE. Decompiler, Indexing, Stubs
KTIJ-25152Kotlin Bytecode tool window: ISE Symbol with IrSimpleFunctionSymbolImpl is unbound on actual callable with argument in mpp project with IRKTIJ-24475Migrate kotlin index extension implementation from object to classesKTIJ-24335Kotlin Bytecode tool window: NoSuchElementException caused by duplicate Boolean type descriptor in JvmSharedVariablesManager.getProviderKTIJ-24206Kotlin Bytecode tool window: "Unhandled intrinsic in ExpressionCodegen" when compiling a source file with an expect functionKTIJ-15764IR by default in Kotlin bytecode tool window
IDE. Gradle Integration
KT-59034MPP build failed with "Factory type is not known for plugin variants" in kt-231-*KT-56671KGP import: K/N distribution libraries should'n be resolved for IDE by KGP with package namesKTIJ-24573KGP-based import: commonized cinterop libraries don't include source set targets, unsupported by hostKTIJ-25757KJS: 1.9.0-Beta fails to run when running in Android StudioKTIJ-24701KGP import: JVM+Android shared source sets don't receive a correct default stdlib dependencyKTIJ-24745IDE sync of kotlin("js") projects with js(BOTH) set fails with exception because of the new MPP IDE importKTIJ-24567Enable KGP dependency resolution by defaultKTIJ-24729KotlinMPPGradleProjectResolverKt must not be requested from main classloader on project importKTIJ-11978IDE does not recognize the sources JAR of a published to mavenLocal MPP library
IDE. Inspections and Intentions
KTIJ-24684K2 IDE: 'Redundant qualifier name' false positive in type specification in extension functionKTIJ-24662K2 IDE: False positive "Redundant qualifier name" inspection for nested class from base interfaceKTIJ-25232K2 IDE: "Redundant qualifier name" inspection false positive with object referenced via propertyKTIJ-25447Make Enum.entries and RangeUntil inspections don't check for opt-in when APIs become stableKTIJ-23588K2 IDE. False positive unused import directive for extension function of an objectKTIJ-25112K2 IDE: False positive "Actual value of parameter 'b' is always 'null'"KTIJ-24485Explicit API mode: false positive "redundant 'public' modifier"KTIJ-24453Unsuccessfull resolve error from OperatorToFunctionIntention on recursive property declaration
IDE. JS
KT-58427Kotlin Gradle Plugin ignores language version value for Kotlin/JS sources
IDE. Libraries
KTIJ-25096K2 IDE: Library sessions are garbage collected between performance test runs with enabled library cachesKTIJ-24413Cannot navigate to enum of the Kotlin library via entries call
IDE. Misc
KT-58763K2 IDE: NoSuchMethodError: KtPsiFactory$Companion.contextualKTIJ-25304Move IDE Extension Points from compiler.xml to the IDE repositoryKTIJ-24893K2 IDE: Serializable plugin causes infinite resolve recursion
IDE. Multiplatform
KTIJ-25859MPP: Library wizard with android target uses deprecatedandroidTestsource setKTIJ-25479Compiler options is not imported correctly for js source setsKTIJ-24011MPP: Native tests are missing run gutters
IDE. Navigation
KTIJ-23073K2 IDE: Navigation doesn't work from library sources to another library sourcesKTIJ-24819K2 IDE: support compiler reference indexKTIJ-24697K2 IDE: handling PresistenceMap in LLFirSessionsCache takes a lot of timeKTIJ-24373K2 IDE: Qualified generic type is not fully resolved
IDE. Run Configurations
KTIJ-25046K2 IDE. Junit5 test method with internal modifier can't be launched using gutter
IDE. Wizards
KTIJ-25932Turn off the adding new targets in Kotlin Multiplatform WizardKTIJ-26022Project module not selected in a second page of "New Project" window in KMP wizardKTIJ-24834Set default for "kotlin.mpp.experimental" flag for K/JS features to true
JavaScript
New Features
KT-12784JS: generate ES2015 compatible modulesKT-48154KJS / IR: Inline members support for external typesKT-51582FIR: support basic compile-time evaluation for JS backend
Fixes
KT-43490KJS / IR: "Cannot set property message of Error which has only a getter" caused by class that is child of ThrowableKT-57690K2/MPP: compileProductionLibraryKotlinJs fails with Module has a reference to symbol kotlin/arrayOf|3204918726020768747[0]. Neither the module itself nor its dependencies contain such declarationKT-56911K2/MPP: Compile K/JS fails for@Serializableannotation with class IrDeclarationOrigin$GeneratedByPlugin cannot be cast to class IrDeclarationOriginImplKT-56950Support KLIB IC with K2KT-58570KJS: ES6 classes + PL throw java.lang.NullPointerExceptionKT-58835K2/JS: Fix incremental compilation klib testsKT-58794KJS / K2: Assertion failed with Space buildKT-51706Partial linkage: in case of absent symbol referred from declaration Native compiler is successful, JavaScript failsKT-54452Kotlin/JS libraries with "joined" legacy+IR content: publish IR sources for themKT-53180Kotlin/JS: generated TypeScript constructor can have "TS1016: A required parameter cannot follow an optional parameter" error with certain properties orderKT-39650KJS IR: provide a way to enable ES2015 class generationKT-57990KJS/IR. Invalidsupercall for final parent methods (ES classes)KT-58246KJS: ES15 classses — duplicated code in class constructorKT-57479KJS: Add an annotation for a function parameter which checks that a passed argument has an external typeKT-58201Unknown statement type when building with ES modulesKT-30810values and valueOf are miscompiled for external enum classesKT-57024Ugly TypeScript definitions for declarations with both@JsExportand@SerializableKT-56237KJS + IC: Adding or removing interface default implementation doesn't invalidate children and doesn't update JS codeKT-54638K2/JS: Fir2ir - implement and use JS-specific manglerKT-54028Native / JS: Using private object implementing a sealed interface causes a linker errorKT-57423KJS: Add an annotation for external interfaces which allows to be inherited only by other external interfaces, classes or objectsKT-57711K2: Native & JS fail to compile a KLIB that uses const val from a dependency KLIBKT-57078JS IC: Unbound symbol left inSymbolTableinJsIr[ES6]InvalidationTestGenerated.testBreakKlibBinaryCompatibilityWithVariancetestsKT-57254Deprecateexternal enumdeclarationsKT-57002KJS: "JsParserException: missing name after . operator" when a js(...) block contains an interpolated constantKT-56961JS IR: serializedIrFileFingerprints in klib manifest has a wrong formatKT-56282KJS: Invalidate incremental cache in case of compiler internal errors
KMM Plugin
KT-55402"Framework not found SQLCipher": after selection of "Regular framework" as "iOS framework distribution" and installing SqlCihper through CocoaPodsKT-55988KN debugger in KMM plugin for Android Studio can't recognize the source code
Language Design
New Features
KT-48872Provide modern and performant replacement for Enum.values()KT-15613Introduce special syntax for the until operatorKT-4107Design and implement a solution for toString, equals and hashCode on objects (data object)
Fixes
KT-28850Prohibit protected visibility in final expected classesKT-39362Expect fun interface must have actual fun interface counterpartKT-48994Prohibit type unsound java fields assignmentsKT-58791Prolongate PROGRESSION_CHANGE_RESOLVE diagnostics to 2.xKT-53778Release stdlib API about "rangeUntil" operator in 1.9KT-53653Export Enum.entries to Objective-C and SwiftKT-55177Deprecate declaration of expect and actual counterparts of same class in one moduleKT-49110Prohibit access to members of companion of enum class from initializers of entries of this enumKT-47986Forbid implicit inferring a type variable into an upper bound in the builder inference contextKT-57395Delay ForbidInferringPostponedTypeVariableIntoDeclaredUpperBound feature to LV 2.0KT-55082Bump KLib version for Enum.entriesKT-49264Deprecate infix function calls of functions named "suspend" with dangling function literal
Libraries
New Features
KT-58046Stabilize remaining kotlin.time API: time sources, time marks, measureTimeKT-58074Stabilization of Atomics API in K/NKT-55268Mutiplatform@VolatileannotationKT-51908Provide common function for getting regex capture group by nameKT-53263Path.createParentDirectoriesKT-7637Add toString() to standard delegates classes (NotNullVar, LazyVal, BlockingLazyVal, ...)KT-40728Add AssertionError constructor withcause: Throwableparameter to common stdlibKT-57298Avoid FileAlreadyExistsException from Path.createParentDirectories in case of parent is symlink
Performance Improvements
KT-54739buildmethod in collection builders (Set, Map, List) should return a single instance for empty collectionsKT-42589Provide common listOf(value) overload to avoid allocation of the varargKT-55091Stdlib: Sequence.toSet() and Sequence.toList() may create the collection twiceKT-57617Optimize ReversedListReadOnly iteratorKT-57607KJS: Bad performance for ArrayList.addAll
Fixes
KT-58841Serialization: NPE when obtaining a serializer of a sealed base class with a self-referencing propertyKT-57728Explicitly specify level of stability of programmatically-accessible interoperability APIKT-58985Update KClass.isData KDocKT-57762Introduce HexFormat for formatting and parsing hexadecimalsKT-55612Stabilize experimental API for 1.9KT-58548Stabilize standard library API for Enum.entriesKT-56400Disable compilation of atomicfu-runtime with legacy JS backendKT-58276Deprecate redundant public declarations in kotlin.native.concurrentKT-35973Extract org.w3c declarations from stdlib-jsKT-58073JS/Legacy compiler blocks compilation of kotlinx.atomicfu with K2KT-57317Repack EnumEntries from stdlib into the compilerKT-54702Native: mark Worker and related APIs as obsoleteKT-55610Deprecate kotlin.jvm.Volatile annotation in platforms except JVMKT-57404Native: Support AnnotationTarget.TYPE_PARAMETERKT-57318Change EnumEntries stdlib implementation to be eagerKT-57137Native: Consider removing ArrayAsListKT-56661Missing EnumEntries-related bytecode in kotlin-stdlib-1.9.255-SNAPSHOT.jarKT-51579PlatformImplementations loading is not compatible with graalvm native-image --no-fallback
Native
KT-54098Decommission and remove 'enableEndorsedLibs' flag from Gradle setupKT-52594Provide Alpha support for Native in the K2 platformKT-56071K2/MPP: Native build functionalityKT-56218[K2/N] Receiver annotations for properties are not serializedKT-56326[K2/N] RemoveRedundantCallsToStaticInitializersPhase removes important static initializerKT-27002lateinitintrinsics frontend checkers aren't applied on Native
Native. Build Infrastructure
KT-58160Native: performance build configuration fails with NoSuchMethodError: 'boolean kotlinx.coroutines.CompletableDeferredKt.completeWith(kotlinx.coroutines.CompletableDeferred, java.lang.Object)'
Native. C and ObjC Import
KT-54610Kotlin Native can't callobjc_directfunctionsKT-57918[K2/N] Support typealiases in FirClassSymbol<*>.selfOrAnySuperClass()KT-58651Native c-interop tool generates broken@DeprecatedannotationsKT-57541Compilation fails without explicit cast on cinterop codeKT-54805KMP ios memory leak when using CA LayerKT-57490[K/N] Duplicate package names for cinterop klibs with objc protocols fails to link
Native. ObjC Export
KT-58839K/N: Exception during HiddenFromObjC marked class extension function compilingKT-56464K/N: Allow HiddenFromObjC for classesKT-57507K2: Set of Objc exported declarations is different between K1 and K2
Native. Runtime
KT-58441Kotlin/Native:@ObjCAction@ObjCOutletgenerate bridges without switching stateKT-57091Align Native and Java file/class initialization behavior
Native. Runtime. Memory
KT-56233[Kotlin/Native] Crash when enum values are accessed in multiple threadsKT-58130Implement preview of custom allocator for Kotlin/NativeKT-56402Native: if a Kotlin peer for an Obj-C object is created on the main thread, then Kotlin runtime should run objc_release for it on the main thread
Native. Stdlib
KT-57344Try to remove strange .equals overload on primitive typesKT-57592Native: Remove the default parameter value for AtomicLong constructor
Native. Testing
KT-57349Enable more K2 MPP codegen/box tests for Kotlin/NativeKT-57026K2: Fix Native test infrastructure for MPP
Reflection
KT-54833Reflection: Incorrect behaviour for Field.kotlinProperty function in companion objectsKT-56650ArrayStoreException from InlineClassAwareCaller.call with an array of inline classKT-56093Metaspace leak in a Gradle plugin built with Kotlin 1.8.0KT-55937Optimize implementation of kotlinFunction/kotlinProperty
Specification
KT-58932Specify the priority between candidates with type and value receivers when doing callable reference inferenceKT-54254Specify that an annotation type cannot have itself as a nested elementKT-53427Specify@SubclassOptInRequiredKT-53323Add Enum.entries to Kotlin specification, KEEP-283KT-54255Specify extension receivers are effectivelynoinlineKT-53646Incorporate rangeUntil (..<) operator into specification
Tools. CLI
KT-57495Add JVM target bytecode version 20KT-57154Incorrect version of JDK is provided through CoreJrtFsKT-56209Add CLI support for HMPP in K2KT-58351Confusing error message when using removed -Xjvm-default mode valueKT-57535K2: Kotlin command line compiler doesn't see class files on the class path in 2.0KT-57644K2: Prohibit passing HMPP module structure with CLI arguments to metadata compilerKT-56351Reduce memory usage spent on compiler settings
Tools. Commonizer
KT-57796NoSuchFileException in :module-B:commonizeCInterop with Kotlin 1.8.20KT-56207Investigate failing tests in ClassifierCommonizationFromSourcesTest
Tools. Compiler Plugins
Fixes
KT-57821K2: Compiler calls declaration generation plugins twice for classes in the common source setKT-57406FIR Compiler plugins: Assignment plugin incorrectly recognizes qualified names of annotationsKT-57626K2: SERIALIZER_NOT_FOUND for serializable class from another moduleKT-57400FIR Compiler Plugins:annotatedpredicate does not work with Java classesKT-57140K2: Implement backwards compatibility for FirFunctionTypeKindExtensionKT-56685K2: ArrayIndexOfBound during session creation if compiler plugins are enabledKT-55375Remove "legacy" mode of jvm-abi-gen pluginKT-53470FIR: passMemberGenerationContextto all methods of FirDeclarationGenerationExtensionKT-51092Lombok@Valuecauses IllegalAccessErrorKT-55885K2 plugin API: Backend-only declarations are not visible from other modulesKT-55584K2: Improve registration of session components from compiler pluginsKT-55843FIR Plugin API: metaAnnotated predicate returns meta-annotation itself as wellKT-53874Optimize checking for plugin applicability and redesign DeclarationPredicates
Tools. Compiler plugins. Serialization
Fixes
KT-58954Serialization: NPE at run time when accessing a delegating property of a deserialized objectKT-56537Serialization: Presence of (transient) delegated field in the serialized class breaks deserializationKT-58918Serialization: NPE at run time obtaining a serializer for a sealed class with a generic self-referencing propertyKT-59113Serialization: NPE at run time when accessing a delegating property of a deserialized objectKT-57647Serialization: "IllegalAccessError: Update to static final field" caused by serializable value classKT-57704K2/serialization: false-positive SERIALIZER_NOT_FOUND when compiling against 1.7.20 binary with enum classKT-57083K2/serialization: can't resolve serializers for classes from other modulesKT-56480K2: false-positive warning about incompatible serializer type when using type aliasesKT-56594K2/serialization reports SERIALIZER_NOT_FOUND over aliased String or primitive typesKT-56553Support 'serialization plugin intrinsics' feature in K2KT-56244kotlinx.serialization compiler intrinsic does not work with encodeToString function in 1.8.0
Tools. Daemon
KT-50846Remove "new" Kotlin daemon from codebase
Tools. Gradle
New Features
KT-56971Expose jvmTargetValidationMode property in KotlinCompile Gradle taskKT-57159Add project level compiler options for Kotlin/JVM plugin
Performance Improvements
KT-57052Gradle: Stop using exceptions for flow controlKT-57757Reduce classpath snapshotter memory consumptionKT-56052Implement an in-memory wrapper for PersistentHashMap to avoid applying changes to IC caches before successful compilation
Fixes
KT-55624Update KGP integration tests that use removed in Gradle 8 getClassifier methodKT-59589Gradle: 'java.lang.NoClassDefFoundError: com/gradle/scan/plugin/BuildScanExtension' on 1.9.0-RC when applying Enterprise Plugin from initscriptKT-59063Explicit API mode broken in Kotlin 1.9.0-BetaKT-57653Explicit API mode is not enabled when free compiler arguments are specified in Gradle projectKT-59256[1.9.0-Beta] ServiceLoader does not pick up classes defined in the same projectKT-58662Gradle 8.1 + Configuration Cache: custom values data is missing from build reportKT-58280org.jetbrains.kotlin.jvm Gradle plugin contributes build directories to the test compile classpathKT-59191Actual compilation failure exception might be hidden in the case of a Kotlin daemon crashKT-56211Improve Kotlin build reportsKT-57767Gradle: "ZipException: invalid entry size" with 1.8.20KT-57736K2: Introduce an easy way to try K2 compiler in Gradle user projectsKT-59056FreeCompilerArgs options added using 'subprojects' extension override module-level freeCompilerArgs optionsKT-55740Gradle 8: Listener registration using Gradle.addBuildListener() has been deprecatedKT-37652Support explicit mode for Android projectsKT-58251Build Statistics. Kotlin-specific tags are missing in build scans if projects use Gradle 8+KT-57224Add an indicator into build metrics report to show whether K1 or K2 compiler was used to compile the codeKT-58571ExplicitApi mode should not apply for test compilationsKT-42718Test and AndroidTest sources should be excluded from explicit API requirements for librariesKT-58916[1.9.0-Beta] PLUGIN_CLASSPATH_CONFIGURATION_NAME and NATIVE_COMPILER_PLUGIN_CLASSPATH_CONFIGURATION_NAME should stay public or offer an alternative APIKT-58869K2, Gradle: Improve message "100% (2/2) tasks have compiled with Kotlin 2"KT-52811Kotlin Serialization metadata issue due to incompatibility between Gradle Kotlin embedded version and Kotlin Gradle Plugin versionKT-57330Provide collection of usage statistics for the DokkaKT-57393jvm-target value set through 'android.kotlinOptions' is ignored and overwritten with the default 1.8 valueKT-58745KaptGenerateStubs task should also be configured with the same compiler plugin optionsKT-58682Explicit api mode does not apply in MPP projectsKT-52976Remove deprecated Gradle conventions usagesKT-58530Compiler plugin unbundling changes should be backward compatible with Kotlin pluginKT-36904Adding folders to sourceSets.resources.srcDir() in Gradle script does not workKT-58313An exception in console if no task is executed and file build reports are enabledKT-58619Move all pm20 interfaces into Gradle plugin codebaseKT-58320Kotlin daemon OOM help message is missing on OOM in Kotlin Daemon itselfKT-53923Add 'progressive' compiler argument to Gradle compiler optionsKT-53924Add 'optIn' compiler arguments to Gradle compiler optionsKT-53748Remove KotlinCompile setClasspath/getClasspath methodsKT-56454Bump minimal support AGP version to 4.2.2KT-57397Add infrastructure to use the build-tools-api to run compilation from GradleKT-56946Switch incremental Gradle tests for K2 to use language version 2.0KT-57782Disable daemon fallback strategy for Gradle integration tests by defaultKT-57142Split org.jetbrains.kotlin.gradle.tasks/Tasks.kt into several source filesKT-54447Remove usage of deprecated internal Gradle field in Kotlin Gradle Plugin, replace with equivalent in public APIKT-49785Avoid creating task output backups until really neededKT-56047False positive message about full recompilation is displayed while restoring from build cache and then making a syntax errorKT-56421Gradle: plugin should not use BasePluginExtension deprecated propertiesKT-55241Gradle: the VariantImplementationFactories build service state is not persistent making impossible to access factories with configuration cache lazilyKT-56357Gradle: "DefaultTaskCollection#configureEach(Action) on task set cannot be executed in the current context" because of VariantImplementationFactoriesKT-56352Make build scan reports more readableKT-55972Gradle: Add an assertion to all integration tests ifwarningModeis notFAIL, but the build doesn't produce any warnings
Tools. Gradle. Cocoapods
KT-38749Support reusing generated C-interop between dependant podsKT-54161Support adding extra code to generated Podfile from the Kotlin gradle pluginKT-56162Provide granular Gradle warnings suppression for CocoaPodsIT
Tools. Gradle. JS
New Features
KT-48791KJS: Support for Power(ppc64le) and Z(s390x)KT-32209org.jetbrains.kotlin.js does not respect Gradle's archivesBaseNameKT-52646KJS / Gradle: make "KotlinCompilationNpmResolver already closed" a warningKT-52647KJS / Gradle: Make "Projects must be configuring" a warningKT-56158KJS: Support implementation dependencies
Fixes
KT-59604Unresolved reference: useKarma in convention pluginKT-57604JS, Space: Circular dependency between tasksKT-59116K/JS npm dependcies are not resolved properly on Kotlin 1.9KT-54731KJS / Gradle: "There are multiple versions of "kotlin" used in nodejs build: 1.6.21, 1.7.20." with kotlin-dsl in buildSrcKT-58970browserTest gradle task fails if karma is used and gradle configuration cache is enabledKT-59004Kotlin JS 1.9.0-Beta, yarn.lock is unstable in multi module projectKT-56458KJS / Gradle: Unnecessary and confusing "There are multiple versions of "kotlin" used in nodejs build" generated fromYarnImportedPackagesVersionResolverKT-57985K/JS:packageJsonGradle configurations don't inherit unique attributes from JsTarget DSLKT-57817JS: executables for couple of JS targets builds in the same directoryKT-58199K/JS: Remove useCoverage methodKT-57116KJS / Gradle:commonWebpackConfignot applied if called afterbinaries.executable()KT-58522K/JS: Upgrade NPM dependency versionsKT-57629K/JS: Change default destination of JS production distributionKT-57480K/JS: Use IR compiler by default without explicit choosing of js compilerKT-58345K/JS: Webpack task skipped with ES modules because files have mjs extensionKT-58071KJS / Gradle:jsNodeTesttask is not incrementalKT-43809KJS: browserProductionExecutableDistributeResources tasks deletes distributions directoryKT-56690Kotlin2JsCompiler friendDependencies cannot be configured through friendPathsKT-57920K/JS: Make imported NPM package not considering dev dependenciesKT-56025KJS / Gradle: Gradle 8.0 jsBrowserProductionWebpack uses the output of another project's jsProductionExecutableCompileSyncKT-57630K/JS: webpack updating twice on one change of kt sourcesKT-47351KJS / IR::jsTestPackageJsonis unable to find nested included builds under composite buildKT-44754K/JS:browserRun --continuouskeeps rebuilding without any changesKT-49774KJS / Gradle: Errors during NPM dependencies resolution in parallel build lead to unfriendly error messages like "Projects must be closed"KT-57387Remove support of webpack 4KT-57386Kotlin/JS upgrade npm dependenciesKT-56705KJS / Gradle: Module name starting with '@' isn't properly set when FUS is disabledKT-46428KJS / IR: Composing build failed "Failed to create MD5 hash for package.json"KT-53687Don't trigger npm and yarn related tasks if it not relevant for assembleKT-49915KJS / Gradle: Gradle build cache miss because of absolute path inKotlinJsIrLink.filteredArgumentsMapKT-56192KJS: In browser testing no original sources in stacktraceKT-42395Kotlin/JS: Gradle DSL: PackageJson.customField() does not accept nullKT-43305Support Node.JS downloading for UbuntuKT-48631KJS: Unconditionally uses linux/x86 binariesKT-38015NodeJS installation does not extract symlinks correctly (npm and npx)
Tools. Gradle. Multiplatform
New Features
KT-34662Provide an option for Android targets to compile & runcommonTesttests as unit tests only, instrumented tests only, or bothKT-55881Add possibility to enable/disable sources publication similar to Java Gradle Plugin API
Fixes
KT-59446MPP: transformCommonMainDependenciesMetadata failing for api java dependency in shared jvm source set with Future was not completed yetKT-55751MPP / Gradle: Consumable configurations must have unique attributesKT-57688MPP:compileDebugKotlinAndroidtask fails with llegalArgumentException: 'moduleName' is null!KT-56210Pass module structure to CLI of K2 if K2 enabledKT-57531KotlinNativeLink: StackOverflowError when consuming library with dependency cycles (from constraints)KT-58281Kotlin Gradle Plugin: Enable Kotlin/Android SourceSetLayout v2 by defaultKT-57903Prepare for migration to the pluggable android target pluginKT-49933Support Gradle Configuration caching with HMPPKTIJ-25644KGP import: 'KotlinRunConfiguration' won't be able to infer correct runtime classpathKT-58661KGP: KotlinJvmTarget: Implement 'run' carrier taskKT-59055KotlinJvmRun not respecting jvmToolchain settingKT-57959Module-name value can't be changed for the android target of a multiplatform projectKT-55506TCS: Gradle Sync: kotlin-stdlib-common is not filtered from JVM + Android source setsKTIJ-25732Flaky: KotlinMultiplatformSmokeTests .testJvmAndNativeKTIJ-25039New import can add unresolved dependency as emptyKT-57652Don't expose sourcesElements for project2project dependenciesKT-58601Finalise "ExternalKotlinTargetApi" shape for initial 1.9 releaseKT-58710External Target Api: Add API to control SourceSetTreeKT-58488Add a diagnostic message to KGP in case of val androidTest by getting usageKT-57482cleanNativeDistributionCommonization is not compatible with configuration cache with gradle 8.0KT-58062Commonizer configuration cache not compatible with Gradle 8.1KT-58086Warn about using MPP libraries published in the legacy modeKTIJ-24254KotlinProjectArtifactDependencyResolver returning too earlyKT-56439TCS: Gradle Sync: IdeBinaryResolver: Add componentFilter API for compilations/configurationsKT-57023Cryptic Gradle task descriptions for compile tasksKT-58470Warning about using MPP libraries published in the legacy mode is not reported if the dependency is declared in an intermediate source setKT-58466K2 Gradle: non *.kt files are passed to -Xfragment-sourcesKT-58319kotlin.git: ProjectMetadataProviderImpl "Unexpected source set 'commonMain'"KT-51940HMPP resolves configurations during configurationKT-58261Link kotlin native binary framework tasks fails when configuration cache is enabledKT-41506UnknownDomainObjectException: "KotlinSourceSet with name not found" when creating custom compilations after applying withJava to an MPP JVM targetKT-58209Do not use the term 'Module' in KotlinTargetHierarchyKT-56153When the dependency is unresolved, import fails and don't import anything instead of degrading gracefullyKT-56571New import broke apiVersion for commonMain, commonTest and jvmAndAndroidMain modulesKTIJ-24552TCS: KotlinMppGradleProjectResolverExtension: Add 'afterProjectResolved' APIKTIJ-24368Multiplatform;Composite Builds: prepareKotlinIdeaImport not executed on included buildsKTIJ-24377Multiplatform;Composite Builds: Unresolved symbols from a root project of included buildKT-56712Multiplatform;Composite Builds: Classpath isolation: .MppDependencyProjectStructureMetadataExtractorFactory cannot be cast to class *MppDependencyProjectStructureMetadataExtractorFactoryKT-56461MPP: resolvableMetadataConfiguration: Ensure consistent resolution across all compile dependenciesKT-56841MPP: Module-to-module dependencies don't work inside included build in included buildKT-42748Project that transitively depends on composite build of multimodule multiplatform library cannot resolve dependencies properlyKT-52356MPP / Gradle: Missing common classes on KMM project integrated via Gradle included build into an Android applicationKT-51293Unresolved references with hierarchical project structure when building KotlinMetadata from native-common source setKTIJ-24771Multiplatform: Composite builds do not resolve in IDEA when rootProject.name != buildIdentifier.nameKT-56700V2 MPP Source Set layout warnings should include link to docsKT-55926TCS: Gradle Sync: Import Extras on KotlinSourceSet and KotlinTargetKTIJ-24364KotlinProjectArtifactDependencyResolver: Extend API to include information about 'requesting source set'KTIJ-24365KotlinMPPGradleProjectResolver: Create extension points for other plugins (Android)KT-55730MPP / Gradle: compileKotlinMetadata fails to resolve symbols in additional source sets
Tools. Gradle. Native
KT-58838KGP/Multiplatform: 1.9.0-Beta with custom cinterops: IllegalStateException: Could not create domain object 'jni' (DefaultCInteropSettings)KT-57823KotlinNativeCompileOptions.moduleName value is ignored and replaced with the default one if to set up using compilationsKT-57815KotlinNativeCompileOptions.moduleName isn't accessible if to configure using compilerOptions.configure {}KT-57944K2: K2, MPP, Native: K2 reports "Source does not belong to any module" for native sourcesKT-53108Expose Kotlin/Native compiler options as Gradle DSLKT-58063Kotlin/Native tasks configuration cache are not compatible with Gradle 8.1KT-38317Kotlin/Native: NSURLConnection HTTPS requests fail in iOS tests due to --standalone simctl flagKT-56280Gradle: freeCompilerArgs are no longer propagated from compilations to Native binaries
Tools. Incremental Compile
KT-58289IC fails to detect a change to class annotationsKT-58986New IC: ISE "The following LookupSymbols are not yet converted to ProgramSymbols: LookupSymbol(name=$$delegatedProperties, ...)"KT-56197If use classpathSnapshot, the invoke place of subclass's super function who has default parameters will not recompiled if it is incremental buildKT-56886K2: Changes to Java sources used in Kotlin project do not trigger a rebuild if a previous build was successful
Tools. JPS
KTIJ-25384JPS plugin: serialization plugin is not applied to modulesKT-56438Add minimal statistic report for JPS buildKT-58314kotlin-build-statistics is missing for kotlin-jps-pluginKT-55696JPS IC K2 - fix new failing tests with Java interopKT-57102SCE: DefaultErrorMessages$Extension: DefaultErrorMessagesWasm not a subtype after adding WASM error messages
Tools. Kapt
KT-54468KAPT Gradle plugin causes eager task creationKT-59521Kapt maven plugin require version of annotation processorKT-58301K2: Compile Kotlin task failure for the generated by Kapt sources : 'Source NameOfTheGenerated.kt does not belong to any moduleKT-57598K2: Support a fallback mode executing Kapt with K1 even when the compiler is run with languageVersion=2.0KT-58226KAPT: “org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtNameReferenceExpression” with enum with secondary constructor
Tools. Maven
KTIJ-25445Maven. JVM target is imported as 1.6 when no target specified in pom.xml
Tools. Parcelize
KT-59112K2: "IllegalStateException: Function has no body with@Parcelize" on nested sealed class hierarchies
Tools. Scripts
KT-58366The obsolete kotlin-script-util jar is still published and contains broken JSR-223 implementation
Tools. Wasm
KT-56585Change wasmBrowserRun Browser Executable to System DefaultKT-56159Running (karma) tests doesn't work in a project generated by wizard "Browser Application for Kotlin/Wasm"KT-57203Update Kotlin/Wasm to support Gradle 8