Update plugin org.jetbrains.kotlin.plugin.serialization to v2 - autoclosed #82
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/org.jetbrains.kotlin.plugin.serialization-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.9.24->2.0.0Release Notes
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.0.0Analysis. API
New Features
KT-65327Support reading klib contents in Analysis APIPerformance Improvements
KT-65560K2: Anaysis API: ContextCollector triggers redundant resolution in the case of file elementsKT-64987Analysis API: 50GB memory allocation on creating empty kotlinx.collections.immutable.persistentMapOfKT-61789K2: optimize getFirForNonKtFileElement for references inside super type referenceKT-59498K2: getOnAirGetTowerContextProvider took too much time due to on air resolveKT-61728Analysis API: optimize AllCandidatesResolver.getAllCandidatesFixes
KT-65561Analysis API: dummy.kt is not a physical fileKT-65616K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUSKT-65600Analysis Api: FirFile for KtCodeFragments are created and not updated on changesKT-64919K2 IDE: Implement KMP support for sealed class inheritorsKT-64241K2: Unresolved calls to functions in scripts depending on included projectsKT-65813Analysis API Standalone:FirDeclarationForCompiledElementSearcherdoes not find compiled elementsKT-66052AA: render expect/actual modifierKT-66795KtCodeFragment.clone() is brokenKT-66532K2 CodeGen AA: missing annotation setup for function in source module but not in a compile target fileKT-64833Analysis API: Members implemented by delegation have no overridden symbolsKT-62405Analysis API: SymbolsSUBSTITUTION_OVERRIDEhave no overridden symbolsKT-66749K2: "Collection contains no element matching the predicate" on an unresolved callKT-62832K2: ClassCastException: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatusKT-66719AbstractGetKlibSourceFileNameTest: The dependency to ":native:analysis-api-klib-reader" breaks JPS compilationKT-66603Analysis API: support type annotations in KtPsiTypeProviderMixIn#asPsiTypeKT-64505Analysis API Standalone: Remove test-specific calculation of sealed class inheritorsKT-66013Analysis API Standalone: Sealed inheritors aren't correctly calculated for source classesKT-62880K2 IDE: Unresolved java annotation methods in KDocKT-66530K2: Analysis API: KtPsiTypeProvider#asKtType crashes on PsiClassType for Java type parameter with wrong use siteKT-65571Support VirtualFile inputs to Analysis API modulesKT-66485Substituted types are not provided for callable referencesKT-66498Analysis API: 'KtFe10SymbolDeclarationOverridesProvider' considers a class to be a subclass of itselfKT-64579K2 IDE: "Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(Source) but FirArgumentListImpl found"KT-65978Analysis API: Use soft references inFileStructureCacheKT-64051K2 IDE: Analysis API: Unresolved links to typealias in KDocKT-66189K2 / IDE: KtFirExpressionTypeProvider bugsKT-61422K2 IDE: "No array element type for vararg value parameter: org.jetbrains.kotlin.fir.declarations.impl.FirValueParameterImpl"KT-66276K2: Analysis API:TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEMfalse positive for script parameterKT-66232K2: Analysis API: cover ScriptWithCustomDefDiagnosticsTestBaseGenerated by LL FIR testsKT-60996K2: Stub Based Deserializer: Set versionRequirements to enable VERSION_REQUIREMENT_DEPRECATION diagnosticsKT-66306K2: Analysis API: drop ability to enable global phase resolve lockKT-55750LL FIR: Implement multi-threaded resolveKT-65563Analysis API: Missing session componentFirExpectActualMatchingContextFactoryinLLFirLibrarySessionKT-66173K2: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter' in array owner: LLFirLibrarySessionKT-66238Gradle kotlin build scripts - a lot of unresolved symbols after latest changes in kotlin masterKT-65099K2: Recursive local storage cache check for Fir2IrDeclarationStorage::createAndCacheIrPropertySymbols()KT-65265Analysis API: Add library session invalidation testsKT-56288Analysis API: Add tests for session invalidation on the Analysis API sideKT-64000K2: make AnnotationArgumentsStateKeepers more accurateKT-63606K2: Analysis API: rewrite FirLazyAnnotationTransformer to avoid redundant transformationsKT-65191KtFirMultiplatformInfoProvider#getExpectForActual doesn't return expect function for slightly broken codeKT-62136Analysis API: Add concurrent tests forCleanableSoftValueCacheKT-61222K2: Add lifecycle management forKtResolveExtensionKT-65960Analysis API: Test infrastructure indexes binary libraries from decompiled files instead of stubs during IDE mode testsKT-65240K2: CodeGen API fails to resolve Annotation parameter type when it runs FIR2IR for a class with a parent class from other module if the parent class has an annotation from another moduleKT-65344K2: make FirScript statements (declarations) independentKT-65930AA: receiver type forInt?::foomisses nullabilityKT-65914AA: receiver type forthis::fooreturns return type of the target callableKT-62071Analysis API: KtFirScopeProvider.getScopeContextForPosition throws exception when ImplicitReceiverValue.implicitScope is nullKT-65780K2: polish FileStructure implementation for FirFileKT-62840K2 Script: everything around destructuring declaration on top level of scripts are brokenKT-64528K2 IDE: MPP: unregistered component 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'KT-64921K2 IDE: references in platform code resolve to expect classifier instead of actualKT-61296K2: do not resolve the entire file on lazyResolve call if FirFile is passedKT-65683Analysis API: Dangling file session creation causes acomputeIfAbsentcontract violationKT-64884K2 IDE. FP [NAMED_PARAMETER_NOT_FOUND] for copy method of library data class when class has not parameter-propertiesKT-65763K2: value parameter from library data class copy have RAW_FIR phaseKT-65665Analysis API: supportKtDelegatedSuperTypeEntryinKtFirExpressionInfoProvider.isUsedAsExpressionKT-62899K2 IDE. IDE ignores@Suppressannotation for errorsKT-65655Analysis API:KtCodeCompilationExceptionshould not strongly reference FIR sessionsKT-62302Support PsiType -> KtType conversionKT-64604K2: IDE K2: "Modules are inconsistent during performance tests"KT-65345K2: unify FirDesignation and LLFirResolveTargetKT-61757K2 IDE: resolution to buitlins does not work for from common moduleKT-65268K2: Checking the presence of the delegated constructor call forces AST loadingKT-63330Analysis API: Stub-based deserialized symbol providers provide unresolved enum entry annotation argumentsKT-65418Analysis API:LLFirAbstractSessionFactoryloads anchor module sessions eagerlyKT-64718Analysis API: do not expose SealedClassInheritorsProvider and FirRegularClass to IDE PluginKT-65075K2: getContainingDeclaration() is broken for declarations inside code fragmentsKT-61332SupportKtTypeCodeFragmentinPsiRawFirBuilderKT-65150AA: incorrect result fromKtTypeProvider#getReceiverTypeForDoubleColonExpressionfor Java static methodKT-56551LL FIR: implement parallel resolve for jumping phasesKT-65223Psi: avoid KtFile usagesKT-65307Analysis API FE10: support KtFe10AnalysisSessionProvider.getAnalysisSessionByUseSiteKtModuleKT-62695K2 IDE: Unresolved extension functions in KDocKT-65152Analysis API: KDoc references to packages are not fully resolvedKT-64988K2 IDE: Navigation from the named argument in safe call does not workKT-63195AA: incorrect results fromKtTypeProvider#getReceiverTypeForDoubleColonExpressionKT-64074K2: Investigate LL divergence for Script.testTopLevelPropertyInitializationKT-62441K2: IDE K2: "No dangling modifier found"KT-62895K2 IDE. FP'when' expression must be exhaustivewith sealed interface from libraryKT-64993Analysis API: KtExpressionTypeProvider.getExpectedType works incorrectly for arguments of safe callsKT-64883Allow direct creation of KtCommonFileKT-64646K2: properly forbid ast loading during raw fir phase in testsKT-64862Psi: missed parenthesis in type reference presentationKT-62893K2 IDE. FP 'when' expression must be exhaustive with Java sealed interface from libraryKT-63795K2:lazyResolveToPhase(BODY_RESOLVE)cannot be called from a transformer with a phase BODY_RESOLVE from SealedClassInheritorsProviderIdeImplKT-64805Analysis API: introduce common entry point for multi-file test casesKT-64714K2: Analysis API: CollectionsKt.map doesn't resolves from Java in kotlin repoKT-64647K2: Allow to calculate decompiled inheritors for sealed classes in testsKT-64595AA: stackoverflow while simplifying a type with a recursive type parameterKT-64825Analysis API. Cannot compute containing PSI for unknown source kind 'org.jetbrains.kotlin.KtFakeSourceElementKind$DefaultAccessor' exception on getContainingSymbol call for default setter parameterKT-64080K2: Analysis API: On-air resolve does not trigger resolution of delegated super call argumentsKT-64243K2: proper lazy resolution for fake overridesKT-62891K2 IDE. FP [EXPOSED_FUNCTION_RETURN_TYPE] on overriding library method which returns protected typeKT-62667K2: Cannot find enclosing declaration for KtNameReferenceExpression (on-air, imports)KT-61890Analysis API: Migrate KtFirScopeProvider to ContextCollector instead of onAirResolveKT-64197K2: Code fragments are only supported in JVMKT-62357K2 IDE. False positive on generated component methods and false negative on getter of@JvmRecordclasses in JavaKT-62892K2 IDE. Java outer class from other module is not resolved when nested class is accessed with fq name in a type positionKT-62888K2 IDE. IDE infers reference toKMutablePropertyas reference to justKPropertyKT-64584K2: StubBasedFirDeserializedSymbolProvider: support deserialization of delegated declarationsKT-60324K2 IDE: "NoSuchElementException: List is empty at JavaOverrideChecker#buildErasure"KT-62896K2 IDE. FP ABSTRACT_MEMBER_NOT_IMPLEMENTED on inheriting class from library which implements interface by delegationKT-62947Analysis API: Error while resolving FirPropertyImplKT-64468Analysis API: Implement mixed multi-module tests which support different kinds ofKtModulesKT-56541Symbol Light Classes: No@NotNullannotations are generated for accessors of lateinit properties of unresolved typesKT-63547K2 IDE. False Positive AMBIGUOUS_ANNOTATION_ARGUMENTKT-64205Analysis API: Do not import non-top-level callables by defaultKT-63056K2: Cannot mutate an immutable ImplicitReceiverValue on FirCodeFragment analysisKT-64108K2: KtFirSymbolDeclarationOverridesProvider shouldn't provide fake overridesKT-63752K2: java.lang.StackOverflowError FirFieldSymbol.getHasInitializerKT-63718Analysis API: Stub-based dependency symbol providers of library source sessions compute the wrong package name setsKT-64225K2: IDE K2: "FirLazyBlock should be calculated before accessing" in evaluate debuger completionKT-64186Analysis API: ContextCollector provides incorrect scopes for anonymous objectsKT-63979K2 IDE: presentation of types in completion is too verboseKT-63681K2: LL FIR: Improve isResolved check coverage of after lazy resolutionKT-62982K2: Cannot get a PSI element for 'Enum.values'KT-59732FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)cannot be called from a transformer with a phase IMPORTS from serialisation pluginKT-62676K2 IDE: Reference shortener does not recoginize redundant this referencesKT-63627K2 IDE: shorten reference shortens required qualifierKT-62675K2 IDE: Reference shortener does not recoginize redundant labelsKT-60957K2: Analysis API: Reference shortener does not work correctly with invoke function calls on propertiesKT-63771fe10: KtNamedClassOrObjectSymbol#isInline does not cover value classesKT-60327K2 IDE. "IllegalArgumentException: source must not be null" during delegation declarationKT-62421K2: IDE K2: "lazyResolveToPhase(BODY_RESOLVE)cannot be called from a transformer with a phase BODY_RESOLVE."KT-62587K2 IDE. FP unresolved reference on accessing nested class in annotation argumentKT-63700K2: "FirLazyExpression should be calculated before accessing" in the case of secondary constructorKT-61383K2: 'KtCompilerFacility' fails on code fragment compilation in library sources with duplicated dependenciesKT-62111K2 IDE. IllegalArgumentException on for loop with iterator declaration attemptKT-63538Analysis API: Removing a contract statement viaPsiElement.delete()does not trigger an out-of-block modificationKT-63694K1/K2 IDE. "RuntimeException: Broken stub format, most likely version of kotlin.FILE (kotlin.FILE) was not updated after serialization changes" exception on incorrect class nameKT-63660K2: expect-actual gutter icons must be shown when declarations are matched but incompatibleKT-63560Analysis API: Modifiable PSI tests cannot rely on the cached application environment to allow write accessKT-62980ImplementKtFirSimpleNameReference#getImportAliasKT-63130Analysis API: No receiver found for broken code during commit documentKT-62705K2: "lazyResolveToPhase(IMPORTS) cannot be called..." from light classesKT-60170K2 IDE: CCE from KtFirCallResolver on invalid code with wrong implicit invokeKT-61783K2: Analyze 'KtCodeFragment' in a separate sessionKT-62010K2: IDE K2: "ConeClassLikeTypeImpl is not resolved to symbol for on-error type"KT-62957Analysis API: NullPointerException on call resolution when builtins are not availableKT-61252K2: IDE K2: "By now the annotations argument mapping should have been resolved"KT-62935Analysis API:kotlin.Cloneableshould not be available in Kotlin/Native sourcesKT-62910Analysis API: create AbstractFirPsiNativeDiagnosticsTest for LL FIRKT-63096K2: Analysis API: KotlinAnnotationsResolver for IDE is created with incorrect scopeKT-62310K2 IDE. False positives errors with external annotationsKT-63282K2 Script: annotation arguments phase should resolve propagated annotationsKT-62397K2 IDE. FP Error in the editor onRequiresOptInannotation from the lib despite the warning levelKT-63223Analysis API: reference to declarations with kotlin* package are not resolvedKT-62626IllegalStateException: Cannot build symbol for class org.jetbrains.kotlin.psi.KtScriptInitializerKT-62693K2: IDE K2: "PSI should present for declaration built by Kotlin code"KT-62674K2: "Scope for type ConeClassLikeTypeImpl" is null from transitive dependenciesKT-61889Analysis API: Migrate KtFirReferenceShortener to ContextCollector instead of FirResolveContextCollectorKT-62772Analysis API: No 'org.jetbrains.kotlin.fir.java.FirSyntheticPropertiesStorage'(31) in array owner: LLFirSourcesSession when analysing builtins in a context of common codeKT-60319K2 IDE: "Stability for initialized variable always should be computable"KT-62859K2 IDE: "Evaluate expression" throws exception when calling "Any?.toString()"KT-63058K2 IDE: Code completion unexpectedly imports static/companion object methodKT-62588getExpectedType should not calculate type of the expressionKT-61990K2: Unexpected returnTypeRef for FirSyntheticPropertyKT-62625K2: 'FirLazyExpression should be calculated before accessing' for unresolved super typeKT-62691K2: optimize getFirForNonKtFileElement for references inside 'where'KT-62834K2: missing file node level in control flow builderKT-62768Analysis API: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'(44) in array owner: LLFirSourcesSession exception on analysing common codeKT-62874K2: FirLazyExpression should be calculated before accessingKT-62407Analysis API: resolve[this]in KDoc to extension receiverKT-61204K2: "FirLazyExpression should be calculated before accessing in ktor HttpBinApplication"KT-61901Analysis API: Declared member scopes for Java classes are missing static membersKT-61800Analysis API: Provide separate declared member scopes for non-static and static callablesKT-61255Analysis API: Get rid ofvalueOf,valuesandentriesfrom a declared member scopeKT-62466Expected type for functional expression should include inferred typesKT-61203IDE K2: "Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirRegularClassImpl(Source) but FirArgumentListImpl found"KT-61791Analysis API: Implement combinedgetPackagefor combined Kotlin symbol providersKT-62437K2 IDE. Resolution does not work inside lambda expression in constructor argument in supertypesKT-62244K2: Analysis API Standalone: Resolving klib dependencies from binary roots terminates applicationKT-62897K2 IDE. Unresolved declarations from libraries which are doubled inintellijproject librariesKT-61615K2: No 'org.jetbrains.kotlin.fir.analysis.js.checkers.FirJsModuleKind' in array owner: LLFirSourcesSessionKT-59334K2: LLFirImplicitTypesLazyResolver problemsKT-62038K2: Nested classes are missing in symbol light class structure tests for librariesKT-61788Analysis API: Symbol forFirAnonymousInitializercannot be nullKT-62139Analysis API: KtFe10AnalysisSession.createContextDependentCopy does not need validity checkKT-62090Analysis API: introduce an API to get a substitution formed by class inheritanceKT-62268K2 IDE. No autocompletion and IllegalStateException for PairKT-60325K2 IDE. "IllegalArgumentException: source must not be null" onthrowusage attemptKT-61431K2: KtPropertyAccessorSymbolPointer pointer already disposed for $$result script propertyKT-58490K2: LLFirTypeLazyResolver problemsKT-58494K2: LLFirAnnotationArgumentsLazyResolver problemsKT-58492K2: LLFirBodyLazyResolver problemsKT-58769K2: LL FIR: implement platform-dependent session factoriesKT-60343K2 IDE. IllegalArgumentException on passing incorrect type parameter to functionKT-61842K2: reduce number of "in-block modification" eventsKT-62012K2: "KtReadActionConfinementLifetimeToken is inaccessible: Called outside analyse method"KT-61371K2: Analysis API standalone: register compiler symbol provider for libraries in standalone modeKT-60611K2: reduce number of "in-block modification" eventsKT-61425Analysis API: Provide a way to get a declared member scope for an enum entry's initializing anonymous objectKT-61405Analysis API: An enum entry should not be aKtSymbolWithMembersKT-55504AA: remove dependency on :compiler:cli from standalone AAKT-60904K2: IDE K2: "For DESTRUCTURING_DECLARATION_ENTRY with text_, one of element types expected, but FirValueParameterSymbol found"KT-61260K2 Scripts: Containing function should be not null for KtParameterKT-61568FIR Analysis API:collectCallCandidatesgives presence to the top level functions in the presence of more suitable overridesKT-60610K2 IDE: move "out of block" processing logic into LL FIRKT-61597Analysis API: KotlinIllegalStateExceptionWithAttachments: expected as maximum oneexpectfor the actual on errorneous code with multiple expectsKT-59793K2: class org.jetbrains.kotlin.fir.declarations.impl.FirErrorImportImpl cannot be cast to class org.jetbrains.kotlin.fir.declarations.FirResolvedImportKT-61599K2: ContextCollector: Support smart cast collectionKT-61689Analysis API: ContextCollector provides incorrect context in scriptsKT-61683Analysis API: resolve ambiguities in kotlin projectKT-61245Analysis API: ContextCollector provides incorrect context for supertype constructor callsKT-60384K2: Opening@JvmNamesource in IDEA: NPE at PsiRawFirBuilder$Visitor.toFirConstructor()KT-60918K2 IDE: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtDestructuringDeclarationEntry, fir is null"KT-61013K2 Scripts: LLFirReturnTypeCalculatorWithJump: No designation of local declarationKT-59517K2 IDE: KotlinExceptionWithAttachments: Modules are inconsistentKT-61331K2: add cache restoring in case of existing contextKT-61408K2: IDE K2: "Inconsistency in the cache. Someone without context put a null value in the cache"Analysis. Light Classes
Performance Improvements
KT-63486SLC: a lot of RAM is allocated inorg.jetbrains.kotlin.asJava.LightClassUtil.isMangledFixes
KT-66692SLC:findAttributeValuefor attribute w/ default value in Java returnsnullKT-61734SLC: wildcard suppression not honoredKT-65112Symbol Light Classes don't support annotations on type parametersKT-65843K2: Light method returnskotlin.Unittype forTestResultreturn typeKT-65653SLC: wrong binary resolution to function with value classKT-65393SLC: missing deprecated-hidden propertyKT-64772SLC: presence of source PSI for compiler-generated declarationKT-65425K2 IDE: Seeing a reference to the class generated by compiler plugin exposed from Java code caused NPE from light classesKT-64937SLC: internal setters are not mangledKT-63949K2 IDE. Analyze hang on@Autowiredconstructor analysisKT-63087K2 IDE: in .java source reference to JvmName names on unsigned type / value class are unresolvedKT-64605K2 IDE: usage of@Repeatableannotation in Java: false positive "Duplicate annotation"KT-64795SLC: distinguish last v.s. non-lastvarargvalue parameter type during binary resolutionKT-61605K2 IDE: Light elements do not obey platform contractsKT-57536SLC: no need to populate members withexpectmodifierKT-64320Decouple kotlin psi from java PSIKT-64282Decouple KotlinIconProviderService from java PSIKT-63552Symbol Light Classes don't support arrayOf and similar without parameters in property initializers and default parameter valuesApple Ecosystem
KT-64096Diagnostic when embedAndSign used for framework with cocoapods-dependenciesKT-63821Copy framework to BUILT_PRODUCTS_DIR in the embedAndSign taskKT-67892KotlinNativeLink task instantiates with a fixed list of apiFilesKT-66446Diagnostic never showed, and build fails when CocoaPods dependency is used with embedAndSign task and linking type is dynamicKT-66445Diagnostic never showed when CocoaPods dependency is used with embedAndSign task and linking type is staticKT-62373"Xcode higher than tested" diagnosticKT-63212podInstall task fails without a proper diagnostic when xcodeproj gem is outdatedBackend. Native. Debug
KT-65553K2: Native: kt42208WithPassingLambdaToAnotherFunction test fails with K2KT-57365[Native] Incorrect debug info on inline function call siteBackend. Wasm
New Features
KT-65009Generate TypeScript definitions for the@JsExportdeclarations in K/WasmKT-58088[PL] Support & enable partial linkage for WasmKT-66327Include information about particular Wasm target into KLib manifestFixes
KT-66465WASM support doesn't appear to be able to see some common declarationsKT-66905K/Wasm: support new version of exception handling proposalKT-66515Wasm: "call param types must match" during the buildKT-67435K/Wasm: import.meta.url transforming into absolute local path in webpackKT-65777Implement named export for Kotlin/WasmKT-65660[WasmJs] Support catching JS exceptionsKT-65824Wasm: Allow unsigned primitives to be used inside functions annotated with@JsExportKT-66103Wasm: companion object is not initialized in test initializers1.ktKT-66471Null method reference with Kotlin/Wasm on 2.0.0-Beta4KT-65210K/Wasm::classoperator produces Number KClass for Short expressionKT-66065[Wasm] Make specialisations for closured primitive valuesKT-64890K/Wasm compiler crash with external class and KodeinKT-66104Wasm: compiler crash: NoSuchElementException: Sequence contains no element matching the predicateKT-65778Create the same TypeScript tests infrastructure for Kotlin/Wasm that we have now for Kotlin/JSKT-65411Kotlin/Wasm: Boolean boxed instances are not the sameKT-65713Kotlin/Wasm generates a wrapper that cannot run in DenoKT-63939Kotlin/Wasm Support lazy associated object initialisationKT-61888[Kotlin/wasm] in kotlin.test support for@AfterTestfor async testsKT-64803K/Wasm: non-capturing lambdas are not singleton unlike same lambdas in jvmKT-64449K2: Implement K1WasmWasiCodegenBoxTestGenerated for K2KT-64829K/Wasm: division remainder has a wrong signKT-58852WASM: two methods with different varargs: Class korlibs.template.dynamic.DynamicShape has 2 methods with the same signature [register(kotlin.Array)KT-61263K/Wasm: add a way to turn on k2 in wasm examples using ComposeKT-62863Execution failed for task ':kotlinx-serialization-properties:wasmJsD8Test' in serialization in the K2 QGKT-62657K/Wasm: switch to json repots for Kotlin Wasm BenchmarksKT-62147[Kotlin/Wasm] Nothing typed when expression cause a backend errorKT-61958Update SpiderMonkey and return its usage in box tests when they switch to the final opcodes for GC and FTR proposalsKT-60828K/Wasm: return br_on_cast_fail usagesKT-59084WASM: "RuntimeError: illegal cast" caused by inline class and JsAnyKT-60700[WASM] test FirWasmCodegenBoxTestGenerated.testSuspendUnitConversion failed after KT-60259Compiler
New Features
KT-24664No smartcast on stable property if receiver had non-null assertionKT-45375Generate all Kotlin lambdas via invokedynamic + LambdaMetafactory by defaultKT-23915Add smart cast to non-nullable type after elvis operatorKT-61077Support provideDelegate inference from var property typeKT-59688K2: consider removing smartcasts only from the only visibile property with specific name, not from all of themKT-7389Intersection type for type parameter with multiple upper bounds in star projectionKT-63477Consider supporting builder-style type inference from Unit coercion of last statements in lambdasKT-61907K2: builder inference works with assignments to member propertiesKT-61909K2: builder inference infers correct types from assignments to extension propertiesKT-59551K2: builder inference works with anonymous functions if builder parameter has a receiver with a postponed type variableKT-65443[K/N] Implement header cachesKT-4113Smart casts for properties to not-null functional types atinvokecallsKT-65681K2: Improve error message of UPPER_BOUND_VIOLATED when upper bound is a captured type or other non-denotable typeKT-32754Choose existing extensions over additional built-ins members from JDK except overridesKT-57800Support synthetic properties onsuperreceiverKT-64350K2: deprecate using typealias as a callable qualifier in importsKT-26565Choose existing extensions over additional built-ins members from JDKKT-65478JVM: Change inlined variable naming formatKT-64702Upper bound of type parameter is ignored when capturing of in-projection appears in out positionKT-60274K2: builder inference works through a delegated local variable inside builder argumentKT-65859Calls refinement extension pointKT-15220Reuse resolution results of common code for platform modules in multiplatform projectsKT-60476K2: False positive NO_VALUE_FOR_PARAMETER in platform code for value class with default parameter in common declarationKT-65153K/N: extract liveness analysis to a separate phaseKT-59098Support -Xjdk-release=1.6/1.7 with -jvm-target 1.8KT-63670Implement platform specific declaration clash diagnostics across all backendsKT-62547Introduce a language feature flag for smartcasts based on "memory" variablesKT-60820K1: Empty vararg value is inserted in serialized annotation call with expect default vararg valueKT-58172Forbidexpect class A actual constructorKT-54443Smart cast to non-null after safe-call in requireKT-25747DFA variables: propagate smart cast results from local variablesKT-22997Smart-cast should merge is-check for non-nullable type and a null check to a nullable typeKT-22996Smart casts should observe nullability after is-check with a nullable subject typeKT-22004Allow to resolve CONFLICTING_OVERLOADS with Deprecated(HIDDEN)KT-61955Support more wider actual member visibility, if the expect member is effectively finalKT-59504K2 compiler does not require resolved 'componentX' functions for the placeholder ('_') variables in the destructuring declarationsKT-62239Allow enum entries without parentheses uniformlyKT-11712Smart cast is not applied for invisible setterPerformance Improvements
KT-47545NI: Slow type inference involving large when-expression (ConstraintInjector.processConstraints)KT-62714Do not add nullability annotations to the methods of inner classes in enum entriesKT-62903UnoptimziedwhencompilationKT-67388FP intellij: performance degradation in build 611KT-67507K2: Slow compilation times when a class has a lot of possibly conflicting declarationsKT-65005K2: Investigate testCommonSuperTypeContravariant performanceKT-65996Compiler enters endless loopKT-66341K2: Don't build IdSignatures in FIR2IR with IR f/o builderKT-66172K2: Improve memory consumption ofKtPsiSourceElementKT-50860Combination of array set convention and plusAssign works exponentiallyKT-62798'in' range checks are not intrinsified in kotlin-stdlibKT-65579K2: performance regression in FP SpaceKT-61635K2:getConstructorKeywordcall inPsiRawFirBuilder.toFirConstructorforces AST loadKT-62619FIR: Checker performance regression due to MISSING_DEPENDENCY checkersKT-62044Do not add nullability annotations to the methods of anonymous classKT-62706Optimize KtSourceElement.findChild()KT-62513Do not add nullability annotations to the methods of local classesKT-61991K2: avoid redundant full body resolution for properties during implicit type phaseKT-61604[K/N] Bitcode dependency linking is slow for large compilationsKT-61121[K/N] Kotlin Native compiler performance is slow when generating large frameworksKT-57616K2: Consider optimizing reversed versions of persistent lists in FirTowerDataContextFixes
KT-67486K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter namesKT-64615Inconsistent error messages for platform type nullability assertionsKT-65062K2: build kotlinx.collections.immutable and pass to CIKT-68164Smart cast fails for KT-49404KT-56545Fix incorrect functions mangling in JVM backend in case of accidental clashing overload in a Java subclassKT-49404Fix type unsoundness for contravariant captured type based on Java classKT-64598K2: build Arrow with k2 user projectKT-61039False positive ABSTRACT_MEMBER_NOT_IMPLEMENTED in K1 when expect actual super types scopes don't matchKT-56408Inconsistent rules of CFA in class initialization block between K1 and K2KT-63580"AssertionError: access of const val: GET_FIELD" caused by const value and variable with delegationKT-67993K2: PCLA Inference throws exception with local objectsKT-61768Wrong bytecode index in LineNumberTable when there is an incremental operationKT-63567"NoSuchMethodError" on getting value of lazily initialized property by companion's const valueKT-56078K2: build kotlinx.coroutinesKT-67609K2: False negative INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_ERRORKT-57750Report ambiguity error when resolving types and having the same-named classes star importedKT-65603K2: No approximation is done on public, but effectively private propertyKT-59932K2: Disappeared AMBIGUOUS_ANONYMOUS_TYPE_INFERREDKT-59906K2: Disappeared CAPTURED_VAL_INITIALIZATIONKT-53886NoSuchMethodError exception in Kotlin/Native compilerKT-57678K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closuresKT-57871K1/K2 inconsistency on if-conditional without else-branch in parenthesisKT-56384K2: build IntelliJ monorepo master branchKT-49191Leaked integer literals from lambda with flexible return typeKT-65812K2: "OutOfMemoryError: Java heap space" in kotlin.utils.SmartList.addKT-67224K2/Native: Member overrides different '@Throws' filter from separate moduleKT-65623K2: Unresolved reference in connection with castsKT-64136K2: NSME with Anvil compiler pluginKT-51241Provide a error when override method has different set of context receiversKT-52920Confusing "Multiple arguments applicable for context receiver" error messageKT-67912K2: Cannot inference type properly from inline function with Type parameterKT-68056Prohibit referencing java field in case of conflict with property from companion object of the derived classKT-61129K2: Implement error suppression warningKT-67367K2: Incorrect resolution to top-level function with less specific signature in presence of SAM constructor on the same tower levelKT-50179Fix DUPLICATE_LABEL_IN_WHEN warning with new rules of complex boolean constantsKT-45334Prohibit referencing constructors of sealed classes by its inner membersKT-59943K2: Disappeared OPERATOR_MODIFIER_REQUIREDKT-67875K2: Resolution ambiguity between Iterable and varargsKT-67699Not enough information to infer type argument for 'Error' using Arrow's Raise context receiver since Kotlin 2.0.0-Beta3KT-66527K2: type mismatch on override for typeKT-59897K2: Disappeared PACKAGE_OR_CLASSIFIER_REDECLARATIONKT-50020K2: False-negative USAGE_IS_NOT_INLINEABLE when lambda in receiver positionKT-44557Implement main function detection to FIRKT-67810K2: public-API inline function cannot access non-public-API annotation enumKT-66447Implement KT-59138 under a language featureKT-54862Anonymous type can be exposed from private inline function from type argumentKT-37592Property invoke of a functional type with receiver is preferred over extension function invokeKT-51194False negative CONFLICTING_INHERITED_MEMBERS when dependency class contained in two different versions of the same dependencyKT-67221K2: "new inference error [NewConstraintError at Incorporate TypeVariable" for captured typeKT-66701K2: Java interface method override via Kotlin class rejectedKT-60604K2: introduced NON_PUBLIC_CALL_FROM_PUBLIC_INLINE,@PublishedApineeded for constants in annotationsKT-64309Generate a variable mapping for continuation parameter in suspend methods just from the startKT-65438K2: Introduce WEAKLY_HIDDEN concept to built-in-JDK content mappingKT-65235JDK 21 might lead to change in overloads resolutionKT-66768K1: False positive UNRESOLVED_REFERENCE in super.getFirst/getLast callKT-67106Platforms libs-dependant autotests for ObjC checkersKT-65440K2: Mark all potential implementations of List.getFirst()/getLast() as deprecated independently of JDKKT-65594K2: Type inference fails on NullMarked object with star typeKT-62849Unoptimised bytecode for Java synthetic property referencesKT-60174JVM IR inline: accidental reification in various casesKT-57609K2: Stop relying on the presence of@UnsafeVarianceusing for contravariant parametersKT-54316Out-of-call reference to companion object's member has invalid signatureKT-66976Some value class diagnostics are missedKT-57426Incorrect error message on inapplicable smartcast from alien propertyKT-55111OptIn: forbid constructor calls with default arguments under markerKT-49856Incorrect smartcast on var assigned in try-catch blockKT-41237ReturnsImplies contract for receiver of member function does not work (no smartcast)KT-37878No Smart cast for class literal reference of nullable generic typeKT-35846Smart cast with unchecked cast leads to unresolved call that was resolved before (both old and new inference)KT-30867Unsound smartcast if smartcast source and break is placed in for-in header as function argumentsKT-30267Inconsistent smart casts in while (true)KT-33917Prohibit to expose anonymous types from private inline functionsKT-28889Smart cast does not work with booleanandinfix functionKT-54790False positive NO_ELSE_IN_WHEN when all interfaces are sealedKT-54920K2:whenwith a single branch stops being exhaustive the second time it's doneKT-53364False positive UNUSED_VARIABLE warning for variable that is used across multiple blocksKT-43234False positive INVALID_IF_AS_EXPRESSION caused byifwithoutelseinsideelseinside synchronized()KT-38490False negative INVALID_IF_AS_EXPRESSION with unreachable code and coercion to UnitKT-35510No INVALID_IF_AS_EXPRESSION ("'if' must have both main and 'else' branches if used as an expression") diagnostic for if-expression with only one branch and Nothing type conditionKT-34016Contracts - variable cannot be initialized before declarationKT-33829False positive SENSELESS_COMPARISON with assignment in catch blockKT-30717False positive UNUSED_VARIABLE with local var used in inline lambda block with loop, return and other lambdaKT-28232RETURN_NOT_ALLOWED in inline lambda argument of '[... ]' operator conventionKT-26116No error when class member val is referenced in inline function before it is assigned later onKT-25311Calls on error type values lead to false-positive unreachable codeKT-24372Misleading warning on unused setter parameter in some casesKT-23680False positive UNREACHABLE_CODE onthrowwith areturninsidefinallyclauseKT-23502When exhaustiveness is not checked for unreachable code, resulting in JVM back-end errorKT-22621"throw throw Exception()": False negative UNREACHABLE_CODE warningKT-22317No INITIALIZATION_BEFORE_DECLARATION without primary constructorKT-67307K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAllKT-67185K2: Incorrect coercion-to-Unit leading to CCE at runtimeKT-64891K2: consider supporting/forbidding foo.(bar)() syntaxKT-59480K2: build moko-resourcesKT-65771K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifierKT-67502K2: "property must be initialized or be abstract" with try-finally in secondary constructorKT-67456K2: "property must be initialized or be abstract" depending on constructor declaration orderKT-63524K2: "Not enough information to infer type argument"KT-67628K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameterKT-67625K2: Array aliases can't be used as vararg valuesKT-67624K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operatorKT-61787K2 doesn't report warnings for some Gradle tasksKT-62550K2: Different JVM signature of lambda withUnitreturn typeKT-65120K2 Consider turn into platform checkers ones which checks for objCKT-60271K2: origins are not set on compare operatorsKT-28695Compiler does not detect uninitialized property in lambdaKT-67593K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERSKT-67484K2: FIR2IR generates incorrect access to f/o of lateinit internal varKT-47382JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension propertyKT-67581K2: Compiler fails on actualizing abstract class with sealed Java class via type aliasKT-22379Condition of while-loop with break can produce unsound smartcastKT-67021K2: Cannot find cached type parameter by FIR symbol: E of the owner: FirRegularClassSymbol FunctionKT-67014K1/K2 handle when expression as annotation target differentlyKT-67254K1/K2 both allow annotations on loops, assignments, array setsKT-66960K2. KMP. False negative'when' expression must be exhaustivewithout sealed class inheritor from common source-setKT-65578K2: implement a deprecation warning for KT-57014 (wrong nullability returned from JDK SAM constructor lambda)KT-63466@NonNullon a type-variable usage doesn't take precedence over a wildcard type argumentKT-56134K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbolKT-66196Convert INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_ERROR to warningKT-66793K2: "assigning single elements to varargs in named form is prohibited." caused by varargs supplied from java with elvis operatorKT-59872K2: Disappeared TYPE_MISMATCHKT-67192K2: Disappeared TYPE_MISMATCH [3]KT-63319K1/K2: inconsistent behavior around NullMarked and type parameter based typesKT-59882K2: Disappeared CANNOT_INFER_PARAMETER_TYPEKT-67191K2: Disappeared TYPE_MISMATCH [4]KT-53752Missed subtyping check for an intersection typeKT-52628Deprecate SAM constructor usages which require OptIn without annotationKT-54066Deprecate upper bound violation in typealias constructorsKT-64860K2: Consider using different ConstraintPosition when fixing variables for PCLAKT-67189K2: Disappeared TYPE_MISMATCH [5]KT-67551K2: No wrong annotation target error forforstatementKT-67374K2: Object is not smartcasted to type parameter typeKT-67264K2: "argument type mismatch" with suspend lambda and java wildcardKT-63257K2: FIR2IR inserts incorrect implicit cast for smartcasted variableKT-66902K2: "Named arguments are prohibited for non-Kotlin functions" with Java interopKT-67311K2: "Argument type mismatch" caused by lambda type when using named argumentsKT-57011Make real type of a destructuring variable consistent with explicit type when specifiedKT-62043K2: Fix FirCompileKotlinAgainstCustomBinariesTest.testRawTypesKT-66256K2: compiler FIR2IR crash on SAM-conversion to value parameter of in-projected typeKT-67124"Unstable inference behaviour with multiple generic lambdas" compilation errorKT-59791K2: Implement partially constrained lambda analysisKT-66743Lambda receivers and anonymous function parameters of inaccessible types are allowedKT-67315K2: Some default imports are not excludedKT-56126Avoid using descriptors at JvmPlatformAnalyzerServices::computePlatformSpecificDefaultImportsKT-66513K2: Suppressing OPT_IN_USAGE_ERROR is now a warning in K2, preventing safe code gen compatible with -WerrorKT-67233False negative UNSAFE_CALL with type check after null coalescing with 'OR'KT-52802Report ambiguity resolving between property/field and enum entryKT-64920Json.encodeToString yields different results depending on whether typealias is usedKT-58260Make invoke convention work consistently with expected desugaringKT-67314PCLA works inconsistently with smart-cast related CS forksKT-66797K2 JS: Primary constructor property annotation with target VALUE_PARAMETER is put on property instead of parameterKT-55179False negative PRIVATE_CLASS_MEMBER_FROM_INLINE on calling private class companion object member from internal inline functionKT-54663Projected types don't take into account in-place not null typesKT-58191K2: capturing closures successors that are already resolved (thanks to backward edges) must be taken into account for allowing smart castsKT-67144K2: potential NPE when assigning to unstable varsKT-66971K2: missing SMARTCAST_IMPOSSIBLE on open val declared in another moduleKT-66904K2: possible NPE when reassigning captured variablesKT-57031operator assignment, increment/decrement should be considered as variable reassigning in terms of DFA. green in K1 -> red in K2 for unsound codeKT-67212K2: "Failed to find functional supertype for class org.jetbrains.kotlin.fir.types.ConeCapturedType"KT-67283K2: No SAM conversion for fun interface with abstract toStringKT-67318Compiler fails with OutOfMemoryError on combination of PCLA+smart castKT-66956K2: false negative CONST_VAL_WITH_NON_CONST_INITIALIZER for inc/dec operatorsKT-64233K2: K1/K2: ensure JVM ABI consistency for quality gates projectsKT-63535K2: Apply DFA implications for nullable Nothing to both sidesKT-63413K2 / kotlinx-atomicfu: "IllegalStateException: Expected some types"KT-62931K2: extra class files for@OptionalExpectationmarked annotationsKT-34307Confusing error message on lambda return type mismatchKT-62151K2. overload resolution ambiguity for calls of Java record compact constructorsKT-60732K2 Scripting: TeamCity DSL testKT-59467K2: build toolbox-enterpriseKT-67205K2: can't deserialize annotation with local class as argumentKT-52175K2: WRONG_ANNOTATION_TARGET for annotation that used inside ifKT-65449K2: build KAPT user project and pass it to CIKT-61384IrFakeOverrideBuilder incorrectly checks visibility for friend modulesKT-67142K2: IrFakeOverrideBuilder: AbstractMethodError on raw type argument in a Java superclassKT-65105K2 / Native: Member overrides different '@Throws' filterKT-62570IncompatibleClassChangeError due to overriding final methodKT-57812K2: support serialization of type annotation's argumentsKT-67190K2: Disappeared TYPE_MISMATCH [2]KT-56683K2: No control flow analysis for top-level propertiesKT-67188K2: Disappeared TYPE_MISMATCH [6]KT-62063K2: drop pre-release flag in 2.0-RCKT-67187K2: Disappeared TYPE_MISMATCH [1]KT-66909K2: Implement a diagnostic for returning null from a lambda with expected return type Unit!KT-66534False positive ASSIGNMENT_TYPE_MISMATCH in lambdas with expected return type Unit!KT-63381IrFakeOverrideBuilder: PublishedApi affects overridability of internal membersKT-63836K2: No deprecation error message in common metadata compilationKT-57618K2: complex deprecation messages are not printed in the errorKT-59856K2: Check ConeDiagnostics that are not mapped to KtDiagnosticsKT-57502K2: Smart casts should be forbidden if variable that remembers the smart cast is declared by delegationKT-63967K2: Missing getterSignature in metadata for script variablesKT-59372K2: Missing SELF_CALL_IN_NESTED_OBJECT_CONSTRUCTOR_ERRORKT-60526K2: Fix the TODO inconvertToIr.ktKT-67090K2: Exception from metadata compilation when compiling class with annotations from dependenciesKT-59479K2: build KorGEKT-64502K2: Internal error on calling function before declarationKT-62560K2: KAPT4: annotation@ReplaceWithis missing a default value for the element 'imports'KT-67027K2: Review all use-sites of annotation arguments utilitiesKT-65012IR Evaluator:NoSuchFieldExceptionwhen evaluating protected/private fields of superclassesKT-66953K2: toByte() call on Char leads to ClassCastException for klib backendsKT-60096K2: Introduced API_NOT_AVAILABLEKT-59484K2: build trustwallet sampleKT-64151K2: consider implementing FIR-level constant evaluationKT-65787K2: "KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType" caused by passing lambda expression with multiple labels to functionKT-53629K2: forbid multiple labels per statementKT-65255K2 / KJS: "IllegalArgumentException: Candidate is not successful, but system has no contradiction"KT-65195K2: Unexpected exception when executing dynamic array element inc/decKT-63416K2 / Contracts: False positive "Leaked in-place lambda" warning caused by suspend lambda with callsInPlace contractKT-66717Incorrect diagnostics around intersection property overridesKT-63540Restrict the CONFLICTING_OVERLOADS + DeprecatedLevel.HIDDEN ignore to final callablesKT-56587There are no warnings in some cases when Enum.entries is shadowedKT-65111K2: Java star imports don't work in KJK interdependenciesKT-63709K2: Argument smartcasting impacting receiver and call resolution for implicit invokeKT-63530K2: Disable passing data flow info from in-place lambdasKT-65377K2: "Argument type mismatch" caused by approximated captured type argument of generic typeKT-59400K2: Missing CANNOT_INFER_VISIBILITYKT-62305K2: Missing Fir metadata serialization support for scriptsKT-64534K2: org.jetbrains.kotlin.util.FileAnalysisException: Somewhere in fileKT-57555[LC] Forbid deferred initialization of open properties with backing fieldKT-65776[LC] K2 breaksfalse && ...andfalse || ...KT-64641K2: Change in inference of supertype of function types with receiverKT-65649K2: IR has incorrect origins for some inplace updating operatorsKT-64295Forbid recursive resolve in case of potential ambiguity on upper tower levelKT-62866K2: Change qualifier resolution behavior when companion object is preferred against static scopeKT-55446Change impact of private-to-this visibility to resolutionKT-64255Forbid accessing internal setter from a derived class in another moduleKT-64966Forbid generic delegating constructor calls with wrong type for generic parameterKT-63389K2:WRONG_ANNOTATION_TARGETis reported on incompatible annotations of a type wrapped into()?KT-66748K2: False-positive AMBIGUOUS_SUPER in toStringKT-67013K2: ClassCastException: class FirConstructorSymbol cannot be cast to class FirNamedFunctionSymbolKT-64872K2: do-while condition able to access uninitialized variableKT-66350K2: "IllegalStateException: Unsupported compile-time value STRING_CONCATENATION" when evaluating an annotation argument stringKT-61798K2 incorrectly calculates modality of property accessorsKT-65035IrFakeOverrideBuilder: AbstractMethodError on inheritance from Java subclass of CharSequence with inherited implementationsKT-61579K2: Inconsistent reportingUNINITIALIZED_VARIABLEfor top-level propertiesKT-66730K2: False positive RETURN_TYPE_MISMATCH in return statement in SAM constructorKT-66570Generic wildcard upper bound inference errorKT-65272K2: invoke operator applies "restricted suspending call" error differently than K1KT-66148K2. Sources of receivers updated twice because of PCLAKT-62525K2: IllegalStateException: Can't find KotlinType in IrErrorType: IrErrorType(null)KT-64266K2: don't report MISSING_DEPENDENCY_CLASS on lambda parameter for non-generic typesKT-65300K2: this-expressions in initializers and local declarations don't introduce type information to either BI or PCLAKT-66463K2: false positive ACCIDENTAL_OVERRIDE_CLASH_BY_JVM_SIGNATUREKT-62356Prohibit using property+invoke for iteratorKT-63631K2: constant value UByte.MAX_VALUE is incorrectly deserialized from metadataKT-65386K2: Different signature of invoke for Unit lambdaKT-60574K2: generated IR forsuspendCoroutineUninterceptedOrReturnis different from K1 (K2 uses Any? instead of Unit)KT-66512K2: Incorrect diagnostic in lambda whose expected type is a type alias to UnitKT-66279K2: False positive INITIALIZER_TYPE_MISMATCH withreturn Unitin a lambda with the expected type() -> UnitKT-66277K2: False negative RETURN_TYPE_MISMATCH with empty return in lambda assigned to a propertyKT-66654K2 FIR resolution: Mismatch between actual type and expected type for a value parameter when the parameter type is a function type with special function kindKT-66638Cannot access properties of a generic type with wildcardsKT-66690K2: don't report MISSING_DEPENDENCY_CLASS on expression without errors for generic type argumentsKT-66767K2: Destructuring declaration inside initializer failureKT-63695JVM: Don't use plugin extensions when compiling code fragmentKT-65727K2: add proper package for properties generated from destructuring declarationsKT-64854K2: Trying to access private field on runtime with contractsKT-65388IrFakeOverrideBuilder - custom annotation is available in fake getter/setterKT-66595K2: compiler FIR checking crash on destructuring declarations calling hidden componentN declarationsKT-62129K2: Verification error on calling an extension from an env with 2+ context receiversKT-41607NI: UNSAFE_CALL caused by try catch block assigning to a nullable variableKT-63932K2/Native codegen test failures around builder inferenceKT-66352K2: difference between LL FIR and FIR for componentN functionsKT-66686K2 Script: Unresolved reference of script-specific entities on out-of-order resolveKT-65523K2: add proper package for result$$ propertyKT-66699Restore HostManager ABIKT-60533Inliner incorrectly captures non-null value as null in coroutinesKT-57925K2: Consider removing FirEmptyContractDescriptionKT-61893K2: should not resolve to Java function with Kotlin hidden-level deprecationKT-59669K2: Explore assignments in in-place lambdasKT-66271Fir: Deserialize classFile, functionFile and propertyFile from KlibMetadataProtoBufKT-57957K2: Symbol providers are frequently queried with error-named class IDsKT-66046K2: false negative CANNOT_WEAKEN_ACCESS_PRIVILEGE on propertyKT-66677K2: OVERRIDE_DEPRECATION isn't reported for WEAKLY_HIDDEN method toArray()KT-62793K2: slightly different bytecode of suspend conversionsKT-57244K2: slightly different naming scheme for suspend conversion adaptersKT-60256K2: types are not substituted in suspend conversionKT-66673K2/JS: FirJsInheritanceClassChecker doesn't expand type aliases to supertypesKT-66475K2/KMP/Wasm: report WRONG_JS_INTEROP_TYPE from a platform checkerKT-66474K2/KMP/JS: report EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE from a platform checkerKT-66473K2/Wasm: FirWasmExternalInheritanceChecker doesn't expand type aliasesKT-64407Implement WriteSignatureTestGenerated for K2KT-64438K2: Port CodegenTestCase to K2KT-64404Implement WriteFlagsTestGenerated for K2KT-66491K2 / KJS: "Name contains illegal characters." caused by backticks in importKT-66275K2: false-positive "Java module does not depend on module" error on access to inherited member from twice-transitive dependency via class from transitive dependencyKT-65801IrFakeOverrideBuilder - visibility is lost for setter in KJK hierarchyKT-65576K2: Incorrect resolution of variable+invoke when the property type is not computedKT-58575Private Kotlin property prevents use of Java get- and set-methods from Java-Kotlin-Java hierarchyKT-61282K2: Incorrect overridden function forjava.nio.CharBuffer.getKT-65464K2: False positive UNRESOLVED_REFERENCE on extension property call defined in KJK hierarchyKT-59470K2: build KaMPKitKT-60510Smartcast to functional type does not work in when exprssionKT-59677K2: Report diagnostics about missing receiver for delegated constructor call to inner classKT-65183K2: Remove workaround for@OnlyInputTypesand captured types with recursive supertypes from inferenceKT-66120IrFakeOverrideBuilder: wrong return type in intersection with 3 classesKT-65939IrFakeOverrideBuilder - nullability annotation is lost in intersection without annotationKT-59473K2: build firebase-kotlin-sdkKT-66356K2: type mismatch error when generic type with inaccessible generic type as type argument is produced and consumed by declarations from dependenciesKT-65193K2: "JAVA_TYPE_MISMATCH" caused by MutableListKT-66636NoSuchMethodError: 'void org.jetbrains.kotlin.ir.expressions.impl.IrCompositeImpl. in the FLysto K2 QGKT-63941K2: "IllegalStateException: Unsupported compile-time value STRING_CONCATENATION" caused by class reference in string expression as annotation parameterKT-65704K2:computeCommonSuperTypeof flexible type with recursive captured type argument produces giant multi-level-deep typeKT-65410K2: ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED for 'removeAt' in KJK hierarchyKT-65184K2: disappeared TYPE_MISMATCH for java collectionsKT-66392K2: Exception in KJK hierarchy with implicit typesKT-66551Revert temporary commits after KT-62063 and bootstrappingKT-65218FIR LL and DiagnosticFE10 tests start to fail in case of adding any new declaration into stdlib commonMainKT-66552K2: build of intellij crashes the compilerKT-63746K2: JSpecify: If a class has a@Nullabletype-parameter bound, Kotlin should still treat unbounded wildcards like platform typesKT-66504K2: plusAssign operator call is resolved differently than function callKT-48515JSpecify: If a class has a@Nullabletype-parameter bound, Kotlin should still treat unbounded wildcards like platform typesKT-57588K2/Native: False positive '"CONFLICTING_OVERLOADS", "PARAMETER_NAME_CHANGED_ON_OVERRIDE" on overriding objc methodsKT-58892K2: Parcelize doesn't work in common code when expect annotation is actualized with typealias to@ParcelizeKT-65882K2: "KotlinNothingValueException" caused by unsafe cast and Nothing::classKT-66124K2: Remove FirLambdaArgumentExpression and FirNamedArgumentExpression after resolutionKT-65959K2: Incorrect warnings about inline function impactKT-64994K2:@Composablelambda type is not resolved from other modulesKT-66048K2: property becomes nullable in KJK hierarchy if base declaration has implicit return typeKT-47843No error reported on assigning "continue" to a companion objectKT-47530NI: Unexpected TYPE_MISMATCH when combining nested conditional and contravariant type argumentKT-49583NI: NullPointerException on compiling anonymous function returning a method referenceKT-42782NI: Smart casting for generic type doesn't work if the variable is already smart castKT-38031FIR: Discrepancy in call resolution for qualifiers with old FEKT-65789K1/K2: Resolve change in constructor/top-level function ambiguityKT-66150K2: expects type argument in super qualifierKT-60971Incorrect "cannot inline bytecode built with JVM target ..." on property setter if only getter is inlineKT-61514K2: Build fake overrides using IR during Fir2IRKT-65584K2: "Duplicate parameter name in a function type"KT-50008JSpecify@Nullableannotation on type-parameter bound prevents type-variable usages from being platform typesKT-37000IndexOutOfBoundsException from TypeResolver on typealias with cyclic referencesKT-56988CFG, smart casts: red in K1 -> green in K2 for invalid codeKT-62118FIR: "HashMap.entry" has invalid enhanced typeKT-64840K2: Bare type are not allowed for TV based values during PCLAKT-65415K2: Stdlib K2 build error: IrConstructorSymbolImpl is already boundKT-66449Make DiagnosticSuppressor a project-level extensionKT-66411FIR: Real source on fake block around assignment expression in the "when" branch affects resolve in K2 Analysis API and IDEKT-65249K2: False positive modality is different for native compilationKT-65982K2 Scripts cannot disambiguate declarations imported from default and explicit importsKT-65677K2: Unable to resolve parent class from companion objectKT-47310Change qualifier resolution behavior when companion property is preferred against enum entryKT-41034K2: Change evaluation semantics for combination of safe calls and convention operatorsKT-63529K2: Compiler does not detect tailrec call with nullable typeKT-66441Remove symbol table from IR fake override builder in Fir2IrKT-64846K2: false negative CONFLICTING_JVM_DECLARATIONS on inheritance from Java collection subclass with a conflicting overrideKT-62312[K2/N] revert putting stdlib to the beginning of libraries list in the compilerKT-58203K2: false-negative incompatible types error on is-check with unrelated typeKT-65722K2: Property reference refers to non-existent functionsKT-65878K2: "ClassCastException" when passing nun-suspend lambda to SAM constructor with named argumentKT-66379K2: No extra message in UPPER_BOUND_VIOLATED for cases with CapturedTypeKT-59475K2: build nowinandroidKT-65926K2: add tests for all fixed-in-k2 / not-reproducible-in-k2 unresolved issuesKT-59481K2: build aws-sdk-kotlin + smithy-kotlinKT-65022K2: Compiler crashes when array literal is used in delegate expressionKT-62836K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-64727K1: Closing bracket of object inside crossinline lambda or inside lambda in inline function is not hit on step-overKT-64726K1: Cannot stop on closing bracket of crossinline lambda inside of another crossinline lambdaKT-64725K1: Cannot stop on closing bracket of lambda of inline-only functionKT-66272Could not load module with a combination of type parametersKT-66243Could not load module in a builder inference with lambda with typed parameterKT-66229Could not load module in a builder inference with Map.EntryKT-66313K2: declaration-order-dependent false-positive "recursive problem in type checker" error ongetXdeclaration with implicit return type that callsxdeclaration via intermediate declaration ingetX's expression bodyKT-61041K2: Consider getting rid of confusing shouldRunCompletion and shouldAvoidFullCompletion function in FirInferenceSessionKT-66267K2: generic function's type parameter is erased if present as type argument in type of callable reference to member of generic function's local classKT-61448K2: Disappeared DEPRECATION in testWithModifiedMockJdkKT-60106K2: Introduced REIFIED_TYPE_FORBIDDEN_SUBSTITUTIONKT-58279K2. False-negativeSmart cast to is impossible, because is a public API property declared in different modulefor Java static fieldKT-61626K2: Module "com.soywiz.korlibs.kmem:kmem" has a reference to symbol korlibs.memory/Buffer|null[1]KT-57427Fix inconsistencies in name manglers that use different declaration representationsKT-66258K2: accessor-targeted@Suppressannotation is ignored on primary constructor propertyKT-29559Smart Cast functionality doesn't behave in an expected way in all casesKT-60777K2: missing INLINE_FROM_HIGHER_PLATFORMKT-66260K2: false-positive "abstract function in non-abstract class" error on abstract member function of open interfaceKT-66067K2: different overrides are created in a complex hierarchy with raw types and upper-bounded type parametersKT-65821K2: [NONE_APPLICABLE] None of the following functions is applicable: [constructor(message: String?): Throwable, constructor(cause: Throwable?): Throwable, constructor(): Throwable, ...]KT-66268K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplKT-63563K2: False negative RETURN_TYPE_MISMATCH with empty returnKT-60797K2: implement JAVA_MODULE_DOES_NOT_EXPORT_PACKAGEKT-28159Smartcasts don't work with Nothing? values (Nothing? considered a null constant => an unstable value)KT-28262Smartcasts for reference equality don't work if explicit true check is usedKT-66000K2: inherited inline getter has not been inlinedKT-66158K2: not nullable return type for upper-bounded kotlin type parameter in KJK hierarchyKT-57268K2: extra methodsremoveand/orgetOrDefaultare generated for Map subclasses with JDK 1.6 in dependenciesKT-63577K2: false-positive "wrong number of type arguments" error on callable reference to member of generic function's local classKT-62352jspecify NonNull annotation seems not supportedKT-65636PowerAssert: Negative contains operator not aligned correctly in K2KT-64271K2: Wrong overriddenSymbols for toString of data classKT-62779K2: Difference in fake override generationKT-61941K2: FIR2IR incorrectly generates f/o structure for complex java/kotlin hierarchies with remapped jvm declarationsKT-60283K2: fake override for java static method is not generatedKT-65095K2: no bridge generated for getOrDefault when inheriting from Java Map implementationKT-57301K2:getOrDefaultand bridges are not generated for certain Map subclassesKT-50916K2: store resolved type inside ConeStubType after builder inferenceKT-65857K2: java.lang.IllegalArgumentException: Unknown visibility: unknownKT-66174-Xjdk-release 6 and 7 have a misleading error messageKT-66175Wrong supported options list for -jvm-target compiler optionKT-58814Too eager subtype inference in when expressionKT-65408K1: "There are still 2 unbound symbols after generation of IR module" caused by data object'scopyfunction usageKT-65844False Positive "This class can only be used as an annotation or as an argument to@OptIn" when passing as an arrayKT-58697K2: Tests: Assert no dump files exist when dump directive isn't presentKT-63258NPE with function reference from within lambda during initKT-60597K1: IllegalArgumentException: fromIndex(0) > toIndex(-1) when wrapping receiver with backticksKT-33108USELESS_CAST false positive for cast inside lambdaKT-58458K1: "java.lang.NullPointerException" with 'var equals' or 'val equals' as argument in whenKT-58447K1: "AssertionError: Recursion detected on input" with@ParameterNameand extensionKT-41013OVERLOAD_RESOLUTION_AMBIGUITY for functions takes lambda: can not resolve it, but only named lambda parameterKT-56032[LC issue] Incorrect wrapping when passing java vararg method to inline functionKT-65588K2: typealias of primitive type in vararg causes ABI incompatibilityKT-23873Indexed access operator can cause false USELESS_CAST warningKT-31191Contract not smartcasting for extension functions in if-statement with multiple conditionsKT-28725ReenteringLazyValueComputationException during resolution & inferenceKT-35429ReenteringLazyValueComputationException when accessing property with same nameKT-63826K2: expect for expect crashes the compilerKT-25668False-positive error on restricted suspending function call with callable referenceKT-18055SMARTCAST_IMPOSSIBLE on mutable data class variable with a read-only propertyKT-15904Improve error message when type of generic extension call is inferred from receiverKT-66186K1 diagnostics miss some reporting messagesKT-65101Generics behaving different when parenthesizedKT-63444TYPE_MISMATCH caused by Inner class with nullable type and star projectionKT-62022K1 False positive EXPOSED_FUNCTION_RETURN_TYPE on generics with anonymous object typesKT-58751Definitely non-nullable type gets lost with star projectionKT-56624"Unresolved reference" with import alias and enum constructor callKT-54726K1: StackOverflowError on mutually recursive typealiasesKT-35134False negative INCOMPATIBLE_TYPES, EQUALITY_NOT_APPLICABLE when comparing smartcast value to BooleanKT-20617Qualified this@propertydoes not work in extension properties with body expressionKT-10879OVERLOAD_RESOLUTION_AMBIGUITY for synthetic property accessor with smartcasted receiverKT-26768K1 IDE: False positive "Smart cast to '$CLASS$' is impossible", on local variable in run closureKT-63525K2: "IllegalStateException: Fake override should have at least one overridden descriptor" caused by unreachable codeKT-65333K2: UNRESOLVED_REFERENCE for java inner class in intersection scopeKT-61060K2: Rewrite delegate inferenceKT-63712Make it possible to add new stdlib API with SinceKotlin(2.0)KT-63741K2: fix visibility inference with overridden + inherited memberKT-64488K2: False positive DEPRECATED_ACCESS_TO_ENTRY_PROPERTY_FROM_ENUM with context receiversKT-62283K2: build Dokka with K2 user project and pass it to CIKT-57585K2/MPP: false-negative errors on expect/actual modifiers mismatchKT-66077IrFakeOverrideBuilder: NPE from IrJavaIncompatibilityRulesOverridabilityCondition.doesJavaOverrideHaveIncompatibleValueParameterKindsKT-57044K2 LL Tests: false-positive 'Overload resolution ambiguity between candidates: [@Override() fun test(): Unit , fun test(): Unit]'KT-66020K2: ISE "IrPropertySymbolImpl is unbound. Signature: null" on a property with getter with@JvmNameKT-62135K2, KLIB: Classes are still sorted before serializing them to metadataKT-65866[K/N] Fix java.lang.IllegalArgumentException: Unknown visibility: unknownKT-66005K2: "Should not be here: class org.jetbrains.kotlin.fir.expressions.impl.FirResolvedReifiedParameterReferenceImpl" on incorrect comparison of reified type parameterKT-65840[K2] Initializer type mismatch: expected 'Type', actual 'Type'KT-65002K2: Incorrect suspend conversion if argument is an aliased functional typeKT-65984K2 scripting: failure on processing SUPPRESS annotation in the last script statementKT-65680K2: Class redeclaration leads to BackendException during IR fake override builderKT-66028K2: Convert FirExpectActualDeclarationChecker to platform checkerKT-65592K2: IrFakeOverrideBuilder: ISE "should not be called" on diamond hierarchy with explicit dependency on annotations.jarKT-65277IrFakeOverrideBuilder: NPE from IrJavaIncompatibilityRulesOverridabilityCondition.doesJavaOverrideHaveIncompatibleValueParameterKindsKT-65983K2 gradle scripting: "'val' cannot be reassigned" errorsKT-60452K2 Scripting: implement overriding of the script paramsKT-65975K2: Implicit receivers resolution order in K2 scriptingKT-60249K2: No unit coercion generated for loops bodyKT-65937K2: order of enum entries changedKT-65933K2: Type missmatch in arrays in annotationsKT-65343JVM IR: Source parameter is lost when copying with DeepCopyIrTreeWithSymbolsKT-65103K2: IllegalArgumentException: IrErrorCallExpressionImpl(5388, 5392, "Unresolved reference: R?C|/cont|") found but error code is not allowedKT-62788K2: difference in annotation inheritance in overriddingsKT-65669K2: ClassCastException class FirDeclarationStatusImpl cannot be cast to class FirResolvedDeclarationStatusKT-65493IrFakeOverrideBuilder: difference in return type for intersection with raw typeKT-65207IrFakeOverrideBuilder - nullable return type for intersection overrideKT-65972Fix problems related to Unknown visibility in [FP] intellijKT-65246K2: Overiding java method that takes vararg parameter causes WRONG_NULLABILITY_FOR_JAVA_OVERRIDE warningKT-59883K2: Disappeared INVALID_IF_AS_EXPRESSIONKT-57300K2: subclass of MutableCollection with primitive element type has methods with boxed typeKT-58476Context receivers: "No mapping for symbol: VALUE_PARAMETER" with context-receiver inside suspended lambda calling another suspended functionKT-52213Context receivers: "No mapping for symbol: VALUE_PARAMETER" caused by contextual suspending function type with receiverKT-13650Right-hand side of a safe assignment is not always evaluated, which can fool smart-castsKT-61823K2: Render list of declarations in diagnostic messages with linebreak as separatorKT-65302IrFakeOverrideBuilder - missing@EnhancedNullabilityKT-65241K2: [LT] Compiler crash on assignment expression with incorrect lvalueKT-60006K2: Disappeared EXPRESSION_EXPECTEDKT-65817K2: Check if callable reference vararg adaption can be affected by primitive type aliasesKT-62847K2: Introduce FIR node for SAM conversionKT-65920K2: no field for delegation is createdKT-65487K2: Different fake overrides and false positive NOTHING_TO_OVERRIDE for intersection/override with Collection.removeKT-65460Don't compare order of functions in IR dumpKT-64276[K/N][K2] K2 behaviorial difference with inconsistent inheritance of ObjCNameKT-65572[K/N][K2] INCOMPATIBLE_OBJC_NAME_OVERRIDE error message changed from K1KT-63420Prevent weakening visibility in implicit overridesKT-64635K2: "KotlinIllegalArgumentExceptionWithAttachments: Expected expression 'FirAnonymousFunctionExpressionImpl' to be resolved" when provideDelegate is extension of function with receiverKT-63879K2: Redundant flagdeclaresDefaultValuefor parameter of function inherited from delegateKT-56744Prepare language committee ticket about DFA/Smart-cast related changes in K2KT-65790K2: Move check for private-to-this visibility into checkerKT-65551K2: Property redeclaration on native compilation leads to NotImplementedErrorKT-65770K2: Diagnostic rendering ofvararg Fooparameter producesvararg Array<Foo>KT-65555K2: must override 'spliterator' because it inherits multiple implementations for itKT-59921K2: Disappeared NULL_FOR_NONNULL_TYPEKT-65290K2: No override for FUN DEFAULT_PROPERTY_ACCESSORKT-19446False positive "Smart cast to 'Foo' is impossible" due to same variable names in different closuresKT-65337K2: False positive UNRESOLVED_REFERENCE when lambda labeled by illegal label and operator-invokedKT-65448K2: fake overrides are not generated for 'containsAll', 'removeAll', 'retainAll' if inherited from raw typeKT-65298K2: not nullable return type and parameter for raw typesKT-63377K2: conflict between type parameter and nested classKT-63286K2: Top-level properties in scripts are missing initialization checksKT-59744K2: false negative VAL_REASSIGNMENT in case of reassignment inside custom setterKT-58579K2: false-positive new inference error on invoking a generic function on Java wildcard type bounded by raw-typed Java inner classKT-60258Support java-kotlin interop for@SubclassOptInRequiredKT-60262Support for inter-module interaction for@SubclassOptInRequiredKT-62878K2: missing implicit coercion to unitKT-59715K2: Check behaviour of property + operator in operator positionKT-63441IrFakeOverrideBuilder: "accidental override" when implementing a Java function taking an array parameterKT-65706K2: IrFakeOverrideBuilder: ISE "Fake override should have at least one overridden descriptor" on J-K-J-K hierarchy with interface delegationKT-61362K2: Properties/fields are missing from system librariesKT-63344K2: False positive ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTEDKT-58845K2: SAM checker can run incorrectly in presence of an expect supertypeKT-61843K2: Missing TYPE_MISMATCH for nested array literalsKT-62752expect-actual matcher/checker: return type must be "checking" incompatibilityKT-59887K2: Disappeared ACTUAL_MISSINGKT-65604K2: INAPPLICABLE_JVM_NAME: effective modalityKT-65637Prepare documentation for PCLA implementationKT-65341K2: "Cannot find cached type parameter by FIR symbol" caused by not-null assertion operator inside string in throwKT-49283Support contribution type info from a nested builder inference callKT-64077K2: Builder inference ignores constraints from nested builder inferenceKT-49160Couldn't infer a type argument through several builder inference calls broken by a local classKT-63827K2: Array += desugaring doesn't have originKT-65057K2: Wrong type inferred in code with heavy use of genericsKT-63514ISE “Inline class types should have the same representation: [I != I” during compilation on submitting UIntArray to varargKT-61088K2: return types of non-last-expression calls to@PolymorphicSignaturemethods inside try-expressions don't resolve to void when requiredKT-62476K2: Enable building fake overrides by ir on non-JVM targetsKT-59839Prohibitheaderandimplin MPPKT-61310K2: "Not enough information to infer type variable R" for transformLatestKT-63733Builder-style type inference can't resolve to extension overloads when they're more applicable than member onesKT-57707K1: inconsistent TYPE_MISMATCH in builder inferenceKT-55057Builder inference changes behaviour sporadically based on BI annotation on unrelated callKT-60663Builder inference does not work inside a nested unrelated builder inference lambdaKT-53639TYPE_MISMATCH: compiler can't infer the list's type when usingbuildList {}builder orCollection#isNotEmptyKT-60291K2: "IllegalStateException: Cannot serialize error type: ERROR CLASS: Cannot infer argument for type parameter T" during FIR serializationKT-65033K2: Fir2LazyIr: Lazy type aliases not supportedKT-57709Inconsistent extension function call resolution in builder inferenceKT-53740Builder inference with multiple lambdas leads to unsound typeKT-60877Builder inference from the null literal results in Nothing instead of Nothing? for producing positions of the postponed type variableKT-53553Builder inference: inconsistent types in different lambda scopesKT-54400K2: builder inference does not work with assignments of literals to member propertiesKT-63840Builder inference fails on calls to identity-shaped functions with postponed type variables inside select-constructionsKT-65262K2: Exception in DFA for combination of try-finally + PCLA + DIKT-58169K2: make equals bounded smart casts work the same as in K1KT-64967K2: false positive TYPE_MISMATCH with generic type parametersKT-64102K2: Missing (disappeared in this case) DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER_ERRORKT-63988K2: Reflection cannot find type of local class of local classKT-63901K2: Different naming of inner class in metadataKT-63655K2: incorrect short class name in metadata for anonymous object inside a local classKT-59664Inline modifier can be added to a constructor parameter, but it does not have any effectKT-59418K2: Missing DUPLICATE_PARAMETER_NAME_IN_FUNCTION_TYPEKT-63612K2: Class is not abstract and does not implement abstract memberKT-63737Wasm: revise external declaration FE checker for WASI modeKT-59782K2: Forbid local delegated properties with private accessors in public inline functionsKT-65482K2: NoSuchFieldError due to using unboxed typeKT-61182Unit conversion is accidentally allowed to be used for expressions on variables + invoke resolutionKT-62998Forbid assignment of a nullable to a not-null Java field as a selector of unsafe assignmentKT-63208K2: Implement deprecation cycle and fix missing errors for error-level nullable arguments of warning-level Java typesKT-57600Forbid overriding of Java method with raw-typed parameter with generic typed parameterKT-63147K2: False negative DSL_SCOPE_VIOLATION when member is annotated with@LowPriorityInOverloadResolutionKT-62134K2: handle non-simple types during FirStatusResolver.isPrivateToThis checkKT-42020Psi2ir: IllegalStateException: "IrSimpleFunctionPublicSymbolImpl for public [...] is already bound" on generic function whose substitution leads to IdSignature clashKT-59012K2: Support inferring types based on self upper boundsKT-65373K2: there is a crash in KJK hierarchy with an extension member propertyKT-65456K1: ISE "Property has no getter" with -Xsam-conversions=class when Java SAM interface contains a fieldKT-62884K2: different signature of delegate object for generic extension propertyKT-60581K2 fails with New inference error for assertThat under strange circumstancesKT-59630K2: Implement running FIR Blackbox tests on different JDKsKT-64944Can't assign null after early return smart cast with typed destructive assignmentKT-64910K2: AA FIR: KtCall's argument mapping misses SAM conversion argumentKT-65165K2: "ClassCastException: class java.lang.String cannot be cast to class SampleClass"KT-64982K2: false negative FUNCTION_CALL_EXPECTEDKT-65318K2: Substitution stackoverflow on jspecify@NullMarkedsuperclassKT-65010Kotlin/Native: code generation for a static field is failingKT-57299K2: VerifyError due to overriding final methodsizeon a subclass of Collection and SetKT-64706K2: Type inference cannot resolve nullable@ComposablelambdaKT-65058K2: Protected function call from public-API inline function is prohibited in anonymous objectKT-65316K2: False positive USAGE_IS_NOT_INLINABLE for expression labeled with illegal labelKT-60958K2: smart cast does not work with definite return from if blockKT-63151K2: Assignment within function lambda should invalidate contract DFA implicationsKT-63351K2. No smart cast with not-null assertion operator after a safe callKT-65324atomicfu-plugin: top-level delegated properties cause NPEKT-60246K2: origin is not set for getting array element operatorKT-64387K2: Missing POSTFIX_INC/DEC origin for array element inc/decKT-61891K2: POSTFIX_{INCR|DECR} of global misses an originKT-65019K2: unexpected exception when executing inc/dec in finally block on WASMKT-64392Factor out KLIB serialization logic from thebackend.nativemoduleKT-65270K2: Missing ACTUAL_WITHOUT_EXPECT when expect is fake-overrideKT-60367K2: Support EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE diagnosticsKT-62704Absent testrunner FirLightTreeDiagnosticTestSpecGeneratedKT-65044K2 compiler crash on unresolved delegated extention receiverKT-65021K2: Missing error and miscompilation in destructuring declaration delegationKT-63899K2: Vararg parameter misses annotation in metadataKT-60175JVM IR inline: accidental reification of typeOf type argumentKT-65336K2: Space build failsKT-59683K2: Add control flow graph to FirScriptKT-63434K2. False positiveCannot accesswith protected nested classifiers references inside anonymous object inherited from containing classKT-64222K2: "return type is not a subtype of the return type of the overridden member"KT-64314K2: Rename FirConstExpression to FirLiteralExpressionKT-64975FIR: Deserialize enum entry annotation arguments from binary libraries with lookup tags instead of symbolsKT-63646K2: "IllegalStateException: Return type of provideDelegate is expected to be one of the type variables of a candidate, but D was found"KT-65024K2: kotlin.NotImplementedError: An operation is not implemented in the K2 QGsKT-63994K2: Investigate K2 failures in IntelliJ-Rust pluginKT-64268K2: Data-flow from nested lambda not passed to outer lambdaKT-59729K2: Investigate CFG buildings for inner lambdas in case of double-lambda builder inferenceKT-63042K2: proper processing of propagated annotationsKT-64841K2: argument type mismatch with type parameter with recursive boundKT-62554K2: incorrect "inherits multiple implementations" error when base Java method takes a parameter of primitive wrapper typeKT-65093K2: Super constructor call able to access uninitialized object fieldsKT-56489K2 allows reading uninitialized variable in object declarationKT-59987K2: Disappeared REIFIED_TYPE_FORBIDDEN_SUBSTITUTIONKT-36786Smartcast doesn't work in case of property infix callKT-65027K2: java.lang.NoSuchMethodError: void org.jetbrains.kotlin.name.CallableId in the K2 QGKT-65056IrFakeOverrideBuilder: ISE "No override for FUN" on package-private Java method in K-J-K hierarchyKT-63414K2 / Contracts: false positive "Result has wrong invocation kind" when invoking a function returning a value with contract InvocationKind.EXACTLY_ONCE and try/finallyKT-64809K2: Remove the LINK_VIA_SIGNATURES flag from FIR2IR configurationKT-62045IrFakeOverrideBuilder: incorrectly merged fake overrides for Java methods accepting wrapper Double and primitive doubleKT-57640[K2/N] Investigate behaviour for intersection overrides for properties that have incompatible typesKT-59371K2: Missing MISSING_DEPENDENCY_CLASSKT-59682K2: Use proper source for vararg argumentsKT-64261K2 / WASM: Extension function with star projection throws "RuntimeError: unreachable"KT-64257K2 QG: kotlin.NotImplementedError: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrTypeParameterPublicSymbolImpl is not supported yetKT-64844[K/N] Filecheck testredundant_safepoints.ktfails under linux_x64KT-64877K2: PCLA doesn't allow infer types from value parameter having TV typeKT-63794K2: False positiveNONE_APPLICABLEonThrows::classKT-63781K2: Generated blocks appear in the IRKT-63779K2: Regression for locations of 'if' statementsKT-63624K2: incompatible declaration because of different visibilityKT-64400K2: allow to use simple boolean expressions as constantsKT-65050K2: IllegalStateException: Captured type for incorporation shouldn't escape from incorporation: CapturedType(out org/jetbrains/plugins/gitlab/mergerequest/api/dto/GitLabMergeRequestShortRestDTO)KT-59972K2: Disappeared EXPRESSION_EXPECTED_PACKAGE_FOUNDKT-63256K2: NOT_IDENTITY operator call is illegal in contract descriptionKT-61717K1: Unsound green code with self upper bounds and captured typesKT-64871IrFakeOverrideBuilder: ISE "no override for " on HashMap subclassKT-58739K2: RewriteCallableId.classIdto be thread-safeKT-64979K2: Missing REDUNDANT_TYPE_PARCELER when using type aliasKT-60019K2: Introduced PARCELER_TYPE_INCOMPATIBLEKT-60682K2: Disappeared DEPRECATIONKT-62500K2: origin=GET_PROPERTY is wrongly set to GET_FIELD of backing field inside property's own getterKT-64743K2: Non-expanded type serialized in metadataKT-64405K2: Implement CompileJavaAgainstKotlinTestGenerated for K2KT-57094K1: wrong type inferred for an instance of a local class inside a generic propertyKT-62069K2: ASSIGNMENT_TYPE_MISMATCH is reported in addition to NO_ELSE_IN_WHENKT-62776FirLazyResolveContractViolationException: "lazyResolveToPhase(STATUS) cannot be called from a transformer with a phase TYPES" on Java annotation usageKT-47313Change (V)::foo reference resolution when V has a companionKT-64837K2: NPE in fir2ir when generic transitive dependency class is missingKT-60260K2: Implicit coercion to unit is not generated in adapted function referenceKT-60858Remove redundantcreateDeprecatedAnnotationnecessary to workaround kotlinx-serialization compilation with nativeKT-64432Unbound symbol access in Fir2Ir fake override builderKT-64466K2: Delegated method annotations are not copied in IRKT-63589K1: Unsound type inference for unbound callable reference to star-projected class's generic mutable propertyKT-56141K2: Consider removing skipping diagnostics for DelegatedPropertyConstraintPositionKT-60056K2: Introduced UNRESOLVED_REFERENCEKT-61032K2: False positive “Unused variable” for function callable referenceKT-64832K2: False positive "Unused variable" checker report on suspend functional types, on overloaded functional types and on custom invoke operator typesKT-64771Investigate subtle FIR_DUMP difference for reversed order analysisKT-62584K2: different signature in subclass of local class declared in extension value getterKT-63806Native / KJS / Wasm: "NullPointerException: accept(...) must not be null"KT-59938K2: Disappeared AMBIGUOUS_ACTUALSKT-43713callsInPlace InvocationKind.EXACTLY_ONCE causes CAPTURED_VAL_INITIALIZATION in constructorKT-64645K2: Missing smartcast caused by typealias that expands to nullable type in upper boundKT-64501K2: False-positive WRONG_INVOCATION_KIND when using default argumentsKT-63962K2: "java.lang.IllegalStateException: !"KT-63644K2: Create special IR symbols for fake-overrides in fir2ir in mode with IR f/o generatorKT-63638K2: Compiler crashes with "Inline class types should have the same representation"KT-36220NI: false positive NON_APPLICABLE_CALL_FOR_BUILDER_INFERENCE if one use cannot resolveKT-64121K2: Actual modifier is missed onoverride fun toString()fro value class in nativeKT-63703K2: Eliminate call to Candidate.usesSAM and samResolver.getFunctionTypeForPossibleSamType in AbstractConeCallConflictResolver.toTypeWithConversionKT-61443K2: Return typeId -1 during JS compilationKT-64090K2: false-positive new inference error on invoking from another module a generic function on Java list type with wildcard type argument bounded by raw-typed Java inner classKT-64044K2: Java mapped method should have a source from Java method, not from mapped Kotlin source classKT-39137Smartcast to wrong nullability with generic type parameter upper boundKT-46674ClassCastException with smartcast ifplusoperator returns a different typeKT-64625[FIR] Infinite recursion inTypeUnificationKt.doUnify()building subset of native stdlibKT-59369K2: Missing BUILDER_INFERENCE_STUB_RECEIVERKT-62590Split expect/actual matcher-checker machinery in two separate components: matcher and checkerKT-63732K1: False positive OUTER_CLASS_ARGUMENTS_REQUIRED inside anonymous objectKT-64644K2: Compiler crash in FirTypeParameterBoundsCheckerKT-64312K2: FirPropertySymbol.hasBackingField() always returns true for properties from other modulesKT-64420K2: Wrong module descriptor for builtin classesKT-64127K2: incorrect resolution of inherited members on Java classes inheriting classes from different packages in the presence of identically named classes in the same packagesKT-63446IrFakeOverrideBuilder: AbstractMethodError due to missing bridge for generic method in a Java superclassKT-63867K2: Smartcast is allowed inside changing lambda with cyclesKT-64609K2: INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE diagnostic is missed for primary constructor propertiesKT-63777K2: Smartcast is allowed inside changing lambda with boundsKT-64059K2: CYCLIC_INHERITANCE_HIERARCHY while using nested annotation in an outer class declarationKT-63528K2: Missing UNNECESSARY_SAFE_CALL for warning level annotated java declarationsKT-64607K2: extension functions on UInt and Number lead to JVM ClassCastExceptionKT-63761K2: False positive "Unresolved reference" caused by object's parameter in enum class which is passed as annotation parameterKT-62816K2: Annotation use site targets printing could be improved in diagnostics' messagesKT-62815K2: FIR renderings leak through some diagnostics' messageKT-35289Confusing warning message "Duplicate label in when"KT-49084Contracts: error message is unclearKT-63228K2: Upper bound violation diagnostic renders compiler internals about SourceAttributeKT-62386K2: Proofread quotes in diagnostic messagesKT-64081K2: Incorrect smartcast candidate calculation in MemberScopeTowerLevelKT-32420Confusing error message "Contracts are allowed only for top-level functions" whencontractblock is not first expressionKT-61937K2: implicit script receiver from ScriptDefinition are not visible for invokeKT-58767Inheritance opt-in enforcement via@SubclassOptInRequiredcan be avoided with type aliasesKT-59818K2: Explore the TODO about suspend functions overridden in Java in FirHelpersKT-63233K2 : false negativeClass is not abstract and does not implement abstract memberwith abstract suspend functionKT-59344K2: implement deprecation warnings from KT-53153KT-63379K2. Argument type mismatch on creating functional interface instance with function literal as an argument withintype projectionKT-64308K2: prefer call with Unit conversion at lower level to one without Unit conversion at upper levelKT-64307K2: prefer function with default arguments at lower level to one without them at upper level during callable reference resolveKT-64306K2: prefer SAM at lower level to a functional type at upper levelKT-64341Kotlin/JVM: Missing line number generation for intrinsic comparisonsKT-64238Add proper documentation to theIdeCodegenSettingsclassKT-63667K2/KMP: exception when expect property matched to java fieldKT-59915K2: Disappeared TOO_MANY_ARGUMENTSKT-57755K2/JVM: Fix computing a "signature" mangled name for themainfunctionKT-63645K2: Replace special f/o symbols with normal ones after actualizationKT-63076K2: change in behavior for synthetic properties in Kotlin-Java hierarchyKT-63723Frontend manglers improperly handle error typeKT-56491K2: Fix reporting AMBIGUOUS_ANONYMOUS_TYPE_INFERRED if anonymous object is leaked in type argumentKT-63738K2: Some declarations are missing in the hierarchy of overridden symbolsKT-62242K2: Uniformly treat enum entries as anonymous objectsKT-62281K2: build DuckDuckGo Android user project and pass it to CIKT-60266K2: origin is not set for FOR_LOOP_ITERATORKT-59875K2: Disappeared UNRESOLVED_REFERENCE_WRONG_RECEIVERKT-62394K2: Synthetic property scope doesn't consider java classes in the hierarchyKT-62715K2: Missing WASM_IMPORT_EXPORT_UNSUPPORTED_PARAMETER_TYPEKT-62723K2: Missing WASM_IMPORT_ON_NON_EXTERNAL_DECLARATIONKT-62722K2: Missing NESTED_WASM_IMPORTKT-62721K2: Missing WASM_EXPORT_ON_EXTERNAL_DECLARATIONKT-62720K2: Missing JS_AND_WASM_EXPORTS_ON_SAME_DECLARATIONKT-62719K2: Missing NESTED_WASM_EXPORTKT-62718K2: Missing WASM_IMPORT_EXPORT_UNSUPPORTED_RETURN_TYPEKT-62717K2: Missing WASM_IMPORT_EXPORT_PARAMETER_DEFAULT_VALUEKT-62716K2: Missing WASM_IMPORT_EXPORT_VARARG_PARAMETERKT-60225K2: compiler FIR symbol resolution crash on a call to an extension function whose receiver contains a type parameter with a recursive upper boundKT-60090K2: Introduced DEPRECATED_PARCELERKT-59949K2: Disappeared DEPRECATED_PARCELERKT-64045K2: "Expect declaration * is incompatible with actual" when function parameter names are differentKT-62018K2: prohibit suspend-marked anonymous function declarations in statement positionsKT-63973K2: "NoSuchElementException: Array is empty" with vararg used within tail recursive functionKT-61792KMP: Backend error on@Deprecatedusage with DeprecationLevel.HIDDEN in K2KT-57788Fix computing mangled names of types with@EnhancedNullabilityfrom IR-based declaration descriptorsKT-63249K2: change in annotation resolve when ambiguousKT-62553K2: AddtopLevelClassifierPackageNamesto symbol name providersKT-64148K2: class cast exception org.jetbrains.kotlin.fir.types.ConeStarProjectionKT-63665K2: "NullPointerException" caused by class with the companion object and extra curly braceKT-62736K2: Disappeared NESTED_JS_EXPORTKT-62347Prohibit using property+invoke convention for delegated propertiesKT-59421K2: Missing CONTEXT_RECEIVERS_WITH_BACKING_FIELDKT-59903K2: Disappeared DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLEKT-54997Forbid implicit non-public-API accesses from public-API inline functionKT-34372Report missed error for virtual inline method in enum classesKT-62926K2: IR has missing receivers during expect-actual matchingKT-62565K2 cannot infer type parameters in case of expected functional typeKT-63328K2: Top-level properties in scripts can be used while uninitializedKT-62120K2: "NoSuchMethodError: java.lang.String" at runtime on class delegating to Java typeKT-36876Smartcast doesn't work when class has property available through the invokeKT-63835K2: metadata compilation with constants is falling for NativeKT-60251K2: delegated method are delegating to different methods in hierarchy compared to K1KT-63574K2: "IllegalStateException: IrFieldPublicSymbolImpl for java.nio/ByteOrder.LITTLE_ENDIAN"KT-61068Bounds of type parameters are not enforced during inheritance of inner classes with generic outer classesKT-60504K2: difference between LL FIR and FIR in enhanced return type with annotationKT-64147K2: Generate FIR diagnostics with explicit typesKT-62961K2 / KMP: NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS with expect enum class and typealiasKT-53749Support builder inference restriction in FIRKT-59390K2: Missing BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTIONKT-61065K2:@Suppressannotation is ignored inside preconditions of when-clausesKT-59368K2: Missing SUBTYPING_BETWEEN_CONTEXT_RECEIVERSKT-64083K2: "KotlinIllegalArgumentExceptionWithAttachments: Unexpected returnTypeRef. Expected is FirResolvedTypeRef, but was FirJavaTypeRef"KT-37308No smart cast when the null check is performed on a child property through a function with a contractKT-62589K2: Investigate need of non-nullable IdSignature in Fir2IrLazyDeclarationsKT-59894K2: Disappeared ANNOTATION_ARGUMENT_MUST_BE_CONSTKT-63329K2: difference in SAM-conversion casts generationKT-64062K2 IDE. NPE on typing nullable parameter in returnKT-61427K2/MPP/JS does not report Expecting a top level declaration and FIR2IR crashesKT-64031K2: Revise naming in FirBuilderInferenceSessionKT-55252Backend Internal error during psi2ir in native compile tasks (NPE in getKlibModuleOrigin)KT-50453Improve builder inference diagnostics with type mismatch due to chosen inapplicable overloadKT-56949K2: Builder inference violates upper boundKT-63648K2: values of postponed type variable don't introduce type constraints in extension receiver positions during builder-style type inferenceKT-64028K2: Investigate questionable condition in FirBuilderInfernceSessionKT-60031K2: Introduced NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASSKT-55809K2: Support pre-release checks for klibsKT-59881K2: Disappeared UNSUPPORTEDKT-63448K2: CONFLICTING_INHERITED_JVM_DECLARATIONS with@JvmFieldKT-63705False positive UNSAFE_IMPLICIT_INVOKE_CALL after explicit null check of the constructor val propertyKT-63865K2: "IllegalArgumentException: Failed requirement." caused by lambda parameters with different type in init blockKT-62036KMP: consider prohibitingactual fake-overridewhen the correspondingexpect classhas default argumentsKT-62609K2. Type argument inference changed for object of Java class with several common parentsKT-30369Smartcasts from safe call + null check don't work if explicit true/false check is usedKT-30376Smartcasts don't propagate to the original variable when use not-null assertion or cast expressionKT-30868Unsound smartcast if smartcast source and break is placed inside square brackets (indexing expression)KT-31053Nothing? type check isn't equivalent to null check is some placesKT-29935Smartcasts don't work if explicit annotated true/false check is usedKT-30903Smartcast to null doesn't affect computing of exhaustivenessKT-63564K/Wasm: CompilationException with 2.0.0-Beta1KT-63345K2: FIR2IR chooses an incorrect type for smartcast in case of SAM conversionKT-63848ReflectiveAccessLowering does not count arguments of super-callsKT-62544K2: IllegalAccessError when functional type argument is inferred to package-private typeKT-61920K2: False negative CONST_VAL_WITH_NON_CONST_INITIALIZER when initializer is Java fieldKT-63649K2: Wild card in superclass confuses EXPANSIVE_INHERITANCE checkerKT-63569K2: "IllegalStateException: ?!id:1" caused by private function callKT-63842K2: some arguments of annotations on local declarations are unresolvedKT-63832K2: missed context during annotation argument resolution for a type alias, init and property receiverKT-62559KMP, K2: prevent reporting ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT twice in CLIKT-24652Elvis with 'break' can produce unsound smartcasts in while-true loopKT-28508Possible unsound smartcast in class initializerKT-28759No not-null smartcast from direct assignment if it's split into declaration and value assignmentKT-28760No not-null smartcast from direct assignment ofthisKT-29878Smartcasts from type check or null check don't work if explicit true check as reference equality is usedKT-29936Smartcasts don't work if comparing with return value of some function and explicit true/false check is usedKT-30317Smartcast doesn't work if smartcast source is used as an operand of the reference equalityKT-63071K2 supports calling functions with the dynamic receiver overNothing?KT-59896K2: Disappeared WRONG_ANNOTATION_TARGETKT-56849Implement K/Wasm K1 diagnostics in K2KT-31636Expect-actual matching doesn't work for inner/nested classes with explicit constructor using typealiasesKT-63361K2: Expected FirResolvedTypeRef for return type of FirDefaultPropertyGetter(SubstitutionOverride(DeclarationSite)) but FirImplicitTypeRefImplWithoutSource foundKT-62913Convert DEFAULT_ARGUMENTS_IN_EXPECT_ACTUALIZED_BY_FAKE_OVERRIDE to checking incompatibilityKT-63550K2: fake-override in expect covariant override in actual. Move diagnostics from backend to frontendKT-62491K2. No'when' expression must be exhaustiveerror when Java sealed class inheritors are not listed inpermitsclauseKT-63443IrFakeOverrideBuilder: ISE "No new fake override recorded" when Java superclass declares abstract toStringKT-62679K2: drop ARGUMENTS_OF_ANNOTATIONS phaseKT-63600K2: Duplicate WRONG_NULLABILITY_FOR_JAVA_OVERRIDEKT-63508K2: "IllegalArgumentException: Not FirResolvedTypeRef (String) in storeResult" caused by@DeprecatedJava function and typoKT-63656K2: "IllegalArgumentException: Local com/example/ should never be used to find its corresponding classifier"KT-63459K2: OPT_IN_USAGE_ERROR is absent when calling the enum primary constructorKT-59582OPT_IN_MARKER_CAN_ONLY_BE_USED_AS_ANNOTATION_OR_ARGUMENT_IN_OPT_IN on an annotation importKT-60614K2: Conflicting INVISIBLE_REFERENCE and UNRESOLVED_REFERENCE reported depending on FIR test for transitive friend module dependenciesKT-59983K2: Disappeared IMPLEMENTATION_BY_DELEGATION_IN_EXPECT_CLASSKT-63068K2 supports typeRef-name labelsKT-63642JVM_IR: don't generate reflective access to getter/setter without propertyKT-62212K2: require matching of suspend status for override checkKT-60983K2: "Argument type mismatch: actual type is android/view/View.OnApplyWindowInsetsListener but androidx/core/view/OnApplyWindowInsetsListener? was expected"KT-63597JVM_IR: Properly handle type parameters of outer declaration in code fragmentKT-59913K2: Disappeared UNSUPPORTED_FEATUREKT-63593K2: FIR2IR converts arguments of array set call for dynamic receiver twiceKT-63317K2: Disallow generic types in contract type assertionsKT-59922K2: Disappeared CANNOT_CHECK_FOR_ERASEDKT-59561K2/MPP reports INCOMPATIBLE_MATCHING when an actual annotation declaration with vararg property is typealias with@SuppressKT-63241IJ monorepo K2 QG: backward-incompatible compiler ABI change leads to run-time failures of Fleet's kotlinc pluginsKT-55318Redundant variance projection causes wrong signature in klibKT-57513K2: Bound smart casts don't work with StringsKT-59988K2: Disappeared TYPE_ARGUMENTS_NOT_ALLOWEDKT-59936K2: Disappeared ARGUMENT_PASSED_TWICEKT-61959K2: Type parameters from outer class leak to nested classKT-58094K2: Review IrBuiltinsOverFirKT-63522K2: wrong context for delegated field typeKT-63454Properly check that inline fun is in the same module as callee inIrSourceCompilerForInlineKT-59951K2: Disappeared NO_TYPE_ARGUMENTS_ON_RHSKT-62727K2: Missing JSCODE_UNSUPPORTED_FUNCTION_KINDKT-62726K2: Missing JSCODE_WRONG_CONTEXTKT-62725K2: Missing JSCODE_INVALID_PARAMETER_NAMEKT-62314Make usages of JavaTypeParameterStack safeKT-60924FIR2IR: Get rid of all unsafe usages of IrSymbol.ownerKT-59402K2: Missing EXPANSIVE_INHERITANCE and EXPANSIVE_INHERITANCE_IN_JAVAKT-57949FIR: SignatureEnhancement: mutation of java enum entryKT-62724K2: Missing WRONG_JS_FUN_TARGETKT-62856K2: Don't create IR declaration when its symbol is accessed in fir2irKT-61329K2: Review for diagnostic messages reported by CLI arguments processingKT-58953K2 doesn't work with Compose MultiplatformKT-63599False negative WRONG_NULLABILITY_FOR_JAVA_OVERRIDE when Java parameter is warning-severity not-null and override isn't a DNNKT-62711Incorrect ParsedCodeMetaInfo instancesKT-63122K2: Improve 'EVALUATION_ERROR' messagesKT-63164K2/JVM: compiler codegen crash on invisible property IllegalStateException: Fake override should have at least one overridden descriptorKT-56614K2: Incorrect overload resolution with SAM typesKT-62783K2: False positive CAST_NEVER_SUCCEEDS when casting nullable expression to it's non-nullable generic base classKT-47931FIR DFA: smartcast not working forif (x!=null || x!=null && x!=null) {}KT-62735K2: Disappeared EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETERKT-62733K2: Disappeared WRONG_EXTERNAL_DECLARATIONKT-62734K2: Disappeared INLINE_EXTERNAL_DECLARATIONKT-62618K2: Fix theensureAllMessagesPresenttestKT-60312K2: CCE “class [I cannot be cast to class java.lang.Number ([I and java.lang.Number are in module java.base of loader 'bootstrap')” on using IntArray as varargKT-58531K2: "Property must be initialized" compile errorKT-54064K2. Conflicting declarations error differs for k1 and k2KT-52432Using the IDE compiled with K2 (useFir) throws VerifyError exceptionKT-59825K2: Fix the TODO aboutwasExperimentalMarkerClassesinFirSinceKotlinHelpersKT-26045False positive DUPLICATE_LABEL_IN_WHEN for safe callsKT-59514K2: New inference error with jspecify and Java interopKT-63094K2: Exception from fir2ir during conversion data class with property of dynamic typeKT-59822K2: Fix the TODO in FirConstChecksKT-59493Definitely non-nullable types have type inference issues with extension functionsKT-63396K2: property from companion object are unresolved as an annotation argument in type parameterKT-62925K2: Disappeared EXPOSED_FUNCTION_RETURN_TYPE for package-private and type argsKT-63430IrFakeOverrideBuilder: VerifyError on calling a function with a context receiver from a superclassKT-58754"Not enough information to infer type variable for subcalls of if expression" when adding curly braces to a conditional inside alazypropertyKT-54067K1 with NI: false positive UPPER_BOUND_VIOLATED in typealias constructorKT-62420K2: Remove ConeClassifierLookupTag from ConeTypeVariableTypeConstructorKT-63431K1: Incorrect resolution of call to Java class that extends CharSequence and inherits aget(int): CharmethodKT-55288False negative WRONG_ANNOTATION_TARGET on type under a nullability qualifierKT-61459K2: type parameters cannot be parameterized with type argumentsKT-59998K2: Disappeared OPT_IN_MARKER_CAN_ONLY_BE_USED_AS_ANNOTATION_OR_ARGUMENT_IN_OPT_INKT-53308TYPE_MISMATCH: Contracts on boolean expression has no effect on referential equality tonullKT-51160Type mismatch with contracts on narrowing sealed hierarchy fail to smart castKT-49696Smart cast to non-null with inline non-modifying closures sometimes doesn't workKT-46586SMARTCAST_IMPOSSIBLE when assigning value inside lambda instead of if expressionKT-41728False positive no smart cast with unreachable code after return in if expressionKT-59482K2: build kmm-production-sampleKT-57529K1/K2: "IllegalStateException: not identifier: " with hard keywords in angle bracketsKT-62032K2: Render flexible types as A..B instead of cryptic ft<A, B> in diagnostic messagesKT-59940K2: Disappeared ACTUAL_ANNOTATION_CONFLICTING_DEFAULT_ARGUMENT_VALUEKT-59401K2: Missing ADAPTED_CALLABLE_REFERENCE_AGAINST_REFLECTION_TYPEKT-56081K2: build kotlinx.serializationKT-63172K2: Java vararg setter should not be used as property accessorKT-61243K2: Always use declaredMemberScope-s inFirConflictsHelpersinstead ofdeclarationsKT-59430K2: Missing CALLABLE_REFERENCE_RESOLUTION_AMBIGUITYKT-62306K2: Compiler internal error for incorrect call on ILTKT-61592kt57320.kt weird diagnostic range for NO_ACTUAL_FOR_EXPECTKT-62334K2: FIR should not generate delegated functions for methods from java interface with default implementationKT-60294K2: lambda inside object capturing this, when not in K1KT-59590JVM IR: NotImplementedError during rendering of conflicting JVM signatures diagnosticKT-62607K2: "Overload resolution ambiguity between candidates"KT-55096K2: false-positive smartcast after equals check with reassignment in RHS of ==KT-63002K2: Fix flaky FirPsiOldFrontendDiagnosticsTestGenerated.Tests.Annotations#testAnnotatedErrorTypeRefKT-62916K2: False positive INCOMPATIBLE_MATCHINGKT-45687Contract doesn't allow smart cast when implicit receiver and inference target isthisKT-62137Compiler fails on null tracking (inference) for safe callKT-36976FIR: Provide exact smart casting typeKT-60004K2: Disappeared CONTRACT_NOT_ALLOWEDKT-62404K2 Scripting for gradle: unresolved name errors on implicit importsKT-62197K2 and Apache Commons's MutableLong: Overload resolution ambiguity between candidatesKT-59890K2: Disappeared CONST_VAL_WITH_NON_CONST_INITIALIZERKT-53551suspend functional type with context receiver causes ClassCastExceptionKT-61491K2 AA: Multiple FIR declarations for the same delegated propertyKT-55965K2: NPE via usage of functions that return Nothing but have no return expressionsKT-60942K2: Transitive dependency IR is not deserialized correctlyKT-55319K2: False negative NON_LOCAL_RETURN_NOT_ALLOWED for non-local returns exampleKT-59884K2: Disappeared NON_LOCAL_RETURN_NOT_ALLOWEDKT-61942K2 + kotlinx.serialization: Incorrect 'Conflicting declarations' on only one declarationKT-62944K2: Symbols with context receiver shouldn't be rendered with line breakKT-59977K2: Disappeared NO_ACTUAL_FOR_EXPECTKT-60117K2: ISE “Cannot serialize error type: ERROR CLASS: Cannot infer variable type without initializer / getter / delegate” on compiling lateinit property without initializationKT-60042K2: Introduced PRIMARY_CONSTRUCTOR_REQUIRED_FOR_DATA_CLASSKT-62467K2: Result type of elvis operator should be flexible if rhs is flexibleKT-62126KJS / K2: "InterpreterError: VALUE_PARAMETER" caused by reflection, delegation and languageVersion = 1.9KT-56615K2: False-negative USELESS_CAST after double smartcastKT-59820K2: Investigate the TODO in FirCastDiagnosticsHelpersKT-61100K2: wrong type for "value" parameter of java annotation constructorKT-59996K2: Disappeared INVALID_CHARACTERSKT-62598K2: SOE through JvmBinaryAnnotationDeserializer with nested annotation with value parameter in other moduleKT-59070K1: Unbound private symbol with mixed Java/Kotlin hierarchyKT-60095K2: Introduced INCOMPATIBLE_TYPESKT-61598K2: report IR_WITH_UNSTABLE_ABI_COMPILED_CLASSKT-42625"Unresolved reference" when star import packages with conflicting entriesKT-60123K2: PROPERTY_WITH_NO_TYPE_NO_INITIALIZER isn't working in IDE for lateinit property without a typeKT-59935K2: Disappeared PROPERTY_WITH_NO_TYPE_NO_INITIALIZERKT-57931K1: unsafe assignment of nullable values to not-null Java fields via safe access operatorKT-59992K2: Disappeared KCLASS_WITH_NULLABLE_TYPE_PARAMETER_IN_SIGNATUREKT-58455K2(LT). Internal compiler error "UninitializedPropertyAccessException: lateinit property identifier has not been initialized" on missing type parameter in "where" constraintKT-60714K2: Implement resolve to private members from Evaluator in K2KT-59577K2. Enum constant name is not specified in error textKT-60003K2: Disappeared INVALID_CHARACTERS_NATIVE_ERRORKT-62099K2: "Type arguments should be specified for an outer class" error about typealiasKT-60111K2: Location regressions for operatorsKT-59974K2: Disappeared INAPPLICABLE_INFIX_MODIFIERKT-59399K2: Missing JSCODE_NO_JAVASCRIPT_PRODUCEDKT-59388K2: Missing JSCODE_ERRORKT-59435K2: Missing JSCODE_ARGUMENT_SHOULD_BE_CONSTANTKT-59991K2: Disappeared FORBIDDEN_VARARG_PARAMETER_TYPEKT-60601K2 / Maven: Overload resolution ambiguity between candidates inline methodKT-59973K2: Disappeared INAPPLICABLE_LATEINIT_MODIFIERKT-59933K2: Disappeared USAGE_IS_NOT_INLINABLEKT-60778K2: implement MISSING_DEPENDENCY_CLASS(_SUPERCLASS) errorsKT-62581K2: Difference inkindflag in metadataKT-59967K2: Disappeared UNINITIALIZED_ENUM_ENTRYKT-59956K2: Disappeared INAPPLICABLE_OPERATOR_MODIFIERKT-35913Diagnostic error VAL_REASSIGNMENT is not reported multiple timesKT-60059K2: Introduced VAL_REASSIGNMENTKT-59945K2: Disappeared ANONYMOUS_FUNCTION_WITH_NAMEKT-62573K2: incorrect parsing behavior with named functions as expressionsKT-55484K2:@OptInfalse negative OPT_IN_USAGE_ERROR on equals operator callKT-56629K2: an instance of USELESS_CAST was not moved under EnableDfaWarningsInK2 language featureKT-58034Inconsistent resolve for nested objects in presence of a companion object property with the same nameKT-59864K2: Bad locations with delegatesKT-59584K2: Bad startOffset for 'this'KT-61388K2: ISE "Annotations are resolved twice" from CompilerRequiredAnnotationsComputationSession on nested annotationKT-62628K2: FirErrorTypeRefImpl doesn't have annotationsKT-62447K2. "Replacing annotations in FirErrorTypeRefImpl is not supported" compiler error when annotation is used as variable type or return typeKT-61055K2: Investigate if usage oftoResolvedCallableSymbolis correct at FirDataFlowAnalyzer#processConditionalContractKT-61518K2: IAE: "Expected type to be resolved" at FirTypeUtilsKt.getResolvedType() on usage of Java annotation with default value for enum array parameterKT-61688K2: FIR renderings of type annotations leak through the diagnostics' messagesKT-61794FIR: MergePostponedLambdaExitsNode.flow remains uninitialized after resolveKT-59986K2: Disappeared ITERATOR_MISSINGKT-57802K2: Backend Internal error: RecordEnclosingMethodsLowering.ktKT-59941K2: Disappeared COMPONENT_FUNCTION_MISSINGKT-61076K2: false-positive conflicting overloads error on suspending function and private Java method from a supertypeKT-61075K2: type inference for delegate expressions with complexly bounded type variables fails on properties with annotated accessorsKT-62671K2: fir2ir generates a duplicate of delegated function for class from a common moduleKT-62541K2: Missed type mismatch errorKT-62585KMP, K2: fix ugly reporting of annotation arguments in ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT diagnosticKT-62143Error: Identity equality for arguments of types 'kotlin/Int?' and 'kotlin/Nothing?' is prohibitedKT-62620Warn about@OptIn/@Deprecatedfor overrides of AnyKT-59689K2: Fix complex smartcasts with safe callsKT-61517K2: FirModuleDescriptor should correctly provide dependencies from FirModuleDataKT-62578K2:@NoInferannotation doesn't work for deserialized functionsKT-59916K2: Disappeared REPEATED_ANNOTATIONKT-36844DELEGATE_SPECIAL_FUNCTION_MISSING highlight is missed when Delegate class has getValue property available through the invoke conventionKT-62450K2: Disappeared OPT_IN_USAGE_ERROR for a data class property during the destructuring declarationKT-59997K2: Disappeared OPT_IN_USAGE_ERRORKT-60026K2: Introduced EXPOSED_TYPEALIAS_EXPANDED_TYPEKT-62393K2: FIR doesn't count visibility when creating synthetic property overrideKT-61191K2: Problem with@OptionalExpectationKT-61208EnumEntries mappings are generated incorrectly in the face of incremental compilationKT-57811K2: make java static string and int fields not nullKT-53982Keep nullability when approximating local types in public signaturesKT-62531InvalidProtocolBufferException on reading module metadata compiled by K2 from compilers earlier than 1.8.20 with -Xskip-metadata-version-checkKT-61511IrFakeOverride builder: objc overridability condition is not supportedKT-62316K2: CONFLICTING_INHERITED_JVM_DECLARATIONS on List subclass inheriting remove/removeAt from Java superclassKT-60671KMP: check other annotation targets in expect and actual annotations compatibility checkerKT-62473K2:@Suppress("UNCHECKED_CAST")` doesn't work on rhs of augmented assignment callKT-59433K2: Missing NESTED_CLASS_ACCESSED_VIA_INSTANCE_REFERENCEKT-62451K2: Disappeared OPT_IN_USAGE_ERROR for typealiasKT-62452K2: Violation of OPT_IN_USAGE_ERROR non-propagating opt-in rules for typealiasKT-59927K2: Disappeared INVISIBLE_REFERENCEKT-60080K2: Introduced INVISIBLE_SETTERKT-60104K2: Introduced FUNCTION_CALL_EXPECTEDKT-59979K2: Disappeared SUPERTYPE_INITIALIZED_IN_EXPECTED_CLASSKT-62146K2:@Suppressdoes not work with named argumentKT-62475K2: IrExternalModuleFragments contains incorrect data in Fir2IrKT-59978K2: Disappeared EXPECTED_ENUM_ENTRY_WITH_BODYKT-59015K1+NI: "Type mismatch: inferred type is CapturedType(*) but Xy was expected" with star projection callable reference to extension functionKT-61983K2: *fir.kt.txt dump uses different naming approach for local varsKT-59970K2: Disappeared NULLABLE_TYPE_IN_CLASS_LITERAL_LHSKT-58216K2 (2.0): when is not checked for exhaustiveness with Java sealed classKT-61205Compose Compiler K2/ios: No file for /App|App(){}[0] when running linkPodDebugFrameworkIosX64KT-58087Unexpected type mismatch after nullable captured type approximationKT-58240Support running irText compiler tests against the Native backendKT-59565K2. Internal error "IndexOutOfBoundsException: Index -1 out of bounds for length 0" on incorrect usage of annotation in type parameterKT-59954K2: Disappeared REPEATED_MODIFIERKT-57100K2 does not report Conflicting overloads and backend crashes with Exception during IR lowering on conflict overloading with suspend functionKT-59955K2: Disappeared INCOMPATIBLE_MODIFIERSKT-61572[K2/N] Missing diagnostic SUPER_CALL_WITH_DEFAULT_PARAMETERS in test for MPP supercall with default paramsKT-62262[K2/N] tests/samples/uikit compilation fails with NPE in checkCanGenerateOverrideInitKT-62114K2: Unresolved reference for smart cast insidewhen(but notif)KT-59373K2: Missing INVISIBLE_MEMBERKT-61844K2: "Expression * of type * cannot be invoked as a function" caused by private propertyKT-61735[FIR] Assignment to val with flexible type dispatch receiver causes crashKT-59942K2: Disappeared ANNOTATION_PARAMETER_DEFAULT_VALUE_MUST_BE_CONSTANTKT-62058K2: use PRE_RELEASE flag until 2.0-RCKT-59931K2: Disappeared CLASS_LITERAL_LHS_NOT_A_CLASSKT-62104K2: fix failing tests caused by KT-59940KT-61974K2: "ClassCastException: class cannot be cast to class java.lang.Void" in testKT-61637K2: Store all IR declarations inside Fir2IrDeclarationStorageKT-60921K2: IndexOutOfBoundsException on attempt to cast an element to inner class with type parameterKT-59429K2: Missing ABBREVIATED_NOTHING_RETURN_TYPEKT-59420K2: Missing ABBREVIATED_NOTHING_PROPERTY_TYPEKT-59965K2: Disappeared CANNOT_ALL_UNDER_IMPORT_FROM_SINGLETONKT-59952K2: Disappeared EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERRORKT-61732K2: Analysis API: resolve ambiguities in kotlin projectKT-60499K2: Order of synthetic fields is different from K1's orderKT-61773K2 Native: support reporting PRE_RELEASE_CLASSKT-61578[FIR] Resolution to private companion objects does not produceINVISIBLE_REFERENCEdiagnosticKT-59985K2: Disappeared UNDERSCORE_USAGE_WITHOUT_BACKTICKSKT-62031K2: Render k2-specific flexible types in a more compact way in diagnostic messagesKT-62030K2: Render dot-separated FQNs instead of slash-separated ones in diagnosticsKT-59950K2: Disappeared ILLEGAL_ESCAPEKT-61827K2: Fix rendering ofNO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASSmessageKT-61386IrFakeOverrideBuilder: wrong dispatch receiver typeKT-59907K2: Disappeared RETURN_TYPE_MISMATCHKT-62056K2: Drop FIR_COMPILED_CLASS error in K1KT-61824K2: Don't render internal compiler type annotations in diagnostic messagesKT-61826K2: Fix rendering of SUSPENSION_POINT_INSIDE_CRITICAL_SECTION messageKT-57858@PlatformDependentannotation should be considered in JS and NativeKT-61876K2: FirCommonSessionFactory does not register visibility checker for a library sessionKT-60264K2: while loop body block sometimes replaced with single expressionKT-58542K2: Store abbreviated types in deserialized declarations as attributes for renderingKT-62008K2: Java getter function may be enhanced twiceKT-61921K2: Check for false positive/negative diagnostics caused by wrong handling of typealiasesKT-41997False positive "Value class cannot have properties with backing fields" inside expect classKT-62017K2: ISE "No real overrides for FUN FAKE_OVERRIDE" on calling package-private Java method through anonymous objectKT-58247Incorrect inference of nullable types inside OptionalKT-61309K2: Only named arguments are available for Java annotationsKT-61366IrFakeOverrideBuilder ignores package-private visibilityKT-59899K2: Disappeared EXPECTED_DECLARATION_WITH_BODYKT-59980K2: Disappeared EXPECTED_ENUM_CONSTRUCTORKT-59982K2: Disappeared EXPECTED_CLASS_CONSTRUCTOR_PROPERTY_PARAMETERKT-61499K2: False positive "Const 'val' initializer should be a constant value" when using typealiasKT-62005K2: No conflicting declarations error for constructors of nested classes and member functionsKT-60092K2: Introduced EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERRORKT-61972K2: FIR2IR crashes on converting data classes in MPP setupKT-60105K2: Introduced UNDERSCORE_USAGE_WITHOUT_BACKTICKSKT-60075K2: Introduced ACTUAL_WITHOUT_EXPECTKT-29316Change diagnostics strategy for equality-operators applicabilityKT-61751IrFakeOverrideBuilder: keep flexible type annotations when remapping/substituting typesKT-61778K2: Overload resolution ambiguity between expect and non-expect in native buildKT-57703K1/K2: unprecise constraint system behavior around integer literals and comparable arraysKT-61367K2: Introduce OptIn for FirExpression.coneTypeOrNullKT-61802K2: infinite recursion in constant evaluator causing StackOverflowErrorKT-60043K2: Introduced PROPERTY_AS_OPERATORKT-61829K2. Internal error, FileAnalysisException when type argument doesn't conform expected typeKT-61691K2: This annotation is not applicable to target 'local variable'KT-59925K2: Disappeared VIRTUAL_MEMBER_HIDDENKT-61173K2: FirProperty.hasBackingField is true for an expect valKT-61696K2: Cannot override method of interface if superclass has package-protected method with same signatureKT-59370K2: Missing JS_NAME_CLASHKT-36056[FIR] Fix implementation of try/catch/finally in DFAKT-61719K2. Invisible reference is shown for whole type reference instead of single name referenceKT-35566False negative UPPER_BOUND_VIOLATED in a supertype of an inner classKT-60248K2: Type abbreviations are not stored in IRKT-61720K2: Delegates: Property type not specialised in property reference of setterKT-59251KMP/JS: forbid matching actual callable with dynamic return type to expect callable with non-dynamic return typeKT-61510K2: internal declarations are invisible in cyclically dependent modulesKT-54890FIR: fix resolve contract violations in FIRKT-60048K2: Introduced MISSING_EXCEPTION_IN_THROWS_ON_SUSPENDKT-59425K2: Missing JS_FAKE_NAME_CLASHKT-59529K2: "property delegate must have" caused by class hierarchyKT-55471K2. Unresolved reference for nested type is shown instead of outer classKT-58896K2: Higher priority expect overload candidates in common code lose in overload resolution to non-expectsKT-60780K2: missing PRE_RELEASE_CLASSKT-59855K2: Replace FirExpression.typeRef with coneTypeKT-53565K2: no WRONG_ANNOTATION_TARGET on when subjectKT-54568K2: Type variables leak into implicititparameter of lambdasKT-60892K2: Implement diagnostics around@OptionalExpectationKT-60917K2: "Unresolved reference" for operator for array valueKT-59367K2: Missing MIXING_SUSPEND_AND_NON_SUSPEND_SUPERTYPESKT-60268K2: lazy annotation classes have wrong modalityKT-60536K2: FIR2IR Crash when resolving to companion of internal class with Suppress("INVISIBLE_REFERENCE")KT-60292K2: annotations on local delegated properties are lostKT-59422K2: Missing NON_SOURCE_ANNOTATION_ON_INLINED_LAMBDA_EXPRESSIONKT-61407K2: java.lang.IllegalArgumentException: Stability for initialized variable always should be computableKT-59186K2: False negative CONFLICTING_OVERLOADS in nested functionsKT-54390K2: ClassId for local classes do not match with specificationKT-61277K2: Expand the MIXING_SUSPEND_AND_NON_SUSPEND_SUPERTYPES check to other function kindsKT-61548Compiler crashes with StackOverflowError when mapping typesKT-56757DropIGNORE_BACKEND_K2_LIGHT_TREEdirectiveKT-61330K2: No BinarySourceElement for system librariesKT-61166Inherited platform declaration clash & accidental overrideKT-58764[K2] MakeFirResolvedDeclarationStatus.modalitynot nullableKT-61576[FIR] Private type alias for public class constructor is always visibleKT-46031False negative SEALED_INHERITOR_IN_DIFFERENT_MODULE in bamboo HMPP hierarchyKT-59804K2: Repeat theSealedInheritorInSameModuleCheckerHMPP logicKT-59900K2: Disappeared NESTED_CLASS_NOT_ALLOWEDKT-61067K2. NoAssignments are not expressionsKT-61144FIR2IR: Fix field access for class context receiver from debugger evaluator in K2KT-59914K2: Disappeared RETURN_NOT_ALLOWEDKT-60136Wrong IR is generated for spread call in annotation call when annotation has a vararg parameterKT-56872K2: not all reassignments, operator assignments, increments, decrements are tracked in DFA for try/catch expressionsKT-60397K2/MPP: don't perform enhancement twice when Java method is called from different modulesKT-61640K2: Share declarations from JvmMappedScope between sessions in MPP scenarioKT-59051"ISE: IrSimpleFunctionSymbolImpl is already bound" when implementing multiple interfaces by delegation where one of them overrides equals/hashCodeKT-60380K2: IAE: class org.jetbrains.kotlin.psi.KtLambdaArgument is not a subtype of class org.jetbrains.kotlin.psi.KtExpression for factory TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEMKT-60795K2: missing INCOMPATIBLE_CLASS and corresponding CLI errorKT-59650K2: Get rid ofFirNoReceiverExpressionKT-60555K2. FirJavaClass source field is nullKT-61045K2: Missing return from DELEGATED_PROPERTY_ACCESSOR setterKT-60636KMP: K2 handling of actual typealiases to nullable typesKT-59815K2: Avoid recomputingargumentVariablesKT-61409Kotlin/Native: crash in kmm-production-sample (compose-app) with escape analysis enabledKT-61348K2: Refactor FIR2IR declaration storagesKT-54905KLIB check on compiled with pre-release versionKT-61249Move fir-related code from backend.native moduleKT-59478K2: StackOverflowError on invalid code with nullable unresolvedKT-59893K2: Disappeared WRONG_NUMBER_OF_TYPE_ARGUMENTSKT-60450K2: IOOBE from analyzeAndGetLambdaReturnArgumentsKT-57076K2 does not report 'More than one overridden descriptor declares a default value'KT-55672K2. Operator name message instead of "Unresolved reference" when operator isn't defined for typeKT-61454K1: False positive WRONG_NUMBER_OF_TYPE_ARGUMENTS when typealias is LHS of class literalKT-60252K2: Supertype argument is not substituted in fake override receivers and value parametersKT-60687K2: Introduced UNEXPECTED_SAFE_CALLKT-61312K2: Remove FirExpression.typeRef completely when Compose was migratedKT-60602Fix scripting tests in 2.0 branchKT-60771K2: "Conflicting declarations". Unable to re-declare variable if the first one comes from a destructured elementKT-60760K2: Every FirFunctionCall has an implicit type reference which points to the return type declarationKT-59944K2: Disappeared NON_MEMBER_FUNCTION_NO_BODYKT-60936KMP: check annotations compatibility on members inside expect and actual class scopesKT-60668KMP: check expect and actual annotations match when actual method is fake overrideKT-60250K2: origin is set too many times for elvis operatorKT-60254K2: Extra unset type argument on Java field referenceKT-60245K2: Extra return is generated in always throwing functionKT-59407K2: Missing MISSING_CONSTRUCTOR_KEYWORDKT-57681Request review for all FIR diagnostic messagesKT-60885K2: FixtestSelfUpperBoundInferencetest in LV 2.0 branchKT-59957K2: Missing UNSUPPORTED_SEALED_FUN_INTERFACEKT-60000K2: Missing UNSUPPORTED_INHERITANCE_FROM_JAVA_MEMBER_REFERENCING_KOTLIN_FUNCTIONKT-60886K2: FixtestDirectoryWithRelativePathin LV 2.0 branchKT-59419K2: Missing MULTIPLE_DEFAULTS_INHERITED_FROM_SUPERTYPES_WHEN_NO_EXPLICIT_OVERRIDEKT-59748K2: Return type mismatch: expected Unit, actual Any? for when with an assignment in branchKT-60297K2: finally block is not coerced to unitKT-59860[FIR] False-positiveUNEXPECTED_SAFE_CALLKT-46794Contract not working with extension function in classKT-59101Contract not smartcasting for private extension functions inside classKT-59387K2: Missing NO_CONSTRUCTORKT-22499Missing error on 'x == y' for different numeric types inferred from smart castsKT-56867Green in K1 -> red in K2 for unsound code.catch_endtogood_finallydata flowKT-57526K1: "NullPointerException: Cannot invoke "com.intellij.psi.PsiElement.getParent()" because "current" is null" with labelKT-46383EQUALITY_NOT_APPLICABLE is not taking smart cast into consideration inifblockKT-32575Bound smartcasts in contractsKT-58331Erroneous suspend conversion on anonymous function should not affect call resolutionKT-37591Deprecate cases in FE 1.0 when companion property is prioritized against enum entryKT-53210OVERLOAD_RESOLUTION_AMBIGUITY when lambda with single argumentitis involvedKT-51796False positive smart cast after safe call to contract function with nullable receiverKT-52782Receiver type mismatch error due to ProperTypeInferenceConstraintsProcessing compiler featureKT-57308Incorrect property type inference after contracted smart cast of generic typeKT-18130Smart cast can be broken by expression in string templateKT-21915Generic parameter of a reference gets wrongly smart-casted after a castKT-22454Unsound smartcast in nested loops with labeled break from while-trueKT-17694Smart cast impossible on var declared in init block with a secondary constructorKT-47895NullPointerException inPSICallResolver.resolveToDeprecatedModwith incorrect loop rangeKT-47378Missed FUNCTION_CALL_EXPECTED diagnostic on wrong code with callable referenceKT-43408False positive CAPTURED_VAL_INITIALIZATION on crossinline val property initialization with EXACTLY_ONCE lambda call from the init blockKT-35565False negative UNINITIALIZED_VARIABLE, VAL_REASSIGNMENT, and INVISIBLE_SETTER errors in unreachable code blockKT-10420Shadowed variable declaration in inner function makes compiler behave strangeKT-49881"AssertionError: Base expression was not processed: POSTFIX_EXPRESSION" when analyzing dangling [bracketed] expression with postfixKT-53847Missed USAGE_IS_NOT_INLINABLE when using runCatching with the inline function's functional argument as a receiverKT-53802No smartcast after a while (true) infinite loop with breakKT-27754Stack Overflow Error in pseudocode analysisKT-41131Error: java.lang.AssertionError: Rewrite at slice LEAKING_THIS when invoking non final constructor property in init blockKT-42962False positive "ACCIDENTAL_OVERRIDE" when field name annotated with@JvmFieldconflicts with getter/setter from JavaKT-49507JVM: "IllegalAccessError: class X tried to access private field" with same-named Kotlin property and Java base class fieldKT-35752"AE: Recursion detected in a lazy value" with type alias and inner class from another moduleKT-28333Smartcast is wrong if while(true) and break as a part of expression is used (possible NPE)KT-28489Smartcast is wrong if not-null assertion in while condition + break to the parent while is used (produces NPE)KT-28369Var not-null smartcasts are wrong if reassignments are used inside another expressionsKT-26612Smartcast don't work in not-null checks + NotNull contractKT-7676Redundant cast of var is not redundant?KT-51984Cannot usex == nullwhen Java class X declares equals(@NonNull)KT-56249No method equals for HttpMethod in Spring Boot 3KT-56264incorrect type inference/smart cast for exhaustive try catchKT-24565Incorrect floating point comparisons in constant expressionsKT-54333False positive CONST_VAL_WITH_NON_CONST_INITIALIZER on negative literals in const valsKT-53447Leaking/unrefined types from main source set when main/test use different library versionsKT-35981No smart cast and UNSAFE_CALL error when using not() function instead of inverse operatorKT-33132Cannot override the equals operator twice (in a class and its subclass) unless omitting the operator keyword in the subclassKT-55335Don't report SUPERTYPE_NOT_INITIALIZED for annotation supertype, because FINAL_SUPERTYPE is already reportedKT-27936Write InnerClasses attribute for all class names used in a class fileKT-53261Evaluate effect from inline for primitive typesKT-31367IllegalStateException: Concrete fake override public open fun (...) defined in TheIssue[PropertyGetterDescriptorImpl@1a03c376] should have exactly one concrete super-declaration: []Compose Compiler
New features
Bug fixes
Docs & Examples
New Features
KT-66958[Docs][JVM] Add info about generating lambda functions like the Java compiler by defaultFixes
KT-63618[Docs] Create documentation for Kotlin power-assert compiler pluginKT-67902[Docs][Wasm] K/Wasm: support new version of exception handling proposalKT-67944[Docs][K2][IDE] Update IDE support description for K2KT-67865[Docs][K2] update Kotlin Release PageKT-66957[Docs] [Gradle] Build reports are StableKT-67936[Docs][Build tools] Update KGP variantsKT-67508[Docs] Talk about the new Compose Gradle pluginKT-67347Remove docs on dropped K/JS feature "Ignoring compilation errors"KT-64710[Docs] Update What's new for 2.0.0-BetaXKT-63001K2: Organize team-wide talks about new FIR2IR & PCLAKT-6259Docs: add information about default constructor for classIDE
KT-50241Make Symbol Light Classes consistent with Ultra Light ClassesKT-60318K2: disable SLC for non-JVM platformsKT-56546LL FIR: fix lazy resolve contract violation in Symbol Light ClassesKT-55788[SLC] Declarations with value classes are leaked into light classesKT-61195UAST modeling of implicititis inconsistent forEnum.entriesKT-62757SLC: incorrect nullability annotation on aliased typeKT-62440On the fly resolve with light method context doesn't resolve method type parametersKT-57550K2: AA: incorrect constant value in file-level annotationKT-61460SLC: unnecessary upper bound wildcards (w/ type alias)KT-61377K2: SLC: wrong retention counterpart for AnnotationRetention.BINARYIDE. Gradle Integration
KT-65617K/N project import fails if ~/.konan dir is emptyKT-45775Improve quality of ImportIDE. JS
KT-61257Analysis API:"KotlinIllegalArgumentExceptionWithAttachments: Invalid FirDeclarationOrigin DynamicScope" exception on unsupported JS dynamic usage in scopeIDE. Multiplatform
KT-45513Run c-interop generation in parallel during project importKT-63007K2: Analysis API Standalone: klibs are not resovled from common codeKT-63126K2: Analysis API Standalone: IllegalStateException from Kotlin/Native klibKT-61520Sources.jar is not imported for common and intermediate source-sets from the MPP libraryIDE. Script
KT-61267K2 Scripts: dependency issuesKT-60418K2 scripting: highlighting sometimes failsKT-60987K2: Analysis API: make build.gradle.kts resolution work on build scripts from kotlin projectsIR. Actualizer
Fixes
KT-67488K2: AssertionError No such value argument slot in IrConstructorCallImpl: 0 (total=0KT-60847K2: Fake overrides are incorrect after actualizationKT-65274IrFakeOverrideBuilder: ISE: "IrFieldPublicSymbolImpl is already bound"KT-63756K2: "AssertionError: No such value argument slot in IrConstructorCallImpl" caused by actual typealias for annotation with default parameterKT-65236IrFakeOverrideBuilder: ISE: "should not be called"KT-65116K2: IrFakeOverrideBuilder: "No override for FUN" if the function has already been overridden by another class in K <- J<- K <- J hierarchyKT-65499IrFakeOverrideBuilder: ISE IrSimpleFunctionPublicSymbolImpl is already bound for irrelevant 'remove' clashing with a function from Java collection subclassKT-64150IrFakeOverrideBuilder: Fake overrides for static java functions are not generatedKT-65432IrFakeOverrideBuilder - No override for FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:elementDataKT-64895K2:IrActualizer corrupts attributeOwnerId valueKT-58861K2: Improve the new pipeline of FIR2IR conversion, IR actualization and fake-override generationKT-64835K2: K/JS: Expect declaration is incompatible errors in the K2 QGKT-63347K2: Fix overridden symbols inside LazyDeclarationsKT-62535K2: FakeOverrideRebuilder can't handle f/o without overridden symbolsKT-62292K2: Extract IrActualizer into separate moduleKT-63442IrFakeOverrideBuilder: ISE "Multiple overrides" error when function signatures differ only in the type parameter upper boundKT-62623K2: Ir actualizer leaves inconsistent module links from filesIR. Inlining
KT-66017K2 / Native: "NoSuchElementException: Sequence contains no element matching the predicate" on building native release binariesKT-64868[K/N] Inlined assert is later not removed, even without-eaKT-64807Refactor InlineFunctionResolverKT-64806Move FunctionInlining to separate moduleIR. Interpreter
KT-64079Native library evolution behaviour for constantsKT-62683K2: FIR2IR: IrConst*Transformer doesn't evaluate an expression for const val initializerIR. Tree
KT-66152IrFakeOverrideBuilder: AssertionError "different length of type parameter lists"KT-65971K2: Investigate diagnostic test failures with IrFakeOverrideBuilderKT-64974Consolidate visibility checks in IrFakeOverrideBuilderKT-61360Fix essential problems in IrFakeOverrideBuilderKT-61970Refactor IR and FIR tree generators to reuse common logicKT-61703Drop the dependency on kotlinpoet for IR tree generationKT-63437IrFakeOverrideBuilder: ISE "Captured Type does not have a classifier" on complex Java hierarchyKT-61934Decouple building fake overrides from symbol table and build schedulingKT-60923IR: Mark IrSymbol.owner with OptInJavaScript
New Features
KT-56206KJS / Reflection: add KClass.createInstanceKT-44871Add@JsExportand@JsNameannotations to stdlib classes (especially collections) to avoid method name mangling and improve Kotlin usability from JSKT-8373JS: support ES6 as compilation targetKT-65168Introduce an ability to create type-safe JS objectsKT-45604KJS / IR: UseglobalThisinstead of top levelthisFixes
KT-66922K2 JS: Intrinsic Float/Double toString producing wrong numbersKT-64135K2 / KJS: Incorrect value class support when used with inline funKT-67978K2: Declaration of such kind (expect) cannot be exported to JavaScriptKT-64951Kotlin-Multiplatform does not allow JSExport of expectKT-63038Compilation of suspend functions into ES2015 generatorsKT-16981js: Command line arguments passed tomain()are always emptyKT-34995JS: List, Map, and Set types are hard to use from JS because of mangled member namesKT-51225JS IR & Wasm: using nested expect enum entry in a default argument failsKT-63907KJS: default parameters in interfaces are lost in implementationsKT-64708KJS: exported interfaces missing __doNotUseOrImplementIt when extending from external typesKT-62806KJS: Type mismatch on inferred return type with NothingKT-64421K2: Implement IrJsTypeScriptExportTestGenerated for K2KT-61526KJS: Compiled files clash with the new per-file granularityKT-63359K2: support new ways to declare TestResult in JS TestGenerator loweringKT-61929KJS: "IllegalStateException: No dispatch receiver parameter for FUN LOCAL_FUNCTION_FOR_LAMBDA" caused byrunfunction in init blockKT-65216K2 JS: False positive JS_NAME_CLASH diagnostic on generic interfaceKT-64548KJS / K2: "Cannot find delegated constructor call" caused by external classes constructorsKT-64867K2 JS: Name clash between constructors with same JsName but in different classesKT-64463KJS / K2: "Name contains illegal chars that cannot appear in JavaScript identifier" caused by non-ASCII characterKT-64451K2: Implement MultiModuleOrderTestGenerated for K2KT-64450K2: Implement SourceMapGenerationSmokeTestGenerated for K2KT-64366KJS / K2: Exported declaration uses non-exportable return type: 'kotlin.?'KT-64426K2: Implement JsIrLineNumberTestGenerated for K2KT-64422K2: Implement IrJsSteppingTestGenerated for K2KT-64364K2 / KJS:@JSExportsgenerates clashing declarations for companion objects that extends its own classKT-64445K2: Implement **VersionChangedTestGenerated for K2KT-64446K2: Implement JsIrInvalidationPerFileWithPLTestGenerated for K2KT-64423K2: Implement JsIrES6InvalidationPerFileTestGenerated for K2KT-63543KJS / K2: Exported declaration uses non-exportable return type type: 'kotlin.Unit'KT-61596K2 JS: support reporting PRE_RELEASE_CLASSKT-61117Migrate remaining legacy IC tests to IRKT-61523KJS: Call main function in per-file modeKT-63089KJS / K2 : "IllegalArgumentException: source must not be null " for inner class and interface as typeKT-56818KJS: "TypeError: Class constructor * cannot be invoked without 'new'" when extending external classKT-62077KJS: TypeError: str.charCodeAt is not a functionKT-63436K/JS: Eliminate names for synthetic classes in setMetadataFor()KT-63013KJS:requireNotNullnot working correctly in JS tests with Kotlin 1.9.20KT-61525KJS: Test functions are not invoked in per-file modeKT-62425K/JS: Implement K2 and K1 diagnostics for checking argument passing to js()KT-61524KJS: Eager initialization doesn't work in per-file modeKT-61862KJS: Can't create kotlin.js.Promise inheritorKT-61710K/JS: Implement JS_NAME_CLASH check for top level declarationsKT-61886K/JS: Prepare K/JS tests for JS IR BE diagnosticsKT-60829Fix JS Incremental tests in 2.0 branchKT-60635K/JS: Class internal methods may clash with child methods from other module that have the same nameKT-60846FixIncrementalJsKlibCompilerWithScopeExpansionRunnerTestGeneratedtest in 2.0 branchKMM Plugin
KT-59270Update wizards in KMM AS plugin after 1.9.20 releaseKT-60169Generate gradle version catalog in KMM AS pluginKT-59269Update wizards in KMM AS plugin after 1.9.0 releaseKlibs
New Features
KT-66367KLib ABI dump: support wasm_target manifest attributeKT-65442[klibs] header klibs: keep internal declarations and declarations inside inlinesKT-62213[klibs] header klibs should keep private interfacesKT-62259KLIB ABI reader: add information about a backing field to AbiPropertyKT-62341[KLIB tool] Dump declared & imported signatures by IR (not metadata)KT-60807[klib] Add an option to write out header klibsFixes
KT-67401KLib ABI dump: write plain targets in the manifestKT-66970K2: "IrLinkageError: Function * can not be called" when calling@JvmStaticfunctions in Native testKT-64440K2: Port KotlinKlibSerializerTest to K2KT-66921K/JS backend doesn't report "/ by zero" and fails with const val property must have a const initializerKT-66611Check, that no bad IR is produced, when we failed to compute constant default value in constant contextKT-33411Kotlin/Native crashes if several libraries have declarations with the same FQ nameKT-44626Umbrella issue: different kinds of klib IR linker error messagesKT-64452K2: Port FilePathsInKlibTest to K2KT-64395API for ABI: Add a check for the file's existence to KLIB ABI ReaderKT-61143[klib tool] Dump IR with unbound symbolsKT-65723K2: Signature clash diagnostic fails for parametrized function with Unsupported pair of descriptorsKT-65063Clashing KLIB signatures from different modules result in an exceptionKT-64085Different klib signatures for K1/K2 for overridden properties assigned in init blockKT-63573K2: Dependency problems with dependencies with same artifact idKT-64082Different klib signatures in K1/K2 for the same locally used constant declarationKT-63931[K/N] Relative path to klib option of cinterop tool doesn't workKT-60390KLIBs: Wrong IrSymbol is used for deserializedexpectproperty's backing field & accessorsKT-61136Drop ExpectActualTable + clean-up the relevant codeKT-61767[K/N] Header klibs should keep private underlying properties of value classesKT-61097[PL] Don't create an executable if there were errors in PLLanguage Design
New Features
KT-64510Proceed to next tower level if property setter is invisible in assignmentKT-59553K2: Simplify rules for upper bound violated checks for qualifier in LHS of class literalKT-11272Resolve combined index-accessed get and set operatorsKT-65682Deprecateheader/implkeywordsKT-65965KMP: Parameter properties in constructor of external classKT-57274Allow generic argument to have explicitNothingupper boundKT-1982Smart cast to a common supertype of subject types after||(OR operator)KT-65964KMP: Private constructor in external classesKT-37316Allow actual classifier to have more permissive visibility than visibility of expect classifierKT-58616KMP: consider relaxing the classifier visibility matching rulesKT-37115Smart cast with boolean expressions and early return / throw statementsKT-7186Smart cast for captured variables inside changing closures of inline functionsKT-62138K1: false positive (?) NO_SET_METHOD for += resolved as a combination of Map.get and plusPerformance Improvements
KT-38101Exponential analysis of += callsFixes
KT-64187K2: False positive ABSTRACT_NOT_IMPLEMENTED caused by the fact that common code sees platform code of its dependenciesKT-57290Deprecate smart cast on base class property from invisible derived class if base class is from another moduleKT-54309Deprecate use of a synthetic setter on a projected receiverKT-61718Forbid unsound code with self upper bounds and captured typesKT-54607Can't use same function if having multiple instances of same subtype in samewhen-statementKT-27252Smart cast in when on a sealed class depends on the order of "is" checksKT-57178Change inferred type of prefix increment to return type of getter instead of return type of inc() operatorKT-61749Forbid unsound bound violation in generic inner class of generic outer classKT-64342SAM conversion of parameter types of callable references leads to CCEKT-64299Companion scope is ignored for resolution of annotations on companion objectKT-66453Consistently resolve operator/infix calls like function calls in presence of classifier candidate for receiverKT-62923K2: Introduce PROJECTION_IN_IMMEDIATE_ARGUMENT_TO_SUPERTYPE for projections of outer super types of inner classKT-65724Propagate data flow information from try block to catch and finally blocksKT-65750Increment and plus operators that change return type must affect smart castsKT-58881K2: Run checkers in common code against platform sessionKT-62646Decide on the equality compatibilityKT-65775K2: Consider prohibiting actual typealias to superclassKT-65881K2: MissingITERATOR_MISSINGinforloop on objectKT-61340K2: Allowed smart cast in common which should be prohibited in platformKT-51827Inconsistent behavior with smartcast and protected membersKT-58589Deprecate missed MUST_BE_INITIALIZED when no primary constructor is presented or when class is localKT-26983Gradle buildscript (kotlin-dsl): "Smart cast to 'Foo' is impossible" due to same variable namesKT-62959Value of captured type is not a subtype of the same captured typeKT-64828Update KEEP for SubclassOptInRequiredKT-64739Mark@SubclassOptInRequiredas an experimentalKT-26044When expression is not considered to be exhaustive for empty nullable sealed and enum classesKT-57422K2: Prohibit use-site 'get' targeted annotations on property gettersKT-58921K1/K2: difference in Enum.values resolve priorityLibraries
New Features
KT-65532Stabilize experimental API for 2.0KT-60657Introduce Common String.toCharArray(destination) in stdlibKT-57150Introduce common protected property AbstractMutableList.modCountKT-57151Introduce common protected function AbstractMutableList.removeRangeKT-66102Constructor-like function for creating AutoCloseable instancesKT-59441Design reading and writing future versions of Kotlin metadataPerformance Improvements
KT-64361Optimization opportunity in Int.signKT-65590Make CharSequence.isBlank idiomatic and improve its performanceKT-61488Kotlin/Native stdlib: simplify ArrayList implementationKT-51058Avoid byte array allocation in File.writeText when possibleKT-58588Optimizations for sequence functions distinct, flattenFixes
KT-67397Switch remaining org.jetbrains.kotlin libs to K2KT-61969Migrate kotlin-test to the current Kotlin Multiplatform PluginKT-60803Experimental AutoCloseable 'use' method is not resolved in JavaKT-63156Remove all deprecated declarations in kotlinx-metadata-jvmKT-54879Add callsInPlace contract for more functions in stdlibKT-55777Unresolved kotlin.AutoCloseable in JVMKT-63219Change root package and coordinates of kotlinx-metadata-jvm to kotlin.*KT-65518Memory leak in buildMap and in Wasm/Js/Native (Linked)HashMapKT-65525JS: Wrong return value of HashMap.keys.removeKT-63397kotlin-test should declare runtime dependency on "org.junit.platform:junit-platform-launcher"KT-65242Update transitive dependencies of JVM test frameworks in kotlin-testKT-63355Detect concurrent modifications in ArrayDequeKT-64956Implement optimized removeRange for ArrayDequeKT-58039Wasm: Implement unsigned numbers using wasm builtin capabilitiesKT-63341K2: JVM StringBuilder has no corresponding members for expected class membersKT-63714K2: kotlinx-benchmarks fails with "Unable to find method ''org.gradle.api.tasks.TaskProvider" with register("js")KT-63157Make sure that all deprecation levels are raised to ERROR for declarations intended for removal from kotlinx-metadataKT-60870kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table In kotlinx-metadata-jvmKT-64230Prohibit writing versions of metadata that are too highKT-62346Sublists of ListBuilder does not correctly detect ConcurrentModificationKT-57922kotlinx-metadata-jvm does not take into account strict semantics flagKT-63447K2: stdlib buildscript error: file included in two modulesKT-62785Drop unnecessary suppresses in stdlib after bootstrap updateKT-62004Drop legacy JS compilations of stdlib and kotlin-testKT-61614WASM: Enum hashCode is not finalMultiplatform Wizard
KT-66188Update Compose for Desktop version to 1.6.0Native
New Features
KT-61642[K/N] Serialize full IdSignatures to cachesPerformance Improvements
KT-63749konan_lldb.py: is_string_or_array inefficientFixes
KT-67218Native: nested classes in kx.serialization ProtoBuf produce empty array for release binaryKT-66390Universal binary in included binaries produces universal archive as outputKT-60817K2/N: Fix remaining testsKT-65659[K/N][K2] Typealiased kotlin.Throws isn't translated to NSError out paramKT-64249Native: Implicit cache directory search is O(n^2)KT-61695[K/N] Empty list error in FakeOverridesActualizer with K2KT-57870compileKotlinNative fails on windows if PATH contains invalid entryKT-64508IndexOutOfBoundsException in Konan StaticInitializersOptimizationKT-50547[Commonizer] K/N echoServer sample fails with multiple "Unresolved reference" errors on WindowsKT-62803Konanc has print statement "Produced library API in..." that should be deleted or properly logged at INFO levelKT-61248[K/N] Extract native manglers out ofbackend.nativemoduleNative. Build Infrastructure
KT-63905Extract ObjC Export Header generation from K/N backendKT-63220[K/N] Unable to specify custom LLVM distributionNative. C and ObjC Import
KT-63049NPE in BackendChecker.visitDelegatingConstructorCall compiling ObjC-interop classKT-49558Kotlin/Native: "Backend Internal error: Exception during IR lowering" while compiling "val ldap = memScoped { alloc() }"KT-64105[K2/N] cannot access Objective-C forward declared class used only in a dependent libKT-59597[K\N] Usage of instancetype in block return type crashesKT-63287[K/N] Create test model for building/executing C-Interop testsKT-63048K2 ObjC interop: Fields are not supported for Companion of subclass of ObjC typeNative. ObjC Export
KT-66565Exporting framework "umbrella" produces an unimportable frameworkKT-65863Native: implement a flag to emit compiler errors on ObjCExport name collisionsKT-63153Native: implement a flag to emit compiler warnings on ObjCExport name collisionsKT-62091KMP for iOS framework with private api : __NSCFBooleanNative. Runtime
KT-65170Kotlin/Native: deprecate -Xworker-exception-handling=legacy with errorNative. Runtime. Memory
KT-62689Native: generate signposts for GC performance debuggingKT-63423Kotlin/Native: huge dispose-on-main overheadKT-66371Native: nullptr access during concurrent weak processing in CMS GCKT-64313Kotlin Native: Seg Fault during Garbage Collection on 1.9.21 (observed on iOS)KT-61093Kotlin/Native: enable concurrent weak processing by defaultNative. Stdlib
KT-60514Add llvm filecheck tests for atomic intrinsicsNative. Testing
KT-67501Mute flaky driver tests on macOS agentsKT-64755Setup test for CMS GCKT-66014[K/N][Tests] Some testsuites don't test two-stage compilation and lose -language-version flagKT-64393Use Compiler Core test infrastructure for testing serialization diagnostics on NativeKT-61871Native CompilerOutput tests should be runned for K2KT-65117ImplementIrBackendFacades for Kotlin/Native backendKT-65979Improve test coverage on K/JS and K/JVM with existing testsKT-64408[K/N] No tests have been found foreagerInitializationGlobal1test with per-file-cachesKT-64256IR_DUMP directive doesn't enforce FIR_IDENTICAL when it is possibleKT-62157Native: Migrate FileCheck tests to new native test infraReflection
KT-65156Calls tocallBythat use default arguments fail withKotlineReflectionInternalErrorwhen the argument size is a multiple of 32 in a constructor that containsvalue classas a parameterKT-57972Reflection: "KotlinReflectionInternalError" when usingcallBywith overridden function in inline classKT-60708Reflection: Not supported)(parentheses in backticks)KT-60984K2: java.lang.ClassNotFoundException: kotlin.Array in runtime with Spring Boot testKT-60709Reflection: Not recognized bound receiver in case of 'equals' always returning trueSpecification
KT-65651Add Vladimir Reshetnikov to the specification "Acknowledgments" sectionKT-54499Update kotlin specification for non-local break and continueTools. Build Tools API
KT-61860Add infrastructure for BTA testsKT-65048"Can't get connection" (to daemon) when classpath has spacesTools. CLI
New Features
KT-66703Add JVM target bytecode version 22KT-64989Mark the whole diagnostic position range instead of only start positionFixes
KT-65094K2: Revise PerformanceManager reportingKT-67417CLI: Remove option -XrepeatKT-65451K2: CLI: false positive warning "scripts are not yet supported with K2 in LightTree mode" on irrelevant files in source directoryKT-65842K2 / CLI: "kotlinc -version" creates META-INF/main.kotlin_moduleKT-66926Add a flag to report warnings when errors are foundKT-64384Until the REPL in K2 is not supported, display an appropriate warningKT-64608K2: Wrong end position of compiler diagnosticsKT-64013CLI REPL: "com.sun.jna.LastErrorException: [14] Bad address" on invoking kotlinc from CLI on ARM MacKT-62644Don't enable in progressive mode bug-fix features without target versionKT-62350CLI: no color output on Apple silicon MacsKT-61156K2: do not try to run compilation if there were errors during calculation of Java module graphKT-48026Add the compiler X-flag to enable self upper bound type inferenceTools. CLI. Native
KT-64517Drop deprecated KonanTargetsTools. Commonizer
KT-64376Commonizer incorrectly retains UnsafeNumber annotation in target sets where it shouldn'tTools. Compiler Plugin API
KT-59555Expose resource closing extension point inCompilerPluginRegistrarKT-64444K2: IrGeneratedDeclarationsRegistrar.addMetadataVisibleAnnotationsToElement doesn't work for declarations in common moduleTools. Compiler Plugins
New Features
KT-63617Add kotlin-power-assert to Kotlin repositoryKT-33020Support stripping debug information in the jvm-abi-gen pluginKT-64591Data class' copy method is never stripped from ABIKT-65690jvm-abi-gen: Remove internal declarations from ABIKT-64590jvm-abi-gen: Effectively private classes are not being removed from ABIFixes
KT-64707K2: Parcelize ignores@TypeParcelerset for typealiasKT-67523[K2] Actualizer cannot reconcile mismatched parameter names from java supertypesKT-67489JsPlainObjects Plugin: Method not found when consumingKT-63607Migrate kotlin-power-assert into Kotlin repositoryKT-67354K2 Parcelize: support efficient Parcel serializer for parcelables in the same moduleKT-64454K2: Implement ParcelizeIrBytecodeListingTestGenerated for K2KT-67353K2 Parcelize: support parcelableCreator intrinsicKT-66526K2: Special function kind setup does not work for value parameter whose type is function with a receiverKT-63507K2 / All-open plugin: "'open' has no effect on a final class" warningKT-66208PowerAssert: some built-in operators are not aligned correctly for some valuesKT-65810PowerAssert: Infix transformation doesn't capture full contextKT-65640PowerAssert: Infix function not aligned correctlyKT-61993K2: Synthetic file classes are generated with start offset of 0, causing errors during compilationKT-64971Exception is thrown when compiling kotlinx.coroutines to Native because of the new signature clash diagnosticsKT-59074K2: false-positive MUST_BE_INITIALIZED_OR_FINAL_OR_ABSTRACT if allOpen plugin is used and a val is defined with init {} blockKT-64589jvm-abi-gen: Order of class members affects ABI jarKT-65072jvm-abi-gen: SourceDebugExtension annotation isn't stripped along with corresponding attributeKT-54025[K2] [NONE_APPLICABLE] compiler error in case @ AllArgConstructor annotation is used together with a static fieldKT-54054[Lombok] An extra unneeded constructor parameter is expected by compiler if java class annotated with @ AllArgsConstructor and has private final initialized fieldKT-61432K2 Parcelize. RawValue is not recognized if parameter is annotated via typealiasKT-64656K2: realm-kotlin: compilation errors in IR pluginKT-53861K2. Report SERIALIZER_TYPE_INCOMPATIBLE on specific type argument in kotlinx.serializationKT-63086K2: "Parcelable should be a class"KT-60849jvm-abi-gen: do not treat hasConstant property flag as a part of ABI for non-const propertiesKT-53926K2. Don't check serializable properties from supertypesTools. Compiler plugins. Serialization
KT-65757K2: Missing@Deprecatedannotation on synthesized declarationsKT-63539K2: Missing "Serializable class has duplicate serial name of property"KT-63570K2 / Serialization: "Class * which is serializer for type * is applied here to type *. This may lead to errors or incorrect behavior."KT-64447K2: Implement Serialization...IrBoxTestGenerated for K2KT-63591K2: "KotlinReflectionInternalError: Could not compute caller for function" on generated internal constructorKT-64124Different klib signatures in K1/K2 for a serializable classKT-63402K2 / Serialization: "SyntheticAccessorLowering should not attempt to modify other files!" caused by sealed base with generic derived class in separate filesKT-62215Serialization / Native: "IllegalArgumentException: No container found for type parameter" caused by serializing generic classes with a field that uses genericsKT-62522K2 + kotlinx.serialization + Native: NPE when generic base class has inheritor in other moduleTools. Daemon
KT-64283Configure correct JVM arguments when starting the daemonTools. Fleet. ObjC Export
Fixes
KT-66695Moveanalysis-api-klib-readerpackage into 'o.j.k.native.analysis.api`KT-65384ObjCExport: class super name special caseKT-66380ObjCExport: support interface implementationKT-65670ObjCExport: Naming: Support additional module based prefixKT-64953ObjCExport: Analysis-Api: enumKT-65348ObjCExport: Char as function return typeKT-65738ObjCExport: Analysis-Api: Generate base declarationsKT-65204ObjCExport: Analysis Api: Support nested classesKT-65225ObjCExport: implement KtCallableSymbol.isArrayKT-65108ObjCExport: Tests: Check if 'requirePlatformLibs' is necessaryKT-65281ObjCExport: AA: Run already passing Unit Tests on CIKT-65080ObjCExport: Analysis-Api: error handlingKT-64952ObjCExport: Analysis-Api: objectKT-64076ObjCExport: Do not retain descriptors in stubsKT-64227ObjCExport: Extract Header Generation to base moduleKT-64168ObjCExport: Split header generator module into K1 and Analysis ApiKT-64869ObjCExport: Analysis-Api: Support 'MustBeDocumented' annotationsKT-64839ObjCExport: Enable tests on CI for aggregateKT-64888ObjCExport: Analysis Api: Support exporting KDocTools. Gradle
New Features
KT-67253Support per-target configuration in compose-compiler-gradle-pluginKT-67006Create new compose compiler Gradle pluginKT-62921Add API to allow getting the version of the kotlinc compilerKT-61975Re-purpose kotlin.experimental.tryK2KT-64653Add Kotlin DslMarker into Gradle plugin DSLKT-59627FUS base pluginKT-62025K/Wasm: Support binaryen for wasiPerformance Improvements
KT-60664Gradle 8.3: KGP eagerly creates compile taskKT-64353Improve reuse of Build Tools Api's classloaderKT-66912Parallel compilation slowdown due to synchronizationKT-63005Avoid registering KMP related compatibility/disambiguration rules for pure JVM/Android projectsFixes
KT-58768Support configuration cache and project isolation for FUS statisticsKT-65143Use the new ConfigurationContainer dependencyScope method to create dependency declaration configurationsKT-62640Compatibility with Gradle 8.5 releaseKT-62639Compatibility with Gradle 8.4 releaseKT-59024Compatibility with Gradle 8.3 releaseKT-58064Compatibility with Gradle 8.2 releaseKT-64355Add plugin variant for gradle 8.5KT-67746Indicate for users they need to apply the new Kotlin Compose Gradle pluginKT-67387Enable intrinsic remember by default in compose compiler gradle pluginKT-64115KGP + JVM/JS/WASM: The same library can be passed twice to the compilerKT-67762Rename Kotlin Compose Compiler plugin on Gradle portalKT-64504Remove ownModuleName from AbstractKotlinCompileKT-67778Clarify documentation for compose metricsDestination propertyKT-67139Build reports can be overriddenKT-67138Json report is empty for incremental compilationKT-67685KotlinBaseApiPlugin regression with Gradle's Configuration Cache in 2.0.0-RC1KT-64567[FUS] Add boolean flag into kotlin.gradle.performance collectorKT-67515Remove 'experimental' from compose strong skipping modeKT-67441Gradle remote cache misses in the compose pluginKT-67602Compose gradle plugin: a deprecated plugin option 'experimentalStrongSkipping' is added by default that causes a warningKT-67200Compose gradle plugin: 'suppressKotlinVersionCompatibilityCheck' option is duplicated if added as a kotlin option for the KotlinCompile task and kapt is usedKT-67216Compose compiler plugin: false-positive versions incompatibility is reportedKT-64379Removekotlin.useK2gradle propertyKT-62939Bump minimal supported AGP version to 7.1KT-63491Restore access to top-level DSL to configure compiler options in MPPKT-65935Track project isolation Gradle featureKT-65934Track if Gradle configuration cache is enabled in the user buildsKT-66459PowerAssert: Improve design of excludedSourceSets extension propertyKT-64203Throw exception when old build report properties are usedKT-62758Gradle: make precise task outputs backup enabled by defaultKT-65568Deprecate the ability to configure compiler options in KotlinCompilationKT-63419Deprecate 'kotlinOptions' DSLKT-64848Log K/Native compiler arguments with log level specified for compiler argumentsKT-58223Kotlin Gradle plugin shouldn't store data in project cache directoryKT-61913Validate LanguageSettings KDocKT-61171CompilerPluginsIncrementalIT.afterChangeInPluginBuildDoesIncrementalProcessing doesn't provide a compiler plugin for K2 leading to the test failureKT-62131Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@63fddc4bof type BuildFlowService.ParametersKT-66961Early access to gradle.rootProject leads to an exceptionKT-61918Removal of an associated compilation from a build script doesn't lead to full recompilationKT-63619Add Kotlin power-assert compiler plugin to feature usage statistics gatheringKT-62108Wrong scope of compiler options is used while configuring options for all targets and all compilationsKT-55322Kotlin daemon: Cannot perform operation, requested state: Alive > actual: LastSessionKT-66429Move WASM stability warning to KGP Tooling Diagnostics and report it once per buildKT-63165Gradle: checkKotlinGradlePluginConfigurationErrors uses deprecated Gradle behaviorKT-66374Diagnostic for deprecated properties: false-positive warning is reported forkapt.use.k2propertyKT-64117K2: "'when' expression must be exhaustive" state does not fail compilationKT-58443Change deprecation level to WARNING for KotlinOptionsKT-65768Don't pass -Xfragment-sources for non-mpp compilationsKT-62398KMP: Compose breaks resolution of stdlib declarations in common source setKT-64046Provide K/N version to KGP when -Pkotlin.native.enabled=trueKT-66154Cannot access 'org.slf4j.spi.LoggingEventAware' in the Space K2 QGKT-65952PowerAssert: Update Gradle extension to be more idiomaticKT-65951PowerAssert: Add Gradle integration tests to compiler pluginKT-66373[Wasm, KGP] Npm is not configured for JS usagе for wasmWasi projectKT-66314Build reports in JSON: property 'kotlin.build.report.json.directory' without value causes NPEKT-64380Add project diagnostics for deprecated propertiesKT-65986GradleDeprecatedOption.removeAfterdoes not actually remove arguments from the compilerOptions/kotlinOptions DSLsKT-65989Compile against Gradle API 8.6KT-65819Build Gradle Plugins against Gradle 8.5 APIKT-65701Limit Gradle daemon max memory in integration testsKT-65708Flaky tests because of ivy repos in Integration TestsKT-56904Enable warnings-as-error for Kotlin Gradle plugins compilationKT-65606Out of memory in Anki Android in the K2 QGKT-65347K/N has not been dowloaded before :commonizeNativeDistributionKT-65213Collect logic for FUS metrics calculation in one placeKT-61698Compiler options configured inside metadata {} target set up all targets in a projectKT-64824Move validateParameters from CInteropProcess to diagnosticsKT-60879Deprecation warning on trying to configure Configuration multiple timesKT-64251KGP: Cannot re-use tooling model cache with Project Isolation due to "~/.gradle/kotlin-profile" changingKT-64655K2: PeopleInSpace: K2 build fails during Gradle configKT-63697The warning is still presented in terminal after suppressing it with -Xexpect-actual-classes flagKT-62527Gradle: get rid of theProject.buildDirusagesKT-60733Allow specify log level for compiler arguments used to compile sourcesKT-63369Fix: "The org.gradle.api.plugins.BasePluginConvention type has been deprecated."KT-63368Fix "The automatic loading of test framework implementation dependencies has been deprecated. "KT-63601Fetching Gradle compiler DSL objects using raw strings is inconvenient in the Groovy DSLKT-62955Missing static accessors for Wasm targets in Kotlin Gradle plugin DSL:KT-62962Remove COMPILE_INCREMENTAL_WITH_ARTIFACT_TRANSFORM system propertyKT-62264Send build type report metric to FUSKT-62650Gradle: Return the usage ofkotlin-compiler-embeddablebackKT-61295KotlinTestReportcapturesProject.buildDirtoo earlyKT-62987Add tests for statistics plugin in Aggregate buildKT-62964Build Gradle plugin against Gradle 8.4 APIKT-62617Update report configuration project FUS metricsKT-61896Gradle: compilation via build tools API doesn't perform Gradle side output backupsKT-62016ClassNotFoundException on org.jetbrains.kotlin.backend.common.serialization.metadata.DynamicTypeDeserializer in the K2 QGKT-56574Implement a prototype of Kotlin JVM compilation pipeline via the build tools APIKT-61206Build system classes may leak into the Build Tools API classloaderKT-61737GradleStyleMessageRenderer.render misses a space between the file and the message whenlocationis (line:column = 0:0)Tools. Gradle. Cocoapods
KT-57650Gradle Cocoapods: use pod install --repo-update instead of pod installKT-63331CocoaPods plugin noPodspec() causes "property * specifies file * which doesn't exist."Tools. Gradle. JS
Fixes
KT-55620KJS / Gradle: plugin doesn't support repositoriesModeKT-65870KJS / Gradle: kotlinUpgradePackageLock fails making Yarn unusableKT-66917JS/Wasm: Upgrade NPM dependenciesKT-63040K/JS: Rework outputs of webpack and distribution taskKT-61992KJS / Gradle: KotlinJsTest using KotlinMocha should not show output, and should not run a dry-run every time.KT-65295Gradle: K/N and K/JS tests may produce unrequested TeamCity service messagesKT-63435KJS: Get rid of deprecated outputFileProperty of Kotlin2JsCompileKT-61294NodeJsRootExtensioncapturesProject.buildDirtoo earlyKT-59282K/JS: KotlinJsIrLinkConfig is not compatible with Configuration Cache in Gradle 8.1.1KT-62780K/JS: Deprecate node-specific properties in NodeJsRootExtensionKT-63544KGP: JS - KotlinJsIrLink is not compatible with Gradle CC starting 8.4KT-63312KJS: Apply IR flags for JS compilations unconditionallyKT-62633wasmWasi/JsNodeTest tasks are always not up-to-dateKT-63225java.lang.ClassNotFoundException: org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrCompilation in the K2 QGKT-41382NI / KJS / Gradle: TYPE_MISMATCH caused by compilations.getting delegateKT-53077KJS / Gradle: Remove redundant gradle js log on kotlin buildKT-56300KJS / Gradle: plugin should not add repositories unconditionallyKT-60694KJS: Remove K/JS legacy support from Gradle pluginKT-56465MPP: Import with npm dependency fails with "UninitializedPropertyAccessException: lateinit property fileHasher has not been initialized" if there is no selected JavaScript environment for JS targetKT-41578Kotlin/JS: contiuous mode: changes in static resources do not reload browser pageTools. Gradle. Kapt
KT-62518kapt processing is skipped when all annotation processors are indirect dependenciesKT-27404Kapt does not call annotation processors on custom (e.g., androidTest) source sets if all dependencies are inherited from the main kapt configurationKT-22261Annotation Processor - in gradle, kapt configuration is missing extendsFromTools. Gradle. Multiplatform
New Features
KT-66047KMP: Isolate dependencies graph between main and test source setsKT-61559Include stdlib and platform dependencies to KotlinNativeCompilation.compileDependencyFiles APIKT-65196Add high-level DSL to configure compiler options in the multiplatform projectPerformance Improvements
KT-57141K2: KotlinCompile task input named 'multiplatformStructure.fragments.$0.sources' is tracked in a pure JVM kotlin project together with changes of sourcesFixes
KT-65315KMP Composite compileIosMainKotlinMetadata fails with "Could not find "KT-67042K2: Unresolved reference 'convertRadiusToSigma'KT-66983MPP Configuration Cache IT fails with Gradle 8.7 on windowsKT-60489Android-java only consumers (no KGP applied) choose Java-variant instead of Android-variant when depending on MPP libraryKT-67806KMP import fails if android target has flavorsKT-67636Gradle configuration error when use withJava()KT-63536KMP: MetadataDependencyTransformationTask is not Thread SafeKT-67127KMP: IDE Dependency Resolver for CInterops reports errors on linux and windows machinesKT-66514Don't get output file from Cinterop task for IDE Import if host os doesn't support itKT-65426K2: Debug compilation fails because code from main source set included in two K2 fragmentsKT-65480MissingNativeStdlibChecker checks existence of konanDistribution.stdlib during configuration phaseKT-61945Report redundant dependsOn-edgesKT-65187Remove deprecated platform plugins idsKT-49919Introduce theorg.gradle.jvm.environmentattribute on JVM and Android published variants (both for MPP and non-MPP libraries)KT-66419Remove useless API: Kotlin compilation level compiler options DSLKT-64913Report warning if user has multiple source set roots for a certain compilationKT-66563Stop including resources to metadata klibKT-61078K2: Compilation fails in FirSerializer trying to serialize nested classKT-66372KMP: JVM dependency can be downgraded by metadata dependencyKT-66431KMP: External Target Compilation friendArtifactResolver throws ClassCastExceptionKT-64995KonanPropertiesBuildService is not compatible with Project IsolationKT-61430K2/KMP: metadata compilation fails with Unresolved reference for property in actual classKT-63753K2: File "does not belong to any module" when it is generated byregisterJavaGeneratingTaskin AGPKT-62508Merge Android Source Sets into one K2 FragmentKT-61943Mark thecheckKotlinGradlePluginConfigurationErrorsas UP-TO-DATE when possibleKT-63206Deprecate eager CInteropProcess.outputFile in favor to lazy outputFileProviderKT-65248Native compile task fail with ClassNotFoundException: org.jetbrains.kotlin.cli.utilities.MainKtKT-56440TCS: Gradle Sync: Add API to populate extras only during syncKT-64629Gradle configuration fails: 'fun jvmToolchain(jdkVersion: Int): Unit' can't be called in this context by implicit receiverKT-63226KGP Multiplatform Ide Dependency Resolution: Use gradle variants instead/in addition of ArtifactResolutionQueryKT-60734Handle the migration from ios shortcut and source set withgettingKT-63197After using Kotlin 1.9.20 on Windows 11, the gradle sync failedKT-61540K2: KMP/K2: Metadata compilations: Discriminate expect over actual by sorting compile path using refines edgesKT-60860K2: FixKotlinNativeCompileArgumentsTestin 2.0 branchKT-61463KMP: Remove unused 'kpm' codeKT-40309A call of a declaration with actual typealiases is incorrectly successfully compiled in commonTest using the type from actual partTools. Gradle. Native
New Features
KT-49268Only download Kotlin/Native Compiler when there are valid targetsPerformance Improvements
KT-58303Kotlin multiplatform Gradle plugin downloads Kotlin/Native compiler during configurationFixes
KT-67522K/N toolchain: unclear compilation error if path specified as a value for the kotlin.native.home doesn't provide the kotlin native compiler downloadedKT-67521K/N warning checking existence of the standard library isn't displayed when the native toolchain enabled and the kotlin native home dir doesn't contain stdlibKT-65624K/N warning: "The Kotlin/Native distribution used in this build does not provide the standard library." is displayed during configuration phaseKT-66694Disable Kotlin Native Toolchain when custom konan home passedKT-66309K/N compiler can't be downloaded if project import is stopped while 'commonizeNativeDistribution' task is being executed and rerun againKT-65641Invalid replacements for deprecated properties 'konanHome' and 'konanDataDir' are suggested as quick fixesKT-65823Add downloading k/n dependencies to KotlinNativeProviderKT-62907Turn on downloading Kotlin Native from maven by defaultKT-62795CInteropProcess task resolves cinterop def file eagerly, breaking Gradle task dependenciesKT-66982Gradle plugin corrupts Native compiler dependenciesKT-66750Cannot query the value of task ':commonizeNativeDistribution' property 'kotlinNativeBundleBuildService' because it has no value availableKT-64903Add maven repo with dev versions into ITKT-66422Configuration cache breaks during Kotlin Native dependencies downloadingKT-65985Race condition during simultaneous execution of several native tasksKT-51379Build fails when usingRepositoriesMode.FAIL_ON_PROJECT_REPOSwith kotlin multiplatform projectsKT-52567Use Gradle dependency management for downloading Kotlin/Native compiler when compiling with GradleKT-65222Native compile task fails after clean reimportKT-52483Sign native prebuilt tarsKT-62800CInteropProcess should not require .def file to existKT-51255Kotlin/Native should not download compiler artifacts when not necessaryKT-62745iOS application build is failing if script sandboxing option is enabled in XcodeKT-61657KonanTarget should implement equals or custom serializationKT-62232embedAndSignAppleFrameworkForXcode task is broken with 1.9.20-Beta2KT-56455Gradle: removeenableEndorsedLibsfrom codebaseKT-51553Migrate all Kotlin Gradle plugin/Native tests to new test DSL and add CI configuration to run themTools. Incremental Compile
New Features
KT-61865Add support for incremental compilation within the in-process execution strategy in the build tools apiFixes
KT-61137Incremental scripting compilation fails with 2.0KT-65943Incorrect scopeFqName recorded in LookupTrackerKT-56423IC: "Cannot access class 'xxx.Foo'. Check your module classpath for missing or conflicting dependencies" in tests and KSPKT-62101IC: Execution failed for ClasspathEntrySnapshotTransform: when using tools.jar as dependencyKT-62686K2: Common module sees platform declarations in case of MPP project incremental compilationKT-63837Implement baseline fix for common sources getting access to platform declarationsKT-64513Simplify adding configuration properties to incremental compilationKT-21534IC doesn't recompile file with potential SAM-adapter usageKT-63839Measure impact of rebuilding common sources, using nightly IC benchmarksKT-64228K2: After switching to LV20 branch incremental tests are not running on PSI anymoreKT-46743Incremental compilation doesn't process usages of Java property in Kotlin code if getter is removedKT-60522Incremental compilation doesn't process usages of Java property in Kotlin code if return type of getter changesKT-56963Add MPP/Jvm incremental compilation tests for both K1 and K2 modesKT-63876Move useful utilities from KmpIncrementalITBase.kt to KGPBaseTest and/or common utilsKT-63010Build reports may contain incorrect measurements for "Total size of the cache directory"KT-59178With language version = 2.0 incremental compilation of JVM, JS fails on matching expect and actual declarationsKT-60831Fix IncrementalMultiplatformJvmCompilerRunnerTestGenerated in 2.0 branchTools. JPS
KT-65043JPS dumb mode should respect maps needed for the compilerKT-55393JPS: Java synthetic properties incremental compilation is brokenKT-63549Add compiler performance metrics to JPS build reportsKT-63484JPS Kotlin Incremental Compilation OvercachingKT-62486K2 Intellij build: Execution timeout after changes in IC in the K2 QGKT-60737Investigate/fix JPS-related tests in 2.0 migration branchTools. Kapt
Fixes
KT-66541K2 KAPT: KotlinIllegalArgumentExceptionWithAttachments: Expected expression 'FirPropertyAccessExpressionImpl' to be resolvedKT-64303K2 KAPT: Kapt doesn't dispose resources allocated by standalone analysis APIKT-66773KAPT: Generated stubs cannot access annotations from other moduleKT-65399K2 QG: Kapt3 with K2 produces incorrect codeKT-65684KAPT: (Re)enable fallback to K1 KAPT and make it defaultKT-44706KAPT:@JvmRecordcauses "Record is an API that is part of a preview feature"KT-59488K2: build sphinx-kotlinKT-64391Some K2 Kapt integration tests are being executed with K1KT-65404KAPT should print a warning if stub generation is triggered for an interface with method bodies but without -Xjvm-default=all or -Xjvm-default=all-compatibilityKT-65453Kapt4: error "annotation@ParameterNameis missing a default value for the element 'name'" for a composable lambda fun without parametersKT-61080Kapt: investigate suspicious check for KMutableMap.Entry in KaptTreeMakerKT-65006[kapt] org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Error while resolving org.jetbrains.kotlin.fir.declarations.impl.FirRegularClassImpl in the K2 QGKT-64479Kapt4 + Compose. Error: scoping construct cannot be annotated with type-use annotation:@androidx.compose.runtime.ComposableKT-64719K2 KAPT Stub genertaion doesn't fail on files with syntax errorsKT-64680Kapt: remove the flag to enable old JVM backendKT-64639KAPT+JVM_IR: erased error types in JvmStatic and JvmOverloadsKT-64389K2 KAPT generates invalid code for multiple generic constraintsKT-61776K2: KAPT tasks fail with parallel gradleKT-64021Kapt3 + Kapt4. NullPointerException: processingEnv must not be nullKT-64301K2 KAPT: Kapt doesn't report invalid enum value names to logKT-64297K2 KAPT: Deprecated members are not marked with@java.lang.DeprecatedKT-60821[KAPT4] Make sure that KAPT produces correct JCTree; if that's not possible, investigate using JavaPoet as an alternativeKT-62059Kapt4IT.kt18799 test fails - cannot find symbol FactoryKT-62097K2: [KAPT4] Keep import statements for unresolved annotation classesKT-61628K2: testAndroidDaggerIC doesn't work with Kapt4KT-61916K2 KAPT. Kapt doesn't generate fully qualified names for annotations used as arguments to other annotationsKT-61729K2: KAPT 4: Compiler crash during compilation of Sphinx for AndroidKT-61333K2 Kapt: support REPORT_OUTPUT_FILES compiler modeKT-61761Kapt4ToolIntegrationTestGenerated should not use Kapt3ComponentRegistrarKT-59702KAPT4: Build sphinx-kotlin using KAPT4Tools. Maven
KT-63322Add tests for KTIJ-21742KT-54868Stop publishingkotlin-archetype-jsKT-60859K2: Fix mavenIncrementalCompilationITtests in 2.0 branchTools. Parcelize
KT-57685Support ImmutableCollections in Parcelize pluginTools. REPL
KT-18355REPL doesn't quit on the first line after pressing Ctrl+D or typing :quitTools. Scripts
KT-67727Kotlin Scripting with language version 2.0 fails during IR lowering on empty scriptsKT-66395K2: Scripting test testHelloSerialization fails on K2KT-63352Scripting dependencies resolver logs "file not found" even if the artefact is retrievedKT-62400K2: Missing annotation resolving for scriptsKT-65865K2: Compile scripts in a separate sessionKT-65967Scripts in common source roots should be forbidden for nowKT-58367Remove script-util from the repoTools. Wasm
New Features
KT-63417KMP hierarchy DSL. Split withWasm() into withWasmJs() and withWasmWasi()KT-64553K/Wasm: enable binaryen by default in production buildsFixes
KT-65864K/Wasm: update Node.js to 22.xKT-67785Kotlin/Wasm: Node.JS 22 does not need experimental-wasm-gc flag anymoreKT-66228K/Wasm 2.0.0-Beta4 distribution doesn't contain all filesKT-66159K/Wasm: applyBinaryen somehow affects skiko.mjsKT-67086K/Wasm: wasi with binaries.library fails on import and buildKT-65889wasmJsBrowserDistribution doesn't copy wasm binaries to dist folderKT-66733wasmWasiTest is not compatible with Gradle Configuration CacheKT-64851Wasm. Support Gradle configuration cacheKT-64601Indicate that wasmJsBrowserDevelopmentRun has finished bundlingKT-65686K/Wasm: Binaryen and d8 have to be downloaded via the same mechanism as Node.js and YarnKT-58291Wasm: --tests argument is ignored when running wasmBrowserTestConfiguration
📅 Schedule: Branch creation - "every weekday,every weekend" (UTC), Automerge - "every weekend" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
ab7aedb24dto824c40ca1f824c40ca1fto942f713a2fUpdate plugin org.jetbrains.kotlin.plugin.serialization to v2to Update plugin org.jetbrains.kotlin.plugin.serialization to v2 - autoclosedPull request closed