Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.3.0-Beta2 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.21->2.3.0-Beta2Release Notes
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-gradle-plugin)
v2.3.0-Beta2: Kotlin 2.3.0-Beta2Changelog
Analysis API
KT-80082K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interopAnalysis API. Code Compilation
KT-70860K2 IDE / Kotlin Debugger: CCE “java.lang.String cannot be cast to java.lang.Void” on evaluating not-null variable on the line with assigning null to that varAnalysis API. FIR
KT-81378Expected expression 'FirFunctionCallImpl' to be resolved caused bysuspend {}KT-80473Add events for tracking LL activitiesAnalysis API. Providers and Caches
KT-81476Analysis API:AlreadyDisposedExceptionfrom low-memory cache cleanupKT-80911Analysis API: Execute session invalidation in a non-cancelable sectionKT-81242Analysis API: Add UUID/lifetime properties to LL FIR session structure loggingKT-80622Analysis API: Visualise LL FIR session structure & weightKT-80904Analysis API: "Invalid dangling file module" exception during session invalidationKT-78882K2 AA: Calling containingSymbol on getProgressionLastElement causes exceptionAnalysis API. Standalone
KT-81108AA: java.lang.ClassCastException: class org.jetbrains.kotlin.fir.FirBinaryDependenciesModuleData cannot be cast to class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleDataAnalysis API. Stubs and Decompilation
KT-77097SupportReplaceWithdeprecation annotation argument via stubsAnalysis API. Surface
New Features
KT-80084Provide endpoints for Analysis API to understand when the context sensitive resolution is usedFixes
KT-81132Use KaSession instead of a particular KaSessionComponent for context parameter bridgesKT-81129K2: KaSymbolInformationProvider#importableFqName: should return null for dynamic declarationsKT-81128K2: KaSymbolInformationProvider#importableFqName: should return null for error destructuring declarationsKT-81127K2: KaSymbolInformationProvider#importableFqName: should return null for anonymous functionsKT-81126K2: KaSymbolInformationProvider#importableFqName: should return null for enum entry initializer constructorsKT-81125K2: KaSymbolInformationProvider#importableFqName: should return null for property accessorsKT-81124K2: KaSymbolInformationProvider#importableFqName: type alias constructor should have a reference to the type alias and not to the underlying classKT-70127Analysis API: 'KaFirReceiverParameterSymbol' does not implement 'KaFirSymbol'; leads to exception fromimportableFqNameKT-81123Reimplement KaFirSymbolInformationProvider#importableFqNameKT-81122Drop KaImportOptimizerKT-79772Migrate from 'validityAsserted' to 'withValidityAssertion'KT-59857KaExpressionTypeProvider#returnType shouldn't throw an exception for class like declarationsBackend. Wasm
KT-79244[Wasm] Drop K1-specific tests, testrunners and test directivesKT-80397K/Wasm: turn on by default using a new version of the exception handling proposal for wasm-wasi targetKT-76204K/Wasm: support generating a wasm module per kotlin module/klibKT-81372K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3KT-80106devServer in Kotlin/Wasm overwrites defaults, causing missing static pathsCompiler
New Features
KT-80837Warn about extension function with a context shadowed by memberKT-80031Check spotbugs's@CheckReturnValuein Kotlin's unused return value checkerPerformance Improvements
KT-81617Native: casts optimizations pass explodes on deep nested loopsKT-81340K/N: severe compilation time degradation after turning on casts optimization passKT-52283Never ending type inference while compiling Kotlin code with lots of self pointing genericsFixes
KT-81618"Number of arguments should not be less than number of parameters" on JVM on Kotlin 2.3.0-Beta1KT-81652Native: ClassCastException: ApplicationForegroundStateListener.CompanionKT-74999K2: KotlinNothingValueException within Extension FunctionKT-81254"AssertionError: There should be at least one non-stub type to compute common supertype": Parser issue during generic type inferenceKT-80250ISE: flow for PostponedLambdaExitNode not initialized - traversing nodes in wrong order?KT-81186Only allow local type aliases in REPL/scripts until full stabilizationKT-80929IC Native: Undefined symbols on ktorKT-81657K2: put warning about "exposing package-private in internal" under experimental language featureKT-81241Konanc exit while lowering org.jetbrains.kotlin.ir.util.IrUtilsKt.remapTypeParametersKT-74819K2: False-positive overload resolution ambiguity for flatMap inside PCLAKT-79506Contract for getter and setter doesn't work if a property is called from another moduleKT-71420Report error when reified type parameter is inferred to intersection typeKT-77727Move some of the extra checkers to the default listKT-81257Native: "Unexpected boolean predicate" when generating 'static_cache'KT-81525Report REDUNDANT_SPREAD_OPERATOR on (*) instead of argument expressionKT-81522Fix Light TreeSPREAD_OPERATORdiagnostic positioningKT-77008K2: Incorrectly force casting to a wrong typeKT-78127K2: Too precise inference for if/when with expected type in assignmentKT-80208K2: ClassCastException: "class java.util.ArrayList cannot be cast to class java.lang.Void" type inference picks Void for generic functionKT-79231Inconsistent InnerClass entry flags for abstract inner enumKT-20677Improve diagnostic about implicit default constructor absence for expected annotation classKT-9111Improve diagnostic for call with access to outer class from nested classKT-81385Missing error of nullable expression in class literal in case of reified type parameterKT-81141Fix FirUnsupportedArrayLiteralChecker to forbid array literals inside non-annotation contextsKT-81383Return type of anonymous function used asrunargument is incorrectly inferred toNothingKT-80577"Return type mismatch" for self-referential types used as generic parametersKT-81198Move type and type parameter annotations from jvm_metadata.proto to metadata.protoKT-81057Wrong handling of boxing during redundant casts optimizationKT-76479Backend. JVM: Report errors on exposure of types in inline functionsKT-81191K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid codeKT-81115Allow converting lambda with explicit parameter when assigning to variable of an extension function typeKT-74588Redundant checkNotNull intrinsics instructions for Java generic methodsKT-78390UnmuteFusStatisticsIT.testKotlinxPlugins()after AtomicFU updateskotlin-metadata-jvmKT-79369Forbid typealiasing for all compiler-required annotationsKT-76344Drop language version 1.9 for non-JVM platformsKT-69294K2: ReportCONSTRUCTOR_OR_SUPERTYPE_ON_TYPEALIAS_WITH_TYPE_PROJECTION_ERRORinstead ofEXPANDED_TYPE_CANNOT_BE_INHERITEDafter switching to LV 2.2KT-81064Wrong safe call null check handling during redundant casts optimizationKT-80871StackOverflowError on AnnotationTarget.TYPEKT-80908K2: Compiling type annotation with self-annotated vararg fail with exceptionKT-76902Omit type-use annotations from diagnosticsKT-70507Should parentheses prevent from plus/set operator desugaring?Compose compiler
b/419049140Disabled memoization intryblocksKT-81081Generate Compose-specific proguard mappings when Compose compiler plugin is applied.IDE. Gradle Integration
KT-46273MPP: Don't fail import for case of missed platform in source set structureKT-46417[UNRESOLVED_REFERENCE] For project to project dependencies of native platform test source setsKT-44845After update to Kotlin 1.4.30 all external dependencies is unresolved in IDE with kotlin.mpp.enableGranularSourceSetsMetadata=trueKT-46142K/N distribution is unavailable from IDE with multiplatform hierarchical project structure enabledIR. Inlining
Fixes
KT-81673False warnings about ABI change in dependencies in library mode in 2.3.0-Beta1KT-81713[Inliner] Compilation of inline function with recursive call applied to TODO() fails with an internal errorKT-74892Investigate passing inline lambda as argument of another inline functionKT-78392CommonPrefix: Add a way of stopping execution when one of the phases is unsuccessfulKT-80927[Native] Review intrinsics with PublishedApiKT-81070[Inliner] kotlin/Any is unboundKT-80628KLIB inliner: Not enough information about the "full" modeKT-69516Double-inlining for Native: Enable visibility checks after 1st phase of inliningKT-78673Make fakeOverrideLocalGenericBase not using red codeKT-80565KLIB Inliner: Add a special annotation to prohibit inlining of marked inline functions in stdlib on 1st compilation phaseKT-79718KLIB inliner: Emit warning on generation ofpublicsynthetic accessor when running in "explicit API mode"IR. Interpreter
KT-72356K2 Native: IllegalStateException when annotation has the same source range as a constant in another fileIR. Tree
KT-79739Static synthetic accessors inside generic classes access its type parametersKT-78100Track and annotate internal annotations with@PublishedApito enable annotation visibility validationKT-80825DropIrSerializationSettings.reuseExistingSignaturesForSymbolssettingKT-79807Broken IR tree invariants in IrReplSnippet after FIR2IRKT-78856Refactor LocalDeclarationsLowering to split it in smaller partsJavaScript
KT-80401Kotlin/JS support fordefault exportin generated JavaScriptKT-79928Allow JsModule/JsNonModule/JsQualifier invocation on per-entity levelKT-81424Kotlin/JS: Cannot Get / in a simple running applicationKT-81066Wasm, JS: Remove redundant logging in compiler outputKT-79222K/JS: Allow using Long in exported declarationsKT-74055KJS:@JsPlainObjectadds JS code even if marked interface is not usedKlibs
KT-64237Klib metadata: migrate to using the common annotations instead of klib-specific extensions in the compilerKT-80999Reuse existingIrKotlinLibraryLayoutinKotlinLibraryfor reading pre-processed functionsKT-80761K2: [K/N] Should reported klib usage include inheritanceKT-80290Removeifand TODO incountInAsInlinedLambdaArgumentWithPermittedNonLocalReturnsKT-80298K/N: one-stage compilation is brokenLanguage Design
KT-81561Update nested type aliases KEEP to reflect local type aliases supportKT-28850Prohibit protected visibility in final expected classesLibraries
KT-81078Increase kotlin.io.createTempDir and createTempFile deprecation level to ERRORKT-74493Deprecate String.subSequence(start, end) with error and drop it in the futureKT-81092Uuid: support generation of version 7 uuids with a given timestampKT-81043String.toBigDecimalOrNull rejects strings accepted by String.toBigDecimalKT-81477Uuid.Companion.generateV* are missing SinceKotlin annotationKT-80530Annotate Kotlin/Native stdlib with must-use value/@IgnorableReturnValuewhen appropriateKT-79791Duration.parse incorrectly handles negative decimal seconds in ISO-8601 formatKT-72111Change Duration.parseOrNull logic to not throw exceptions internallyKT-80431Remove suppression of "ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT" from stdlibNative. C and ObjC Import
KT-81312Native: when-Xccall-mode directis used, mark unsupported declarations with unresolvable symbol name instead of@Deprecated(ERROR)Native. Swift Export
KT-80969Swift Export: Callsuspendfunction asasyncon swift sideKT-81355Swift Export: Introduce a flag to turn off coroutines exportTools. Build Tools API
KT-81602BTA: rename KotlinToolchains.jvm@JvmNamefor a more Java-friendly APIKT-81321Deprecate old BTA prototype APIKT-73090Gradle 8.11 kotlin compilation fails when run with -Pkotlin.compiler.runViaBuildToolsApi=trueKT-81130BTA: using KotlinVersion from stdlib in the API breaks when using isolated classloaderTools. CLI
KT-81077Add JVM target bytecode version 25Tools. Commonizer
KT-49735[Commonizer] :commonizeNativeDistribution fails for projects with two or more same native targetsKT-47523MPP: Unable to resolve c-interop dependency if platform is included in an intermediate source set with the only targetKT-48118Commonized c-interop lib is not attached to common main source setKT-46248MPP: Compile KotlinMetadata fails with Unresolved reference if only one native platform from shared source set is availableTools. Compiler Plugins
KT-81348Incorrect bytecode mentioning error class/package is generated by kotlinx-serialization when private serializer in another module is not accessibleKT-81091[DataFrame] Receivers from FirExpressionResolutionExtension are not resolved in CodeFragmentKT-80944FirUserTypeRefImpl cannot be cast to class FirResolvedTypeRef in maven projectKT-80429Power Assert with "Run test using: IntelliJ": NoClassDefFoundError (org.jetbrains.kotlin.kotlinx.collections.immutable.ExtensionsKt) during compilationKT-64339Symbol Light Classes: No Arg compiler plugin generates synthethic constructor which is not seen from light classesTools. Gradle
New Features
KT-45161Gradle: Support registering generated sources with the Kotlin modelKT-71602Introduce KotlinTopLevelExtensionFixes
KT-81837Run integration tests against AGP 8.13KT-77457Compile against Gradle API 9.0KT-81199Deprecate "org.jetbrains.kotlin.android" pluginKT-81719Do not register swift export related configurations when it's not requiredKT-75869KGP JS - Update deprecated constructorsKT-79047Gradle compileKotlin fails with configuration cacheKT-81415BTA: Duplicate daemons when compiling JVM + JS in KGPKT-80950KGP breaks configuration cache when signing plugin with GnuPG is appliedKT-67290Deprecate usage of HasKotlinDependencies inside KotlinCompilationKT-80763Add redirect link to error message when 'org.jetbrains.kotlin.android' plugin is used with built-in KotlinKT-64273Gradle: remove symbols deprecated after KT-54312KT-70251Gradle: hide compiler symbols in KGPTools. Gradle. BCV
KT-80687Add description to Gradle tasks [ABI Validation]Tools. Gradle. Compiler plugins
KT-81827Add a switch for mapping file tasks in Compose Gradle pluginTools. Gradle. JS
KT-81009K/JS, Wasm: Promote deprecation of NPM and Yarn package manager internal functionsKT-76019Wasm/JS: Promote phantom-js for Karma deprecation to ERRORKT-81005K/JS, Wasm: Promote deprecation of ExperimentalWasmDsl to ErrorKT-81010K/JS, Wasm: Promote deprecation of internal JS functions to ErrorKT-81008K/JS, Wasm: Promote deprecation of ExperimentalDceDsl to ErrorKT-81007K/JS, Wasm: Promote deprecation of public constructors of JS declarations to ErrorKT-81006K/JS, Wasm: Promote wasm declarations in "js" package deprecation to ErrorKT-81004K/JS, Wasm: promote deprecation NodeJsExec.create to ErrorKT-75621KJS / Gradle: Disable npm in --offline modeTools. Gradle. Multiplatform
Fixes
KT-81200Deprecate 'androidTarget'KT-81060KMP stores common compilation dependency resolution in Configuration cache leading to error when deserializing (Android only)KT-77367[uklib] Project dependency to kotlin-jvm module leads to failure in transform during IDE importKT-61127Remove scoped resolvable and intransitive DependenciesMetadata configurations used in the pre-IdeMultiplatformImport IDE importKT-81434[uklib] androidCompileClasspath resolves java compatibility variant instead of android for uklib libraryKT-81249Kotlin 2.2.20 broke KMP implementation of ParcelizeKT-77066Promote kotlinArtifacts deprecation to an errorKT-74955Remove resources resolution strategy completelyKT-55312Replace "ALL_COMPILE_DEPENDENCIES_METADATA" configuration with set of metadata dependencies configurations associated per setKT-52216HMPP / KTOR: False positive "TYPE_MISMATCH" with Throwable descendantKT-55230Remove metadata dependencies transformation for runtimeOnly scopeTools. Gradle. Native
KT-81134Native: Gradle configuration failure likely related to Klibs cross-compilationKT-77486Remove bitcode DSLKT-77732commonizeCInteropfailed with "Unresolved classifier: platform/posix/size_t"KT-80675Commonized cinterops between "test" compilations produce an import failureTools. Gradle. Swift Export
KT-81465Swift Export package is build with wrong targetKT-81460[KGP] Crash in SwiftExportRunner due to older stdlibTools. Kapt
KT-80843K2: KAPT: Crash on any data class with duplicate properties: "Sequence contains more than one matching element"KT-71786K2Kapt: Stubs generation does not fail on files with declaration errorsTools. Maven
KT-814142.2.20 regression: OOM (Compressed class space) when in-processKT-78201Maven: migrate JVM compilation to the new BTAKT-81435Maven: Improve BTA classloader reusageKT-81218Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemonTools. REPL
KT-80062ReplSnippetLowering sometimes produces IrConstructorCall with too many argumentsTools. Scripts
KT-80071Kotlin script mode produces invalid IR: "value that is not available in the current scope"Tools. Wasm
KT-81313K/Wasm: update Node.js to 24.xKT-81315K/Wasm: update Node.js to 25.xv2.3.0-Beta1: Kotlin 2.3.0-Beta1Changelog
Analysis API
KT-80303Move:native:analysis-api-klib-readerto:libraries:toolsAnalysis API. Code Compilation
KT-80227Support unnamed context parameters in evaluationKT-78554K2 IDE / Kotlin Debugger: ISE “No override for FUN IR_EXTERNAL_DECLARATION_STUB” on calling toString() for local class instance during evaluationKT-73201K2 IDE: Error while evaluating expressions with local classesAnalysis API. FIR
KT-46375Analysis API: Support cross-file class redeclaration checks using indicesKT-80471Analysis API: Deduplicate equivalent call candidates inresolveToCallCandidatesKT-79653[Analysis API] ContextCollector: BODY context of enum classes doesn't contain enum entriesKT-75858K2 AA: False positive 'property must be initialized' on incremental analysis with 'field' usage and semicolon in setterKT-80231AnnotationArgumentsStateKeepers doesn't restore the initial annotation in some casesKT-80233Pull mutation out of AnnotationArgumentsStateKeepersKT-71466LLFirBuiltinsSessionFactoryusescreateCompositeSymbolProviderKT-76432JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplAnalysis API. Infrastructure
KT-80717Support IntelliJ Bazel build in the Kotlin Coop development modeAnalysis API. Light Classes
KT-80656Duplicate no-args constructor in PSIKT-60490Symbol Light Classes: Property accessors from a delegated interface don't present in the delegating classKT-79689SymbolLightClassForClassLike.toString() causes PSI tree loadingKT-79012Add a high-level overview of light classesAnalysis API. Providers and Caches
KT-78882K2 AA: Calling containingSymbol on getProgressionLastElement causes exceptionKT-58325Analysis API: CombineLLKotlinStubBasedLibrarySymbolProviders in session dependencies (optimization)KT-77825Analysis API:CheckersComponentconsumes a lot of memory while being unused in LL FIR sessionsKT-76526Incorrect built-in module is provided for non-JVM sources in StandaloneKT-62549Analysis API: Cache callables in combined Kotlin symbol providersKT-70721LL FIR: investigate possibility of movingLLFirFirClassByPsiClassProvider . getClassByPsiClass (PsiClass)to symbol providersKT-72998Analysis API: IntroducegetClassLikeSymbolByPsito LL FIR symbol providersAnalysis API. Standalone
KT-80573Potential performance issue on class ID computationKT-80559Try to optimize KotlinStandaloneDeclarationProviderFactory startup for testsKT-71706Analysis API Standalone:StandaloneProjectFactory.createSearchScopeByLibraryRootscreates inefficient file-based search scopesAnalysis API. Stubs and Decompilation
Performance Improvements
KT-77097SupportReplaceWithdeprecation annotation argument via stubsFixes
KT-77082StackOverflowError in CreateFreshTypeVariableSubstitutorStage.shouldBeFlexibleKT-80798Improve stubs tests coverageKT-75318Read context parameter fields from metadata in CallableClsStubBuilderKT-77874AA disagrees with the compiler on descriptions of context parameters from binaries in messages for context argument ambiguity errorsKT-80350Drop K1 decompilerKT-80276Implement native coping for stubsKT-79780Decompiled MultifileClass has Facade kindKT-79398isClsStubCompiledToJvmDefaultImplementation flag is inconsistent for compiled and decompiled stubsKT-79798Prettify stub usages in LL stub-based deserializerKT-78949AbstractLLStubBasedResolutionTest: tests against real stub-based filesKT-80251Inconsistent decompiled and compiled stub for properties with an initializer and a delegateKT-74547Implement decompiler for K2KT-79555Move KotlinFileStubImpl serialization/deserialization to the Analysis APIKT-79487"null DefinitelyNotNullType for 'T'" from decompilerKT-60764Stub Builder: fix differences between K1 and K2 stub building on decompiled filesKT-79484An empty enum class with a member decompiles with a synthetic errorKT-79730Decompiled files have an extraKtsuffixKT-79483data modifier is not present on object modifierKT-75398Local classes from scripts have ClassId in stubsKT-79412Context parameters with type annotations cause inconsistency errors while building stubsAnalysis API. Surface
New Features
KT-64340Analysis API: no way to get a type of vararg parameterKT-68387AA: provide context for type approximationsPerformance Improvements
KT-80713Optimize KaDeclarationSymbol#visibility for class-like symbolsKT-79097KaFirNamedFunctionSymbol#isSuspend shouldn't trigger resolutionKT-79095isOverride shouldn't trigger resolution if not compiler plugins presentFixes
KT-78093Add bridges for context parametersKT-79328K2 AA, isUsedAsExpression: Unhandled Non-KtExpression parent of KtExpression: class org.jetbrains.kotlin.psi.KtImportDirectiveKT-80366IllegalStateException from KaFirStopWorldCacheCleanerKT-80274Merge AbstractMultiModuleSymbolByPsiTest to AbstractSymbolByPsiTestKT-80352KaBaseResolutionScope.contains(PsiElement) always returns false for Android light classes (e.g. synthetic R.java classes)KT-80234Incorrect value ofisActualfor the implicitlyactualconstructor of annotation classKT-80178Incorrect modality for an abstract interface function with a redundantopenmodifierKT-79129[Analysis API]KaFe10TypeCreator.buildClassTypecannot build builtin types by class idsKT-79143AA:argumentMappingcontains an expression that is not an argumentKT-59857KaExpressionTypeProvider#returnType shouldn't throw an exception for class like declarationsKT-79667Enable resolve on java record components in standalone modeKT-73050KaFirSymbolRelationProvider#expectsForActual: suspicius logic for KaReceiverParameterSymbolKT-78904KaBaseWriteActionStartedChecker throws when no additional WA was doneKT-79281Add KDoc toKaTypePointer#restoreKT-78597KaUseSiteVisibilityChecker returns false for internal functions exposed via implicit receiverKT-71705FIR api impl: Postfix increment expression'sexpressionTypeis Unit when incrementing array elementKT-75057Analysis API: Reference to object through typealias in invoke operator call leads to original typeBackend. Native. Debug
KT-79848Flaky debugger tests in opt.debug/cache.*/GC.CMS/GC.sch.ad/alloc.custom configurationBackend. Wasm
New Features
KT-59032Support instantiation of annotation classes on WASMFixes
KT-69621K/Wasm: Consider enabling support for KClass.qualifiedName by defaultKT-80018K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)KT-66072K/Wasm: improve how exceptions work in JS interopKT-80106devServer in Kotlin/Wasm overwrites defaults, causing missing static pathsKT-80210Wasm: "Unexpected non-external class: kotlin.Nothing" caused by JsExport with JsPromiseKT-80555WASM IC: Can't link symbol on kotlinx.coroutines on fresh masterKT-80415WasmJs Number Elvis Operator CrashKT-76509WasmJS: ReferenceError: Temporal is not defined caused by "Redundant reference to unused external results"KT-79317[Wasm] Do not throw CCE for ExcludedFromCodegen declarationsKT-78036K/Wasm: generate a message with "expected" and "actual" types in case of CCECompiler
New Features
KT-77676K/N: enable typechecks and the casts optimization pass in debug mode by defaultKT-80768Warning on overloading by a superset of context parameters in class contextKT-79185Support for local type aliasesKT-80461K2: false positive NO_ELSE_IN_WHEN for complex sealed hierarchyKT-79380Native: add performance measurement for the rest of backend phasesKT-79381Native: add performance measurement of LLVM phasesKT-80222Implement the prohibition of always-falseischecks for definitely incompatible typesKT-79295Parse and build raw FIR from new short and full forms of positional destructuring with square bracketsKT-74810Support typealiased/mapped Java types in unused return value checkerKT-71244Incorporate existing@CheckReturnValueannotation(s) into Kotlin's unused return value checkerKT-79922Record 'MustUse/ExplicitlyIgnorable' state for overrides even in disabled RVC modeKT-79920Store 'Explicitly ignorable' state of function/property in the metadataKT-79690Implement a USELESS_ELVIS_LEFT_IS_NULL with elvis expressionKT-79296Implement/adapt diagnostics for new destructuringKT-79298Report errors on new destructuring syntax in K1Performance Improvements
KT-81340K/N: severe compilation time degradation after turning on casts optimization passKT-80554Kotlin/Native: investigate performance hit from always-on llvm pass profilingKT-80370Add NO_INLINE attribute to some of runtime functionsKT-80167K/N: condense the nodes and edges in DevirtualizationAnalysis constraint graphKT-79535Revert incorrect SAM conversion enhancements brought to K2Fixes
KT-81257Native: "Unexpected boolean predicate" when generating 'static_cache'KT-80864K2: MissingVal cannot be reassigneddiagnostic for Java final fields (crashes in runtime withIllegalAccessError)KT-75215KDoc: references from@paramtag are rendered as plain textKT-79887K2 Compiler Internal Error in 'FirFakeOverrideGenerator.checkStatusIsResolved' MethodKT-78125false-negative shadowed contextual overload warning on local declarationsKT-79274Frontend implementation of name-based destructuringKT-81057Wrong handling of boxing during redundant casts optimizationKT-80285IJ monorepo: broken compilation after 2.2.20-RC updateKT-81015Mark nested typealiases as stable for 2.3KT-81064Wrong safe call null check handling during redundant casts optimizationKT-80744Kotlin failure on lambda with type parameterKT-78280Implement the sourcelessKtDiagnosticsKT-78819K2: False positive ABSTRACT_MEMBER_NOT_IMPLEMENTED in KJK hierarchyKT-81018ISE "IR class for Foo not found" on missing dependency when lowering SAM constructorKT-80936NON_PUBLIC_CALL_FROM_PUBLIC_INLINE :@PublishedApidoesn't work for fun interfacesKT-75748StackOverflowError when reading array from metadata annotationsKT-80400K2: AbstractMethodError on fun interface implementation inheriting from an interface compiled with -jvm-default=disableKT-80940K2: Exception in FIR2IR with AnnotationTarget.TYPE with self-annotated non-vararg default argument and usage in child moduleKT-80538KaFirDiagnostic.EmptyRange doesn't work in most of the casesKT-80524Class is not abstract and does not implement abstract member when compiling with kotlinc-jklibKT-80597Apply fix for CVE-2024-7254 to our fork of protobuf 2.6.1KT-80849K2:ConstValueProviderImpldoesn't distinguish files with same name and packageKT-80602Exhaustiveness checker improvements for 2.3KT-80735Support || return/throw shortcut in unsed return value checkerKT-79651Report a warning about an unused return value only on the function nameKT-80719False positive: "Redundant visibility modifier": when overriding protected methods as "public"KT-80711IC Native: NPE during link on ktorKT-80795Wong type cast is added for IMPLICIT_COERCION_TO_UNITKT-80434K2: DSL marker doesn't work with lambda fieldsKT-80383Getter without a body is allowed on a property with an explicit backing fieldKT-80455K2: StackOverflowError in when exhaustiveness checker on red codeKT-72862[Native caches] Umbrella for failing codegen/box tests for corner cases in synthetic accessorsKT-20278NO_TYPE_ARGUMENTS_ON_RHS: Confusing diagnostic for inner class of generic outer classKT-80164Move name generation for unnamed context parameters to frontendKT-78112RETURN_VALUE_NOT_USED is reported for local function even if it isn't marked with annotation in CHECKER modeKT-48311Incorrect LINENUMBER after if with a suspend callKT-80688Bad SourceDebugExtension caused by enhanced coroutines debuggingKT-73851Native: compilation fails with ClassCastException with genericSafeCasts=trueKT-77593Add a warning when@IgnorableReturnValueis inconsistent between expect/actual functionsKT-78895Consider dropping isLocalInFunction and FirClassLikeDeclaration.isLocalKT-79386Confusing error message when named parameters are used for java method callsKT-80600K2: Private and final modifiers are allowed on setter of open delegated propertyKT-79783KDoc parser: Links aren't rendered if the line has an indent of 4 or moreKT-77101Invoke on callable reference is considered ignorableKT-79923Remove lookup of@IgnorableReturnValueannotation from FirReturnValueOverrideCheckerKT-80517Synthetic kotlin.Any members in data classes are missing@MustUseReturnValueKT-80194VAR_TYPE_MISMATCH_ON_OVERRIDE: doesn't mention the inferred typeKT-80484K2: ClassCastException due to fake source for implicit lambda parameter (RedundantNullableChecker)KT-79979K2: ClassCastException when overriding extension property with delegationKT-80592UninitializedPropertyAccessExceptionwhen anayzing annotations on members of anonymous classesKT-80399Anonymous Kotlin class incorrectly warns about deprecated java override despite '@Deprecated' annotationKT-79610Adding CocoaPod to Kotlin/Native MPP triggers IR serialization failure and commonizer errorsKT-79866kotlinc 2.2.0 silently emits 'NonExistentClass' instead of reporting an errorKT-78664False positive VARIABLE_NEVER_READ and ASSIGNED_VALUE_IS_NEVER_READ on function type variable with splited declaration and assignmentKT-79496False positive "when must be exhaustive" in triangle interface/class hierarchyKT-79774KtDestructuringDeclaration.getLPar & getRPar are brokenKT-79442"Multiple annotations of type kotlin.coroutines.jvm.internal.DebugMetadata": 2.2.0-Beta1 generates broken code with JVM default suspend methods in interfacesKT-80391K2: Only one context parameter is mentioned in the [NO_CONTEXT_ARGUMENT] diagnosticKT-79785ktypew:kotlin.collections.List already exists error using Swift ExportKT-78879"Sealed types cannot be instantiated": Can't instantiate Java-defined sealed Class from KotlinKT-80330K2: NPE at org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver.createResolvedNamedReferenceKT-21598Extension is shadowed by member should not be reported when member is deprecated with HIDDEN levelKT-79622FUNCTION_EXPECTED: Misleading 'expression cannot be invoked as a function' when inaccessible with private lambdaKT-80255[EXTENSION_FUNCTION_IN_EXTERNAL_DECLARATION] can be attached to the receiver type of a functional typeKT-79816Java Interfaces implemented by delegation have non-null return checksKT-80177Improve message of RECEIVER_SHADOWED_BY_CONTEXT_PARAMETER in case of member extensionKT-79770There is no RECEIVER_SHADOWED_BY_CONTEXT_PARAMETER if the usage of fun is from inside the classKT-79430False positive EXTENSION_SHADOWED_BY_MEMBER on overridden member extensionKT-62934Incorrect line mapping inside inline lambda after non-local returnKT-79545K2: no error on crossinline lambda usage in anonymous object base constructor callKT-79643HAS_NEXT_FUNCTION_AMBIGUITY and NEXT_AMBIGUITY diagnostics are always ignored in favor of HAS_NEXT_FUNCTION_NONE_APPLICABLE and NEXT_NONE_APPLICABLEKT-79327Modifier 'private' is not applicable to 'value parameter' is reported for context parametersKT-76453K2 IDE: autocomplete freezeKT-77182A function in a file annotated with@file:MustUseReturnValue doesn't produce a warning when it is used from compiled codeKT-78541Jspecify: Unsound platform type despite@NullMarkedfor an override with a generic-subclass return typeKT-79672'when expression must be exhaustive' even after using 'require()'KT-71306K2 IDE / Kotlin Debugger: “Cannot find local variable 'block' with type kotlin.jvm.functions.Function0” on evaluating lambda arg inside inline functionKT-80003Kotlin/Native: deprecate eager GlobalData initializationKT-76991K2 IDE / Kotlin Debugger: ISE “Couldn't find declaration file for” on evaluating local fun when the scope has also inline fun from another file callKT-79877K2 IDE / Kotlin Debugger: failed evaluations of a code fragment capturing local data classKT-77401[FIR]ParameterNameTypeAttribute.namedoesn't support@ParameterNamewith compile-time constant property argumentKT-79682Fix partially uninitialized locals after coroutine spills insertionKT-79276Dexing fails with "Cannot read field X because is null" with 2.2.0KT-79562NPE when passing non-lambda argument of nullable non-suspend function type into function that accepts nullable suspend function typeKT-79693NotImplementedError: An operation is not implemented: Unknown file with KMP separate compilationKT-79662Unused return value checker doesn't work for com.google.errorprone.annotations.CheckReturnValueKT-79781Missing MISSING_DEPENDENCY_CLASS when using type alias with inaccessible RHSKT-79547"UnsupportedOperationException: Not supported" with inlining and value classesKT-77772Only report exposed type on qualifier if it's resolved to an objectKT-79765K2. Do not report ignore return value for unresolved referenceKT-76343Drop language version 1.8KT-79017False negative REDECLARATION on private nested classKT-72039StackOverflowError on calling keySet on a Kotlin subclass of Java subclass of ConcurrentHashMapKT-79451Rework approach to recursive types approximationKT-75843K2: incorrect line numbers in an if-expression with a super-callKT-77504Add a warning when@IgnorableReturnValueis inconsistent on overridesKT-78389Perform version 2.3 boostrappingKT-79092Crash on default argument in function in fun interfaceKT-77729Package-level@NullMarkeddoes not work when kotlinc sees .java source filesKT-79013False negativeNOT_YET_SUPPORTED_IN_INLINEon inline local functions inside inline functionConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.