Skip to content

Update kotlin #1026

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update kotlin #1026

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp (source) 2.1.10-1.0.30 -> 2.1.20-2.0.0 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json 1.8.0 -> 1.8.1 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-test 1.10.1 -> 1.10.2 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.10.1 -> 1.10.2 age adoption passing confidence
org.jetbrains.kotlin.plugin.serialization (source) 2.1.10 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin.jvm (source) 2.1.10 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin.android (source) 2.1.10 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin.plugin.compose (source) 2.1.10 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 2.1.10 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin:kotlin-stdlib-jdk8 (source) 2.1.10 -> 2.1.20 age adoption passing confidence

Release Notes

google/ksp (com.google.devtools.ksp)

v2.1.20-2.0.0

Compare Source

What's Changed

  • Bumped version to 2.0.0 and enabled KSP2 by default!
  • No-op blockOtherCompilerPlugins #​2397
  • A couple of fixes to compilation avoidance #​2401
  • KSTypeReferenceResolvedImpl.toString(): render unexpanded #​2393

Full Changelog: google/ksp@2.1.20-1.0.32...2.1.20-2.0.0

v2.1.20-1.0.32

Compare Source

What's Changed

#​2379 [KSP2] resolved type of vararg parameter in functions changed vs KSP1
#​2358 [KSP2] Annotation missing from property when VALUE_PARAMETER target is used.

And various performance optimizations!

v2.1.20-1.0.31

Compare Source

What's Changed

Full Changelog: google/ksp@2.1.20-RC2-1.0.31...2.1.20-1.0.31

v2.1.10-1.0.31

Compare Source

Bug Fixes

  • [KSP2] KSPropertyDeclaration#type for typealias does not match its declaration. #​2345
  • Incorrect isMutable on KSPropertyDeclaration from a JAVA_LIB in 2.1.10-1.0.30 #​2346
  • KSP breaks compilation avoidance #​2347
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)

v1.8.1

==================

This release updates Kotlin version to 2.1.20, while also providing several important improvements
and bugfixes.

Improvements

Bugfixes

  • Fix incorrect enum coercion during deserialization from JsonElement (#​2962)
  • Supply proper equals(), hashCode(), and toString() for SerialDescriptor() wrapper (#​2942)
  • Do not encode empty packed collections in protobuf (#​2907)
Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)

v1.10.2

Compare Source

  • Fixed the kotlinx-coroutines-debug JAR file including the module-info.class file twice, resulting in failures in various tooling (#​4314). Thanks, @​RyuNen344!
  • Fixed Flow.stateIn hanging when the scope is cancelled in advance or the flow is empty (#​4322). Thanks, @​francescotescari!
  • Improved handling of dispatcher failures in .limitedParallelism (#​4330) and during flow collection (#​4272).
  • Fixed runBlocking failing to run its coroutine to completion in some cases if its JVM thread got interrupted (#​4399).
  • Small tweaks, fixes, and documentation improvements.
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)

v2.1.20

Analysis API
Fixes
  • KT-68198 Analysis API: Support application service registration in plugin XMLs
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-73156 AA: type retrieval for erroneous typealias crashes
  • KT-71907 K2 debugger evaluator failed when cannot resolve unrelated annotation
  • KT-69128 K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested class
  • KT-71613 KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol
  • KT-71741 K2 IDE. Classifier was found in KtFile but was not found in FirFile in libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts in kotlin.git and broken analysis
  • KT-71942 Need to rethrow Intellij Platform exceptions, like ProcessCanceledException
  • KT-70949 Analysis API: "containingDeclaration" does not work on nested Java classes in K2 implementation
  • KT-69736 K2 IDE: False positive resolution from KDoc for value
  • KT-69047 Analysis API: Unresolved KDoc reference to extensions with the same name
  • KT-70815 Analysis API: Implement stop-the-world session invalidation
  • KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow
Analysis API. Code Compilation
  • KT-71263 K2 evaluator: Error in evaluating self property with extension receiver
Analysis API. FIR
Performance Improvements
  • KT-72025 FileStructureElement: reduce redundant resolve
  • KT-74012 Redundant FirAbstractBodyResolveTransformerDispatcher.<init> CPU consumption
  • KT-73900 ContextCollectorVisitor#computeContext may spend significant time on createSnapshot
  • KT-73665 FirElementFinder is inefficient in large files
  • KT-73330 Remove bodies from functions without contracts after the CONTRACTS phase
  • KT-73017 Analysis API: FirReferenceResolveHelper.getSymbolsByResolvedImport searches for classes even when the selected FqName is a known package
Fixes
  • KT-72308 getOrBuildFir returns null for this expression for plusAssign operator
  • KT-72660 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74097 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74098 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-72148 K2: KISEWA: Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(DataClassMember) but FirArgumentListImpl found
  • KT-73079 K2: Internal compiler error when conflicting type aliases are present
  • KT-73456 Expected FirResolvedContractDescription but FirRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-73259 Expected FirResolvedContractDescription but FirLegacyRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-72740 FirDanglingModifierList: lazyResolveToPhase(STATUS) cannot be called from a transformer with a phase STATUS
  • KT-66132 K2: FirRegularClass expected, but FirFileImpl found | Containing declaration is not found
  • KT-72196 K2. KMP. IllegalStateException: expect-actual matching is only possible for code with sources
  • KT-72652 FirProvider#getContainingClass should support FirDanglingModifierSymbol
  • KT-73105 Lazy resolve contract violation (BODY_RESOLVE from BODY_RESOLVE)
  • KT-66261 K2: Analysis API: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is null" with MULTIPLE_LABELS_ARE_FORBIDDEN K2 error
  • KT-72315 K2. KIWA on usage of always-true OR in guard condition
  • KT-65707 K2 IDE: unresolved calls of callables imported with typealias as qualifier
  • KT-61516 K2: Provide an LL FIR implementation for getContainingClassSymbol (in FirHelpers)
  • KT-72853 Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirContextReceiverImpl(Source) but FirArgumentListImpl found
  • KT-64215 K2: do not resolve type annotations of receiver if it is used as an implicit return type
  • KT-64248 K2: do not resolve type annotations of context receiver if it is used as an implicit return type
  • KT-72821 Add assertion to diagnostic tests to check that all declarations have BODY_RESOLVE phase at the end
  • KT-64056 K2: K2: FirLazyBodiesCalculator shouldn't calculate annotation arguments on type phase
  • KT-71651 K2 IDE: False positive NON_LOCAL_SUSPENSION_POINT in suspend function call
  • KT-72164 K2. IllegalArgumentException when pre and post increment are used simultaneously in assignment
  • KT-71174 Illegal scope used
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-72228 K2: Reformat doesn't work in project with Kotlin 2.0.21
  • KT-69671 TYPES phase contract violation through JavaSymbolProvider
  • KT-71348 K2: KotlinIllegalStateExceptionWithAttachments: 'By now the annotations argument mapping should have been resolved' during code inspection
  • KT-72024 FirClassVarianceChecker: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource
  • KT-71746 K2 IDE. ISE: Zero or multiple overrides found for descriptor in FirRegularClassSymbol serializing/ExternalSerializer and red code on @Serializer(forClass) ` usage
Analysis API. Infrastructure
  • KT-72922 KotlinFakeClsStubsCache project leakage
  • KT-71988 Improve scripts test coverage by LL FIR
  • KT-64687 K2: Analysis API: migrate AbstractFirLibraryModuleDeclarationResolveTest to kotlin repo
Analysis API. Light Classes
  • KT-73492 K2. FP error in Java file when using @JvmSuppressWildcards annotation without arguments
  • KT-66763 K2: Get rid of context receivers in Analysis API and LL API
  • KT-71781 SLC: migrate SLC from KotlinModificationTrackerService to KotlinModificationTrackerFactory
  • KT-67963 K2: PsiInvalidElementAccessException on redeclaration of class with constructor
  • KT-71407 K2: Do not report @JvmField default value as PsiField initializer in K2
  • KT-72078 K2 PSI change for constructor parameter with value class type
Analysis API. Providers and Caches
  • KT-69247 Analysis API: Invalidate sessions after builtins modification events
  • KT-72704 ISE: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'(53) in array owner: LLFirBuiltinsAndCloneableSession for Builtins for JS/wasm-js (JS)
  • KT-67148 Analysis API: Introduce a weak reference cache for the original KtSymbol in KtSymbolPointer
  • KT-73395 Analysis API: JavaElementPsiSourceWithSmartPointer contains strong references to PSI
  • KT-72390 Kotlin project full of red code
  • KT-72388 KaFirStopWorldCacheCleaner: Control-flow exceptions
  • KT-72644 "PSI has changed since creation" reason is misleading
Analysis API. Standalone
  • KT-73776 Analysis API Standalone: Application services are missing registrations in tests and Dokka
  • KT-70346 Analysis API Standalone: Remove the custom class loader option in Standalone session creation
Analysis API. Stubs and Decompilation
  • KT-69398 K2 IDE: SOE on editing top level private variable name
  • KT-72897 Analysis API: Smart PSI element pointers for KtEnumEntry stubs cannot be restored
  • KT-71565 KtClassOrObject should use isLocal from greenStub
Analysis API. Surface
New Features
  • KT-73414 Analysis API: Support typealiased constructors in KaConstructorSymbol
  • KT-70301 Analysis API: 'KaSamConstructorSymbol' does not allow to find the constructed SAM type
  • KT-68236 Analysis API: add isExternal property for KtPropertySymbol
  • KT-68598 Analysis API: missed getClassLikeSymbolByClassId API
Performance Improvements
  • KT-74112 UI freeze: AnyThreadWriteThreadingSupport.getWritePermit
  • KT-73942 Extend resolveToSymbols cache to all references
  • KT-73622 Cache resolveToSymbols result
  • KT-72684 Drop explicit resolve from KaFirJavaInteroperabilityComponent#asPsiTypeElement
  • KT-60486 Analysis API: optimize KaExpressionTypeProvider.returnType for simple cases
Fixes
  • KT-70114 K2: Analysis API: do not lazy resolve declarations without deprecation to get it deprecation
  • KT-73406 [Analysis API] Allow extending KaModule resolution scope for all KaModules
  • KT-65850 Cover Analysis API with KDocs
  • KT-72099 Analysis API: implement an API to retrieve default imports
  • KT-73662 KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-70108 Analysis API: "KaScopeProvider.scopeContext" provides scopes from implicit companion objects with inaccessible classifiers
  • KT-68954 Remove JAR publications with old artifact names (high-level-api family)
  • KT-70134 Analysis API: Port API documentation from the guide to KDoc
  • KT-72973 Introduce KaSymbolOrigin.TYPE_ALIAS_CONSTRUCTOR
  • KT-70356 analyzeCopy with IGNORE_SELF cannot find private members
  • KT-66783 Analysis API: KtFirSymbolProvider creates symbols when given PSI from unrelated modules
  • KT-72937 Migrate KaFirReceiverParameterSymbol to KaFirSymbol/KaFirKtBasedSymbol
  • KT-70243 K2 IDE: PsiMethod.callableSymbol returns null for constructor
  • KT-66608 Support OperatorFunctionChecks#isOperator in AA
  • KT-73068 Analysis API: A KaFirJavaFieldSymbol for a static Java field is open instead of final
  • KT-73055 Get rid of the deprecated Analysis API API
  • KT-65065 Provide KtTypeReference#getShortTypeText()
  • KT-63800 AA: this reference shortener doesn't simplify label
  • KT-72793 Analysis API: 'expressionType' returns raw type for typealiased constructors calls
  • KT-72658 resolveToCall doesn't work for KtSafeQualifiedExpression
  • KT-69930 K2 IDE: Kotlin/JS project: ISE: "Unsupported type DYNAMIC_TYPE"
  • KT-71373 Make KaSessionProvider the internal API
  • KT-71869 KaClassSymbol.superTypes for kotlin.Any contains kotlin.Any itself (K1-only)
  • KT-64190 K2 IDE: Analysis API: KDoc link leads to a function instead of interface
  • KT-72075 defaultType should be available for KaClassifierSymbol instead of KaNamedClassSymbol
  • KT-72002 Analysis API: psi KaTypeParameterSymbol for default Java constructor is null
Backend. Native. Debug
  • KT-73306 Native: add a way to specify a dir for the debug compilation unit file
  • KT-68536 Native: bridges and trampolines affect stepping in the debugger
  • KT-72398 Native: use DW_AT_trampoline for objc2kotlin_* functions instead of KonanHook in konan_lldb.py
Backend. Wasm
  • KT-71868 K/Wasm: support generating debug information in DWARF format
  • KT-71645 [Wasm] Check wasm test runner for groupByPackage=true case
  • KT-72232 Wasm, IC: Compilation exception on renaming of file
  • KT-73907 Wasm: Duplication of files in browser distribution
  • KT-72223 Compiler generates an invalid glue-code for externals with backquoted identifiers
  • KT-73015 [Wasm, IC] Implement possibility for readonly IC cache
  • KT-71763 K/Wasm: compiler generates incorrect code for is check on JsAny
  • KT-72156 custom-formatters.js exists in JAR after publishToMavenLocal but not in the published artifact in Maven public
  • KT-71037 [Wasm, IC] Investigate how make kotlin.test not fully loaded in IC
Compiler
New Features
  • KT-74049 Introduce special override rule to allow overriding T! with T & Any
  • KT-73256 Implement all meta-target for annotations
  • KT-73255 Change defaulting rule for annotations
  • KT-61447 Support context receivers overloads in Kotlin multiplatform
  • KT-67034 Warning when a property hides a Java field from superclass
  • KT-71092 Native: Write out used dependencies
  • KT-71094 Kotlin/Native incremental compilation: fail compilation if cache build failed
  • KT-71569 Improve diagnostic precision for OPT_IN_ARGUMENT_IS_NOT_MARKER
Performance Improvements
  • KT-73434 Slow / infinite compile involving ConeInferenceContext
  • KT-73328 Do not spill this to a local variable in coroutines
  • KT-69995 K2: Slow compilation when star projecting mutually recursive bounds from java
  • KT-73687 Inefficient KtCommonFile#getFileAnnotationList
  • KT-45452 K/N optimization: inline simple functions that aren't marked with inline keyword
  • KT-64898 K2: toFirProperty call in PsiRawFirBuilder forces AST loading
  • KT-71673 Consider making EnhancementSymbolsCache. enhancedFunctions using simple cache
  • KT-71973 KtPsiUtil#getEnclosingElementForLocalDeclaration shouldn't iterate over directories
Fixes
  • KT-75965 The iOS app did not run successfully in Release mode
  • KT-57696 Deprecate JvmDefault annotation with level HIDDEN
  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-74764 Native: merge init nodes generated within the same LLVM module for the same klib
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-73028 K2. FileAnalysisException on private property in Context
  • KT-73937 Context parameters: IllegalArgumentException: source must not be null on lateinit var with a context
  • KT-74104 Native: SynchronizedLazyImpl produces NPE on 2.1.20-Beta1 on mingwX64
  • KT-71752 K2: Absent non-null check for platform types in assignments
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-68131 K2: build Grazie monorepo main branch
  • KT-72618 Cannot define operator inc/dec in class context
  • KT-74739 Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"
  • KT-68768 K2: unsuccessful inference fork with jspecify annotations
  • KT-71943 K2: IAE "source must not be null" in FirJvmModuleAccessibilityQualifiedAccessChecker
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-73831 Do not choose field target in annotation classes
  • KT-73494 Enable first-only-warn annotation defaulting mode
  • KT-74929 False positive TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER if it is used with T&Any
  • KT-74227 K2: "Cannot infer type for this parameter. Please specify it explicitly" caused by lambda in another lambda with a parameterized function type
  • KT-70789 CLI error "mixing legacy and modern plugin arguments is prohibited" on using -Xcompiler-plugin unless default scripting plugin is disabled
  • KT-73903 Design 'replaceWith' / 'test-only' kinds for the 'LanguageFeature' class
  • KT-74474 K2: Report more precise diagnostic when last expression of non-unit lambda is a statement
  • KT-74478 K2: False negative RETURN TYPE_MISMATCH if the last statement of a lambda is indexed assignment
  • KT-67480 K/N: a separate inlining phase after the lowerings
  • KT-72154 Dokka fails with not array: KClass<out Annotation> on Kotlin 2.1.20-dev with @SubclassOptInRequired
  • KT-72040 Extra checkers: false-positive unused parameter warnings on anonymous lambda parameters
  • KT-74203 K2: False negative NO_ELSE_IN_WHEN of a generic type with star projection <*> bounded by a sealed hierarchy
  • KT-63720 Coroutine debugger: do not optimise out local variables
  • KT-74024 K2: Prohibit declaring local type aliases
  • KT-73146 Context parameters CLI & diagnostics
  • KT-73251 Warn users about removal of context classes and constructors
  • KT-72222 Context parameters parsing & resolution part 1
  • KT-61175 K2: FirReceiverParameter does not extend FirDeclaration
  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73864 [Native] Decouple IrType.computePrimitiveBinaryTypeOrNull from backend.native
  • KT-73122 Move the upgrade references lowering to be first one in Native pipeline
  • KT-73608 K2: "Initializer type mismatch" with map and typealias to object
  • KT-73691 DCE removes static initializer function, which is actually called
  • KT-74147 K2: False negative INCONSISTENT_TYPE_PARAMETER_VALUES
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-74195 Fully qualified names in error messages make them complicated
  • KT-74221 Make FirSupertypesChecker a platform checker
  • KT-72962 Consider enabling ConsiderForkPointsWhenCheckingContradictions LF earlier
  • KT-74242 Freeze on runCatching call in finally block inside SAM conversion
  • KT-29222 FIR: consider folding binary expression chains
  • KT-73760 Cannot implement two Java interfaces with @NotNull-annotated type argument and Kotlin's plain (nullable) type parameter
  • KT-58933 Applying suggested signature from WRONG_NULLABILITY_FOR_JAVA_OVERRIDE leads to red code
  • KT-74107 K2: Calling type alias constructor with inner RHS in static scope causes runtime crash
  • KT-74244 Context parameters: context isn't checked for expect/actual property declaration
  • KT-74276 Update ASM from 9.0 to 9.6.1
  • KT-72737 Avoid function references creation in lowerings after FunctionReferenceLowering
  • KT-72295 K2: Generated accessors for delegated property should have property source
  • KT-73150 Investigate/test approximation of context parameter type in completion
  • KT-73862 [Native] Decouple NativePreSerializationLoweringContext from backend.native
  • KT-70507 Should parentheses prevent from plus/set operator desugaring?
  • KT-72677 K2 IDE / Kotlin Debugger: “Couldn't find virtual file for p1/MainKt$foo$iface$1” on evaluating inline function from another module
  • KT-72672 K2 IDE / Kotlin Debugger: “Couldn't find virtual file” on evaluating inline function for enum class entries from test module
  • KT-73912 Cannot evaluate inline methods from another module in KMP project
  • KT-73765 K2: Prohibit nested type aliases with inner RHS when it captures type parameters implicitly
  • KT-73869 [Native] Move KonanSymbols out of backend.native
  • KT-73823 Kotlin/Native: IndexOutOfBounds for java.util.Map::getOrDefault
  • KT-73755 K2: type mismatch error contains unsubstituted type parameter types
  • KT-72837 ERROR_IN_CONTRACT_DESCRIPTION message contains compiler internals
  • KT-73771 K2: Infinite compilation caused by buildList without type
  • KT-67520 Change of behaviour of inline function with safe cast on value type
  • KT-67518 Value classes leak their carrier type implementation details via inlining
  • KT-71767 Generate default compatibility bridges in -Xjvm-default=all/all-compatibility mode
  • KT-73716 Context parameters expose visibility
  • KT-73671 Context parameters: val/var on context parameter on a property is possible
  • KT-73510 Context parameters: It is possible to declare a context for init block
  • KT-72305 K2: Report error when using synthetic properties in case of mapped collections
  • KT-72429 StackOverflowError when compiling large files
  • KT-72500 K2 Debugger: NSME on evaluating lambda with a call to internal class field
  • KT-73845 K2: IllegalArgumentException during FIR2IR transformation when processing nested default values in annotations
  • KT-73538 K2 IDE / Kotlin Debugger: ISE “couldn't find inline method" on evaluating internal inline function with default arg from main module in test module
  • KT-73347 K2: Expected is FirResolvedDeclarationStatus
  • KT-71226 K2 Evaluator: Code fragment compilation with unresolved classes does not fail with exception
  • KT-73902 Clean-up code around lateinit inline/value classes
  • KT-73693 K2: DslMarker checker doesn't report violation for callable reference with bound receiver
  • KT-73667 K2: DslMarker checker ignores function type annotations for invokeExtension
  • KT-72797 K2 IDE / Kotlin Debugger: AE “No such value argument slot in IrCallImpl” on evaluating inc()-operator for private field
  • KT-68388 Compiler crash on convesion to fun interface with extension receiver
  • KT-73801 False positive CONFLICTING_OVERLOADS between base suspend fun and derived property
  • KT-62833 K2: Run smoke FP tests with SLOW_ASSERTIONS enabled
  • KT-54068 Context receivers with lambda nesting result in Type mismatch
  • KT-51383 Lambdas with context receivers do not accept context receivers from scope
  • KT-73331 Context parameters implicit invoke
  • KT-73650 Implement DIFFERENT_NAMES_FOR_THE_SAME_PARAMETER_IN_SUPERTYPES for K2
  • KT-73745 Migrate modularized tests to the latest stable version
  • KT-70233 Implement a deprecation error for FIELD-targeted annotations on annotation properties
  • KT-72996 false-positive unresolved reference error on an overloaded callable reference in a lambda return position on the left-hand size of an elvis operator
  • KT-73791 Forbid using inline and value class modifiers together
  • KT-73704 [Native] Decouple KonanIrLinker from cinterop deserialization
  • KT-73641 Context parameters DSL marker support
  • KT-59880 K2: Disappeared CONFLICTING_OVERLOADS
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-59443 K2: Implement missing K1 diagnostics
  • KT-67517 Value class upcast to Any leaks carrier type interfaces
  • KT-73527 Prohibit (via a deprecation warning) accessing nested class through generic outer class
  • KT-72852 JAVA_CLASS_ON_COMPANION compiler warning missing in K2
  • KT-71704 K2: subAtom already initialized
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
  • KT-72281 K/N: "Failed to wait for cache to be built"
  • KT-73049 Kotlin Debugger: CNFE on evaluating local function inside lambda
  • KT-72725 KMP: Unsupported actualization of inherited java field in expect class
  • KT-73476 K2: Visibility of nested type aliases is not respected if RHS is inner
  • KT-72957 K2: Don't use offsets for mapping annotations from IR plugins injected into metadata
  • KT-72814 FIR: don't use function references in FirThisReference
  • KT-73143 Context parameters resolution leftovers
  • KT-71649 K2: Put operator on mutableMap<T?, V>() causes crashes on null key
  • KT-72832 Erroneous implicit cast inserted by smartcast
  • KT-72930 K2 IDE / Kotlin Debugger: ISE “couldn't find inline method” on evaluating internal inline function from main module in test module
  • KT-73095 K2: "Failed to find functional supertype for ConeIntersectionType"
  • KT-70366 K2: "KotlinIllegalArgumentExceptionWithAttachments: Failed to find functional supertype for class "
  • KT-73260 Rename context receivers to context parameters in frontend
  • KT-73375 K2/JVM: -Xuse-type-table generates incorrect metadata for local delegated properties
  • KT-72470 Annotations on effect declarations are unresolved
  • KT-72409 False negative "Type parameter is forbidden for catch parameter"
  • KT-72723 K2: Replace unused FIR properties required by inheritence with computed properties
  • KT-72246 Exception from FirReceiverAccessBeforeSuperCallChecker on red code
  • KT-47289 No error on companion object inside inner class in enum constructor call
  • KT-46120 No error reported when Java interface method is implemented by delegation to Java class where corresponding method has different generic signature
  • KT-72746 K2: No IR overriddens generated for Nothing.toString
  • KT-70389 K2: StackOverflowError at org.jetbrains.kotlin.fir.resolve.calls.CreateFreshTypeVariableSubstitutorStage.shouldBeFlexible
  • KT-72537 [FIR Analysis] 'IllegalArgumentException: source must not be null' when typing '++++' (four pluses)
  • KT-73010 K2: Refactor DispatchReceiverMemberScopeTowerLevel.processMembers
  • KT-72924 Extension property declaration shouldn't be possible in when
  • KT-72826 UNUSED_LAMBDA_EXPRESSION compiler warning missing in K2
  • KT-25513 Report compilation error when in generated JVM bytecode there is a need for CHECKCAST to inaccessible interface
  • KT-73153 K2: Standalone diagnostics on type arguments are not reported
  • KT-71252 JVM: Set the proper visibility to backing fields of lateinit properties
  • KT-73213 K2: Initialize outer type parameter refs for inner (local) type aliases during FIR building
  • KT-73215 Set up isInner property for inner type aliases during FIR building
  • KT-73088 K2: Introduce NestedTypeAliases experimental feature
  • KT-73192 K2: FirJavaField has incorrect modality
  • KT-60310 K2: introduce FirErrorContractDescription to distinguish unresolved contract from error one
  • KT-73008 K2: Resolve nested type aliases in derived classes
  • KT-73009 K2: Treat nested type aliases as classes during supertypes resolution (they are not inner by default)
  • KT-59886 K2: Disappeared ERROR_IN_CONTRACT_DESCRIPTION
  • KT-72839 Rewrite processConstraintStorageFromExpression using resolution atoms
  • KT-73147 Context parameters FIR2IR support
  • KT-72789 Fix inconsistent IR produced by ScriptsToClassesLowering for script instance feature
  • KT-66711 K2: INITIALIZER_TYPE_MISMATCH is reported on the whole lambda instead of RETURN_TYPE_MISMATCH on each return expression
  • KT-73011 K2: Allow overloads resolution for callable references based on expected type variable with constraints
  • KT-73031 K2: Callable reference unresolved inside elvis with a complex function type
  • KT-66161 K2: False-positive REDUNDANT_VISIBILITY_MODIFIER for protected modifier in private class
  • KT-73065 CCE with context receivers
  • KT-72345 K2: Method 'get' without @Override annotation not called
  • KT-69981 K2: Refactor ResolutionMode.WithExpectedType.expectedType to be a ConeKotlinType
  • KT-68363 ABSTRACT_MEMBER_NOT_IMPLEMENTED diagnostic reported only for the first not implemented function
  • KT-72105 JVM: typeOf() result is sometimes incorrectly optimized to null in bytecode
  • KT-72813 FIR: fix containing declaration for annotations of a receiver parameter
  • KT-72552 AutoboxingTransformer fails on during linkage on nested lambdas with cinteroped types
  • KT-71751 K2: Skipping code in last statement of lambda
  • KT-72863 K2: failed compilation for a context receiver with an annotated type
  • KT-68984 K2: Typealiased SAM constructors resolve to the expanded interface
  • KT-57471 K2: Wrong diagnostics for named lambda arguments
  • KT-69560 Tidy up test data that affected by PrioritizedEnumEntries or ProperUninitializedEnumEntryAccessAnalysis features
  • KT-72894 "Placeholder projection cannot be mapped." error from resolve when using placeholder in a typealias
  • KT-70886 FIR/AA: Reduce strong memory footprint of cached symbol names providers
  • KT-72238 Argument type mismatch in builder inside extension function after ?:
  • KT-72738 Simplify naming scheme for function references
  • KT-72340 K1/K2 difference in de-duplication of OPT_IN_USAGE and OPT_IN_TO_INHERITANCE
  • KT-61272 Frontend: error message "feature ... is experimental and should be enabled explicitly" does not explain how to do it
  • KT-72664 K2: Function type kind is not propagated for parameters of incomplete calls
  • KT-64247 K2: FirContextReceiver does not extend FirDeclaration
  • KT-67383 Incorrect optimisation when optimising for loop with UByte

Configuration

📅 Schedule: Branch creation - "* 0-3 * * *" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/kotlin branch from b7271a2 to 3959686 Compare March 20, 2025 12:05
@renovate renovate bot changed the title Update dependency com.google.devtools.ksp 2.1.10-1.0.30 to v2.1.10-1.0.31 Update kotlin Mar 20, 2025
@renovate renovate bot force-pushed the renovate/kotlin branch 2 times, most recently from def3efa to d690808 Compare March 26, 2025 18:55
@renovate renovate bot force-pushed the renovate/kotlin branch from d690808 to fddf59a Compare April 1, 2025 11:58
@renovate renovate bot force-pushed the renovate/kotlin branch from fddf59a to 9cbc5c3 Compare April 8, 2025 12:02
@renovate renovate bot force-pushed the renovate/kotlin branch from 9cbc5c3 to e79d963 Compare April 9, 2025 01:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants