Update kotlin monorepo to v2.1.20 #41
Merged
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.1.10->2.1.202.1.10->2.1.202.1.10->2.1.20Release Notes
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-test-junit)
v2.1.20: Kotlin 2.1.20Changelog
Analysis API
Fixes
KT-68198Analysis API: Support application service registration in plugin XMLsKT-57733Analysis API: Use optimizedModuleWithDependenciesScopes in combined symbol providersKT-73156AA: type retrieval for erroneous typealias crashesKT-71907K2 debugger evaluator failed when cannot resolve unrelated annotationKT-69128K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested classKT-71613KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbolKT-71741K2 IDE. Classifier was found in KtFile but was not found in FirFile inlibraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.ktsinkotlin.gitand broken analysisKT-71942Need to rethrow Intellij Platform exceptions, like ProcessCanceledExceptionKT-70949Analysis API: "containingDeclaration" does not work on nested Java classes in K2 implementationKT-69736K2 IDE: False positive resolution from KDoc forvalueKT-69047Analysis API: Unresolved KDoc reference to extensions with the same nameKT-70815Analysis API: Implement stop-the-world session invalidationKT-69630KAPT User project builds with KAPT4 enabled fail with Metaspace overflowAnalysis API. Code Compilation
KT-71263K2 evaluator: Error in evaluating self property with extension receiverAnalysis API. FIR
Performance Improvements
KT-72025FileStructureElement: reduce redundant resolveKT-74012RedundantFirAbstractBodyResolveTransformerDispatcher.<init>CPU consumptionKT-73900ContextCollectorVisitor#computeContext may spend significant time oncreateSnapshotKT-73665FirElementFinder is inefficient in large filesKT-73330Remove bodies from functions without contracts after the CONTRACTS phaseKT-73017Analysis API:FirReferenceResolveHelper.getSymbolsByResolvedImportsearches for classes even when the selectedFqNameis a known packageFixes
KT-72308getOrBuildFir returns null for this expression for plusAssign operatorKT-72660ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValueKT-74097ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValueKT-74098ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValueKT-72148K2: KISEWA: Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(DataClassMember) but FirArgumentListImpl foundKT-73079K2: Internal compiler error when conflicting type aliases are presentKT-73456Expected FirResolvedContractDescription but FirRawContractDescriptionImpl found for FirSimpleFunctionImplKT-73259Expected FirResolvedContractDescription but FirLegacyRawContractDescriptionImpl found for FirSimpleFunctionImplKT-72740FirDanglingModifierList:lazyResolveToPhase(STATUS)cannot be called from a transformer with a phase STATUSKT-66132K2: FirRegularClass expected, but FirFileImpl found | Containing declaration is not foundKT-72196K2. KMP. IllegalStateException: expect-actual matching is only possible for code with sourcesKT-72652FirProvider#getContainingClassshould supportFirDanglingModifierSymbolKT-73105Lazy resolve contract violation (BODY_RESOLVE from BODY_RESOLVE)KT-66261K2: Analysis API: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is null" with MULTIPLE_LABELS_ARE_FORBIDDEN K2 errorKT-72315K2. KIWA on usage of always-true OR in guard conditionKT-65707K2 IDE: unresolved calls of callables imported with typealias as qualifierKT-61516K2: Provide an LL FIR implementation forgetContainingClassSymbol(inFirHelpers)KT-72853Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirContextReceiverImpl(Source) but FirArgumentListImpl foundKT-64215K2: do not resolve type annotations of receiver if it is used as an implicit return typeKT-64248K2: do not resolve type annotations of context receiver if it is used as an implicit return typeKT-72821Add assertion to diagnostic tests to check that all declarations have BODY_RESOLVE phase at the endKT-64056K2: K2: FirLazyBodiesCalculator shouldn't calculate annotation arguments on type phaseKT-71651K2 IDE: False positive NON_LOCAL_SUSPENSION_POINT in suspend function callKT-72164K2. IllegalArgumentException when pre and post increment are used simultaneously in assignmentKT-71174Illegal scope usedKT-72407FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessingKT-72228K2: Reformat doesn't work in project with Kotlin2.0.21KT-69671TYPES phase contract violation through JavaSymbolProviderKT-71348K2: KotlinIllegalStateExceptionWithAttachments: 'By now the annotations argument mapping should have been resolved' during code inspectionKT-72024FirClassVarianceChecker: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-71746K2 IDE.ISE: Zero or multiple overrides found for descriptor in FirRegularClassSymbol serializing/ExternalSerializerand red code on@Serializer(forClass) ` usageAnalysis API. Infrastructure
KT-72922KotlinFakeClsStubsCache project leakageKT-71988Improve scripts test coverage by LL FIRKT-64687K2: Analysis API: migrate AbstractFirLibraryModuleDeclarationResolveTest to kotlin repoAnalysis API. Light Classes
KT-73492K2. FP error in Java file when using@JvmSuppressWildcardsannotation without argumentsKT-66763K2: Get rid of context receivers in Analysis API and LL APIKT-71781SLC: migrate SLC from KotlinModificationTrackerService to KotlinModificationTrackerFactoryKT-67963K2: PsiInvalidElementAccessException on redeclaration of class with constructorKT-71407K2: Do not report@JvmFielddefault value as PsiField initializer in K2KT-72078K2 PSI change for constructor parameter with value class typeAnalysis API. Providers and Caches
KT-69247Analysis API: Invalidate sessions after builtins modification eventsKT-72704ISE: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'(53) in array owner: LLFirBuiltinsAndCloneableSession for Builtins for JS/wasm-js (JS)KT-67148Analysis API: Introduce a weak reference cache for the originalKtSymbolinKtSymbolPointerKT-73395Analysis API:JavaElementPsiSourceWithSmartPointercontains strong references to PSIKT-72390Kotlin project full of red codeKT-72388KaFirStopWorldCacheCleaner: Control-flow exceptionsKT-72644"PSI has changed since creation" reason is misleadingAnalysis API. Standalone
KT-73776Analysis API Standalone: Application services are missing registrations in tests and DokkaKT-70346Analysis API Standalone: Remove the custom class loader option in Standalone session creationAnalysis API. Stubs and Decompilation
KT-69398K2 IDE: SOE on editing top level private variable nameKT-72897Analysis API: Smart PSI element pointers forKtEnumEntrystubs cannot be restoredKT-71565KtClassOrObject should use isLocal from greenStubAnalysis API. Surface
New Features
KT-73414Analysis API: Support typealiased constructors in KaConstructorSymbolKT-70301Analysis API: 'KaSamConstructorSymbol' does not allow to find the constructed SAM typeKT-68236Analysis API: addisExternalproperty for KtPropertySymbolKT-68598Analysis API: missed getClassLikeSymbolByClassId APIPerformance Improvements
KT-74112UI freeze:AnyThreadWriteThreadingSupport.getWritePermitKT-73942Extend resolveToSymbols cache to all referencesKT-73622CacheresolveToSymbolsresultKT-72684Drop explicit resolve from KaFirJavaInteroperabilityComponent#asPsiTypeElementKT-60486Analysis API: optimize KaExpressionTypeProvider.returnType for simple casesFixes
KT-70114K2: Analysis API: do not lazy resolve declarations without deprecation to get it deprecationKT-73406[Analysis API] Allow extending KaModule resolution scope for all KaModulesKT-65850Cover Analysis API with KDocsKT-72099Analysis API: implement an API to retrieve default importsKT-73662KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplKT-70108Analysis API: "KaScopeProvider.scopeContext" provides scopes from implicit companion objects with inaccessible classifiersKT-68954Remove JAR publications with old artifact names (high-level-api family)KT-70134Analysis API: Port API documentation from the guide to KDocKT-72973Introduce KaSymbolOrigin.TYPE_ALIAS_CONSTRUCTORKT-70356analyzeCopy with IGNORE_SELF cannot find private membersKT-66783Analysis API:KtFirSymbolProvidercreates symbols when given PSI from unrelated modulesKT-72937Migrate KaFirReceiverParameterSymbol to KaFirSymbol/KaFirKtBasedSymbolKT-70243K2 IDE: PsiMethod.callableSymbol returnsnullfor constructorKT-66608SupportOperatorFunctionChecks#isOperatorin AAKT-73068Analysis API: AKaFirJavaFieldSymbolfor a static Java field is open instead of finalKT-73055Get rid of the deprecated Analysis API APIKT-65065ProvideKtTypeReference#getShortTypeText()KT-63800AA: this reference shortener doesn't simplify labelKT-72793Analysis API: 'expressionType' returns raw type for typealiased constructors callsKT-72658resolveToCalldoesn't work forKtSafeQualifiedExpressionKT-69930K2 IDE: Kotlin/JS project: ISE: "Unsupported type DYNAMIC_TYPE"KT-71373Make KaSessionProvider the internal APIKT-71869KaClassSymbol.superTypes for kotlin.Any contains kotlin.Any itself (K1-only)KT-64190K2 IDE: Analysis API: KDoc link leads to a function instead of interfaceKT-72075defaultTypeshould be available forKaClassifierSymbolinstead ofKaNamedClassSymbolKT-72002Analysis API: psi KaTypeParameterSymbol for default Java constructor is nullBackend. Native. Debug
KT-73306Native: add a way to specify a dir for the debug compilation unit fileKT-68536Native: bridges and trampolines affect stepping in the debuggerKT-72398Native: useDW_AT_trampolineforobjc2kotlin_*functions instead ofKonanHookinkonan_lldb.pyBackend. Wasm
KT-71868K/Wasm: support generating debug information in DWARF formatKT-71645[Wasm] Check wasm test runner for groupByPackage=true caseKT-72232Wasm, IC: Compilation exception on renaming of fileKT-73907Wasm: Duplication of files in browser distributionKT-72223Compiler generates an invalid glue-code for externals with backquoted identifiersKT-73015[Wasm, IC] Implement possibility for readonly IC cacheKT-71763K/Wasm: compiler generates incorrect code for is check on JsAnyKT-72156custom-formatters.js exists in JAR after publishToMavenLocal but not in the published artifact in Maven publicKT-71037[Wasm, IC] Investigate how make kotlin.test not fully loaded in ICCompiler
New Features
KT-74049Introduce special override rule to allow overriding T! with T & AnyKT-73256Implementallmeta-target for annotationsKT-73255Change defaulting rule for annotationsKT-61447Support context receivers overloads in Kotlin multiplatformKT-67034Warning when a property hides a Java field from superclassKT-71092Native: Write out used dependenciesKT-71094Kotlin/Native incremental compilation: fail compilation if cache build failedKT-71569Improve diagnostic precision for OPT_IN_ARGUMENT_IS_NOT_MARKERPerformance Improvements
KT-73434Slow / infinite compile involving ConeInferenceContextKT-73328Do not spillthisto a local variable in coroutinesKT-69995K2: Slow compilation when star projecting mutually recursive bounds from javaKT-73687Inefficient KtCommonFile#getFileAnnotationListKT-45452K/N optimization: inline simple functions that aren't marked withinlinekeywordKT-64898K2: toFirProperty call in PsiRawFirBuilder forces AST loadingKT-71673Consider making EnhancementSymbolsCache. enhancedFunctions using simple cacheKT-71973KtPsiUtil#getEnclosingElementForLocalDeclaration shouldn't iterate over directoriesFixes
KT-75965The iOS app did not run successfully in Release modeKT-57696Deprecate JvmDefault annotation with level HIDDENKT-75578K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argumentKT-74764Native: merge init nodes generated within the same LLVM module for the same klibKT-75444Contradictions in the constraint system are ignored in case of multiple constraints from forking pointsKT-75649K2: NPE on assigning platform type value to non-nullable lateinit varKT-75483Native: redundant unboxing generated with smart castKT-73028K2. FileAnalysisException on private property in ContextKT-73937Context parameters: IllegalArgumentException: source must not be null on lateinit var with a contextKT-74104Native: SynchronizedLazyImpl produces NPE on 2.1.20-Beta1 on mingwX64KT-71752K2: Absent non-null check for platform types in assignmentsKT-75526Regression in K2 scripting: local name doesn't shadow one from the implicit receiverKT-68131K2: build Grazie monorepo main branchKT-72618Cannot define operator inc/dec in class contextKT-74739Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"KT-68768K2: unsuccessful inference fork with jspecify annotationsKT-71943K2: IAE "source must not be null" in FirJvmModuleAccessibilityQualifiedAccessCheckerKT-75111False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another moduleKT-73831Do not choosefieldtarget in annotation classesKT-73494Enable first-only-warn annotation defaulting modeKT-74929False positive TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER if it is used with T&AnyKT-74227K2: "Cannot infer type for this parameter. Please specify it explicitly" caused by lambda in another lambda with a parameterized function typeKT-70789CLI error "mixing legacy and modern plugin arguments is prohibited" on using -Xcompiler-plugin unless default scripting plugin is disabledKT-73903Design 'replaceWith' / 'test-only' kinds for the 'LanguageFeature' classKT-74474K2: Report more precise diagnostic when last expression of non-unit lambda is a statementKT-74478K2: False negative RETURN TYPE_MISMATCH if the last statement of a lambda is indexed assignmentKT-67480K/N: a separate inlining phase after the loweringsKT-72154Dokka fails withnot array: KClass<out Annotation>on Kotlin 2.1.20-dev with@SubclassOptInRequiredKT-72040Extra checkers: false-positive unused parameter warnings on anonymous lambda parametersKT-74203K2: False negative NO_ELSE_IN_WHEN of a generic type with star projection <*> bounded by a sealed hierarchyKT-63720Coroutine debugger: do not optimise out local variablesKT-74024K2: Prohibit declaring local type aliasesKT-73146Context parameters CLI & diagnosticsKT-73251Warn users about removal of context classes and constructorsKT-72222Context parameters parsing & resolution part 1KT-61175K2: FirReceiverParameter does not extend FirDeclarationKT-73858Compose / iOS: NullPointerException on buildingKT-73864[Native] DecoupleIrType.computePrimitiveBinaryTypeOrNullfrom backend.nativeKT-73122Move the upgrade references lowering to be first one in Native pipelineKT-73608K2: "Initializer type mismatch" with map and typealias to objectKT-73691DCE removes static initializer function, which is actually calledKT-74147K2: False negative INCONSISTENT_TYPE_PARAMETER_VALUESKT-73454K2: Fix type parameters mapping for typealiases with inner RHSKT-73043K2 Compiler does not allow references to inner constructors with typealiasesKT-74040Compilation of inner class usage does not check the visibility of parent class during compilation in different roundsKT-74195Fully qualified names in error messages make them complicatedKT-74221MakeFirSupertypesCheckera platform checkerKT-72962Consider enabling ConsiderForkPointsWhenCheckingContradictions LF earlierKT-74242Freeze onrunCatchingcall infinallyblock inside SAM conversionKT-29222FIR: consider folding binary expression chainsKT-73760Cannot implement two Java interfaces with@NotNull-annotated type argument and Kotlin's plain (nullable) type parameterKT-58933Applying suggested signature from WRONG_NULLABILITY_FOR_JAVA_OVERRIDE leads to red codeKT-74107K2: Calling type alias constructor with inner RHS in static scope causes runtime crashKT-74244Context parameters: context isn't checked for expect/actual property declarationKT-74276Update ASM from 9.0 to 9.6.1KT-72737Avoid function references creation in lowerings after FunctionReferenceLoweringKT-72295K2: Generated accessors for delegated property should have property sourceKT-73150Investigate/test approximation of context parameter type in completionKT-73862[Native] Decouple NativePreSerializationLoweringContext from backend.nativeKT-70507Should parentheses prevent from plus/set operator desugaring?KT-72677K2 IDE / Kotlin Debugger: “Couldn't find virtual file for p1/MainKt$foo$iface$1” on evaluating inline function from another moduleKT-72672K2 IDE / Kotlin Debugger: “Couldn't find virtual file” on evaluating inline function for enum class entries from test moduleKT-73912Cannot evaluate inline methods from another module in KMP projectKT-73765K2: Prohibit nested type aliases with inner RHS when it captures type parameters implicitlyKT-73869[Native] Move KonanSymbols out ofbackend.nativeKT-73823Kotlin/Native: IndexOutOfBounds for java.util.Map::getOrDefaultKT-73755K2: type mismatch error contains unsubstituted type parameter typesKT-72837ERROR_IN_CONTRACT_DESCRIPTION message contains compiler internalsKT-73771K2: Infinite compilation caused by buildList without typeKT-67520Change of behaviour of inline function with safe cast on value typeKT-67518Value classes leak their carrier type implementation details via inliningKT-71767Generate default compatibility bridges in -Xjvm-default=all/all-compatibility modeKT-73716Context parameters expose visibilityKT-73671Context parameters: val/var on context parameter on a property is possibleKT-73510Context parameters: It is possible to declare a context for init blockKT-72305K2: Report error when using synthetic properties in case of mapped collectionsKT-72429StackOverflowError when compiling large filesKT-72500K2 Debugger: NSME on evaluating lambda with a call to internal class fieldKT-73845K2: IllegalArgumentException during FIR2IR transformation when processing nested default values in annotationsKT-73538K2 IDE / Kotlin Debugger: ISE “couldn't find inline method" on evaluating internal inline function with default arg from main module in test moduleKT-73347K2: Expected is FirResolvedDeclarationStatusKT-71226K2 Evaluator: Code fragment compilation with unresolved classes does not fail with exceptionKT-73902Clean-up code around lateinit inline/value classesKT-73693K2: DslMarker checker doesn't report violation for callable reference with bound receiverKT-73667K2: DslMarker checker ignores function type annotations for invokeExtensionKT-72797K2 IDE / Kotlin Debugger: AE “No such value argument slot in IrCallImpl” on evaluating inc()-operator for private fieldKT-68388Compiler crash on convesion to fun interface with extension receiverKT-73801False positive CONFLICTING_OVERLOADS between base suspend fun and derived propertyKT-62833K2: Run smoke FP tests with SLOW_ASSERTIONS enabledKT-54068Context receivers with lambda nesting result in Type mismatchKT-51383Lambdas with context receivers do not accept context receivers from scopeKT-73331Context parameters implicit invokeKT-73650Implement DIFFERENT_NAMES_FOR_THE_SAME_PARAMETER_IN_SUPERTYPES for K2KT-73745Migrate modularized tests to the latest stable versionKT-70233Implement a deprecation error for FIELD-targeted annotations on annotation propertiesKT-72996false-positive unresolved reference error on an overloaded callable reference in a lambda return position on the left-hand size of an elvis operatorKT-73791Forbid usinginlineandvalueclass modifiers togetherKT-73704[Native] Decouple KonanIrLinker from cinterop deserializationKT-73641Context parameters DSL marker supportKT-59880K2: Disappeared CONFLICTING_OVERLOADSKT-73339K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projectionKT-72585K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: SKT-59443K2: Implement missing K1 diagnosticsKT-67517Value class upcast to Any leaks carrier type interfacesKT-73527Prohibit (via a deprecation warning) accessing nested class through generic outer classKT-72852JAVA_CLASS_ON_COMPANION compiler warning missing in K2KT-71704K2: subAtom already initializedKT-73399compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameterKT-72281K/N: "Failed to wait for cache to be built"KT-73049Kotlin Debugger: CNFE on evaluating local function inside lambdaKT-72725KMP: Unsupported actualization of inherited java field in expect classKT-73476K2: Visibility of nested type aliases is not respected if RHS is innerKT-72957K2: Don't use offsets for mapping annotations from IR plugins injected into metadataKT-72814FIR: don't use function references in FirThisReferenceKT-73143Context parameters resolution leftoversKT-71649K2: Put operator on mutableMap<T?, V>() causes crashes on null keyKT-72832Erroneous implicit cast inserted by smartcastKT-72930K2 IDE / Kotlin Debugger: ISE “couldn't find inline method” on evaluating internal inline function from main module in test moduleKT-73095K2: "Failed to find functional supertype for ConeIntersectionType"KT-70366K2: "KotlinIllegalArgumentExceptionWithAttachments: Failed to find functional supertype for class "KT-73260Rename context receivers to context parameters in frontendKT-73375K2/JVM: -Xuse-type-table generates incorrect metadata for local delegated propertiesKT-72470Annotations on effect declarations are unresolvedKT-72409False negative "Type parameter is forbidden for catch parameter"KT-72723K2: Replace unused FIR properties required by inheritence with computed propertiesKT-72246Exception from FirReceiverAccessBeforeSuperCallChecker on red codeKT-47289No error on companion object inside inner class in enum constructor callKT-46120No error reported when Java interface method is implemented by delegation to Java class where corresponding method has different generic signatureKT-72746K2: No IR overriddens generated for Nothing.toStringKT-70389K2: StackOverflowError at org.jetbrains.kotlin.fir.resolve.calls.CreateFreshTypeVariableSubstitutorStage.shouldBeFlexibleKT-72537[FIR Analysis] 'IllegalArgumentException: source must not be null' when typing '++++' (four pluses)KT-73010K2: RefactorDispatchReceiverMemberScopeTowerLevel.processMembersKT-72924Extension property declaration shouldn't be possible in whenKT-72826UNUSED_LAMBDA_EXPRESSION compiler warning missing in K2KT-25513Report compilation error when in generated JVM bytecode there is a need for CHECKCAST to inaccessible interfaceKT-73153K2: Standalone diagnostics on type arguments are not reportedKT-71252JVM: Set the proper visibility to backing fields of lateinit propertiesKT-73213K2: Initialize outer type parameter refs for inner (local) type aliases during FIR buildingKT-73215Set up isInner property for inner type aliases during FIR buildingKT-73088K2: Introduce NestedTypeAliases experimental featureKT-73192K2: FirJavaField has incorrect modalityKT-60310K2: introduce FirErrorContractDescription to distinguish unresolved contract from error oneKT-73008K2: Resolve nested type aliases in derived classesKT-73009K2: Treat nested type aliases as classes during supertypes resolution (they are not inner by default)KT-59886K2: Disappeared ERROR_IN_CONTRACT_DESCRIPTIONKT-72839Rewrite processConstraintStorageFromExpression using resolution atomsKT-73147Context parameters FIR2IR supportKT-72789Fix inconsistent IR produced by ScriptsToClassesLowering for script instance featureKT-66711K2: INITIALIZER_TYPE_MISMATCH is reported on the whole lambda instead of RETURN_TYPE_MISMATCH on each return expressionKT-73011K2: Allow overloads resolution for callable references based on expected type variable with constraintsKT-73031K2: Callable reference unresolved inside elvis with a complex function typeKT-66161K2: False-positive REDUNDANT_VISIBILITY_MODIFIER for protected modifier in private classKT-73065CCE with context receiversKT-72345K2: Method 'get' without@Overrideannotation not calledKT-69981K2: Refactor ResolutionMode.WithExpectedType.expectedType to be a ConeKotlinTypeKT-68363ABSTRACT_MEMBER_NOT_IMPLEMENTEDdiagnostic reported only for the first not implemented functionKT-72105JVM: typeOf() result is sometimes incorrectly optimized to null in bytecodeKT-72813FIR: fix containing declaration for annotations of a receiver parameterKT-72552AutoboxingTransformer fails on during linkage on nested lambdas with cinteroped typesKT-71751K2: Skipping code in last statement of lambdaKT-72863K2: failed compilation for a context receiver with an annotated typeKT-68984K2: Typealiased SAM constructors resolve to the expanded interfaceKT-57471K2: Wrong diagnostics for named lambda argumentsKT-69560Tidy up test data that affected byPrioritizedEnumEntriesorProperUninitializedEnumEntryAccessAnalysisfeaturesKT-72894"Placeholder projection cannot be mapped." error from resolve when using placeholder in a typealiasKT-70886FIR/AA: Reduce strong memory footprint of cached symbol names providersKT-72238Argument type mismatch in builder inside extension function after ?:KT-72738Simplify naming scheme for function referencesKT-72340K1/K2 difference in de-duplication of OPT_IN_USAGE and OPT_IN_TO_INHERITANCEKT-61272Frontend: error message "feature ... is experimental and should be enabled explicitly" does not explain how to do itKT-72664K2: Function type kind is not propagated for parameters of incomplete callsKT-64247K2: FirContextReceiver does not extend FirDeclarationKT-67383Incorrect optimisation when optimising for loop with UByteKT-70975K2: Confusing INVISIBLE_REFERENCE message when accessing nested class in private-in-file classKT-72743CCE inFirUninitializedEnumChecker:FirPropertySymbolcannot be cast toFirEnumEntrySymbolKT-71708False negative UNSUPPORTED for collection literals as trailing return valueKT-67707K2: CCE "ArrayMapImpl cannot be cast to class OneElementArrayMap" from FIR evaluatorKT-71966Seemingly bug in SupertypeComputationSession#breakLoopForKT-17455Confusing error message "There's a cycle in the inheritance hierarchy for this type" when outer class inherits nested classKT-71119K2: "AssertionError: Should be primitive or nullable primitive type" caused by comparing Double/Float and Any successor typeKT-57527K1/K2: "IllegalArgumentException: Some properties have the same names" with inline classKT-57851Wrong ValueClassRepresentation inside value classKT-67998K2: CANNOT_INFER_PARAMETER_TYPE on incomplete call inside if in a Java SAMKT-71961K2 debugger evaluation ClassCastException in IrElementsCreationUtilsKt#createFilesWithBuiltinsSyntheticDeclarationsIfNeededKT-72504OptimizeKotlinLocalVirtualFile.isDirectoryfor parent virtual filesKT-71399Kotlin Script: NPE on type resolveKT-69283Incorrect synthetic line numbers when inlining suspend funsKT-52929Java cannot extend instantiations of generic Kotlin collections in the presence of instantiated Kotlin subclassesKT-71885K2: confusing message when lateinit var is assigned onceKT-69920K2: java.lang.IllegalArgumentException: FirNamedArgumentExpressionImpl.replaceConeTypeOrNull() during Space project compilationKT-55894NI: Compile errors for out-projected types are more cryptic than previouslyKT-72231K2: NONE_APPLICABLE instead of NAMED_ARGUMENTS_NOT_ALLOWED for non-Kotlin functions with overloadsKT-72422KMP: False-positive report of ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT on SublcassOptInRequiredKT-72257'javaClass' method cannot be evaluated in Kotlin project itselfKT-72408Introduce new TYPE_VARIANCE_CONFLICT diagnosticsKT-71508JAVA_CLASS_INHERITS_KT_PRIVATE_CLASS isn't reported when java class is inherited from an effectively private classKT-72177K2: Argument type mismatch when using star projectionKT-72245K2: When Java source roots are passed by file, fully qualified deep packages are unresolvedKT-63923Confusing error messages for TYPE_MISMATCH from inferenceKT-57708Unclear TYPE_MISMATCH messages in certain situations with genericsKT-72178K2: "Unexpected FirPlaceholderProjectionImpl" exception when using "_" as key type in EnumMapKT-62455"NullPointerException" with 'multi-field value class'KT-72302K2: no error on type operator in annotation parameter default valueKT-72212[Scripting] Guava dependency is not packaged correctlyKT-71662PCLA: a type variable is not fixed on demand to a type containing a not-fixed type variableKT-72229K2: Change LV of ProhibitConstructorAndSupertypeOnTypealiasWithTypeProjection to 2.2KT-70256K2: Check forMISSING_BUILT_IN_DECLARATIONnot only for JVM but for all platformsKT-72173K2: simple object names from root package are resolved without imports in non-root packages when used as valuesKT-71480JAVA_CLASS_INHERITS_KT_PRIVATE_CLASS isn't reported while java object isn't createdKT-60034K2: Introduced NO_GET_METHODKT-72199K1: Match the shape of references to synthetic Java properties to the shape of their gettersKT-15672Improve diagnostics for accessing Enum companion object from enum constructorKT-71321K2: ClassCastException caused by missed type mismatch when passing a method referenceKT-72041Extra checkers: false-positive unused parameter warnings on implicit lambda parametersKT-71959NO_VALUE_FOR_PARAMETER should use actual lambda parameter nameKT-69985K2: simple classifier names from root package are resolved without imports in non-root packagesKT-70139Remove dependencies of debugger on K1 and old JVM backendKT-72142PSI: unrelated enums are treated as equivalentKT-57358False positive "Const 'val' initializer should be a constant value" caused by equality with literalsKT-71753PCLA: false-negative operator ambiguity error on fixing a type variable on demand for an operator assignmentKT-70844K2 IDE: deprecated marker shouldn't highlight not deprecated type argumentKT-70854K2 IDE: annotation on delegation causes illegal argument exceptionKT-56901NI: Missing error on passing star-projection to reified type argumentKT-70856K2: IllegalStateException: Non-empty unresolved argument listKT-71897K2: Don't erase in projections in SAM conversion if -Xsam-conversion=class like in K1KT-66464IntroduceisInlineableparameter forFunctionTypeKindKT-71590K2: false alarm fromUselessCallOnNotNullCheckerKT-71919Wrapped ProcessCanceledException in GenerationState#loadClassBuilderInterceptorsKT-70922PSI for KtPropertyAccessor is inconsistent with KtNamedFunctionKT-28598Type is inferred incorrectly to Any on a deep generic type with out projectionKT-71490K2: missing REDUNDANT_ELSE_IN_WHENKT-36107Remove deprecated mod operator conventionKT-71166Generic synthetic property is unresolved when parameterized with UnitKT-71738K2: False negative REDECLARATION inside object expressionKT-59908K2: Disappeared RECURSIVE_TYPEALIAS_EXPANSIONKT-69937Define & enforce user-friendly terminology for extended checkersKT-68834Parentheses don't influence calls of any convention operators (except invoke operator) after safe navigation operatorKT-58437K2: Do not use descriptors in KonanSymbolsKT-18563Do not generate inline reified functions as private in bytecodeCompose compiler
b/397855145Fix "Unknown file" error in target annotation inferenceb/377499888Allow restarting overridden functions in a final classb/390151896Fix default arguments with varargs in@Composablefunctionsb/388030459Kotlin compiler backend exception when lambda with anonymous object is memoizedb/310004740Check vararg parameter length in skipping logicb/393400768Use -1 for.changedcall if nullable enum parameter isnullb/388505454Change order of $changed bits with context parametersb/165812010Support default values in open@Composablefunctions (K2 only)b/285336821Use stability of parent class in stability inferenceb/353744956Fix context receiver/parameter handling in Composeb/195200551CallEnum#ordinalon enum values passed to Composer#changedb/378697545Avoid using ComposableSingletons inside public inline functionsb/376148043Use remember function source key for intrinsic rememberb/345204571Remove IR offsets for conditions generated by Compose compilerb/376058538Fix stack overflow when inferring stability of indirect generic loopb/339322843Transform@Composableproperty delegate referencesCMP-75711.8.0-alpha03 incompatible with Compose based on k1IDE
KT-59445Recursion detected on input: JavaAnnotationImplIR. Actualizer
KT-68830Compiler crash on missing actual classKT-71809Kotlin-to-Java direct actualization: the property isn't actualized by overridden getterKT-71817Actualization of static members is broken for non-JVM platformsIR. Inlining
Fixes
KT-69681IR: Report warnings on exposure of private types in non-private inline functionsKT-72776[JS] Add lowerings around inlining of private functions to the common prefix at the 1st phase of compilationKT-72775[JS] Add lowerings up to "cache private inline functions" to the common prefix at the 1st phase of compilationKT-72440[Native] Add lowerings around inlining of private functions to the common prefix at the 1st phase of compilationConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.