Update kotlin monorepo to v2 (major) #1011
Closed
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:
1.8.20
->2.0.0
1.8.20
->2.0.0
1.8.20
->2.0.0
Release Notes
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-reflect)
v2.0.0
: Kotlin 2.0.0Compare Source
Changelog
Analysis. API
New Features
KT-65327
Support reading klib contents in Analysis APIPerformance Improvements
KT-65560
K2: Anaysis API: ContextCollector triggers redundant resolution in the case of file elementsKT-64987
Analysis API: 50GB memory allocation on creating empty kotlinx.collections.immutable.persistentMapOfKT-61789
K2: optimize getFirForNonKtFileElement for references inside super type referenceKT-59498
K2: getOnAirGetTowerContextProvider took too much time due to on air resolveKT-61728
Analysis API: optimize AllCandidatesResolver.getAllCandidatesFixes
KT-65561
Analysis API: dummy.kt is not a physical fileKT-65616
K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUSKT-65600
Analysis Api: FirFile for KtCodeFragments are created and not updated on changesKT-64919
K2 IDE: Implement KMP support for sealed class inheritorsKT-64241
K2: Unresolved calls to functions in scripts depending on included projectsKT-65813
Analysis API Standalone:FirDeclarationForCompiledElementSearcher
does not find compiled elementsKT-66052
AA: render expect/actual modifierKT-66795
KtCodeFragment.clone() is brokenKT-66532
K2 CodeGen AA: missing annotation setup for function in source module but not in a compile target fileKT-64833
Analysis API: Members implemented by delegation have no overridden symbolsKT-62405
Analysis API: SymbolsSUBSTITUTION_OVERRIDE
have no overridden symbolsKT-66749
K2: "Collection contains no element matching the predicate" on an unresolved callKT-62832
K2: ClassCastException: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatusKT-66719
AbstractGetKlibSourceFileNameTest: The dependency to ":native:analysis-api-klib-reader" breaks JPS compilationKT-66603
Analysis API: support type annotations in KtPsiTypeProviderMixIn#asPsiTypeKT-64505
Analysis API Standalone: Remove test-specific calculation of sealed class inheritorsKT-66013
Analysis API Standalone: Sealed inheritors aren't correctly calculated for source classesKT-62880
K2 IDE: Unresolved java annotation methods in KDocKT-66530
K2: Analysis API: KtPsiTypeProvider#asKtType crashes on PsiClassType for Java type parameter with wrong use siteKT-65571
Support VirtualFile inputs to Analysis API modulesKT-66485
Substituted types are not provided for callable referencesKT-66498
Analysis API: 'KtFe10SymbolDeclarationOverridesProvider' considers a class to be a subclass of itselfKT-64579
K2 IDE: "Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(Source) but FirArgumentListImpl found"KT-65978
Analysis API: Use soft references inFileStructureCache
KT-64051
K2 IDE: Analysis API: Unresolved links to typealias in KDocKT-66189
K2 / IDE: KtFirExpressionTypeProvider bugsKT-61422
K2 IDE: "No array element type for vararg value parameter: org.jetbrains.kotlin.fir.declarations.impl.FirValueParameterImpl"KT-66276
K2: Analysis API:TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM
false positive for script parameterKT-66232
K2: Analysis API: cover ScriptWithCustomDefDiagnosticsTestBaseGenerated by LL FIR testsKT-60996
K2: Stub Based Deserializer: Set versionRequirements to enable VERSION_REQUIREMENT_DEPRECATION diagnosticsKT-66306
K2: Analysis API: drop ability to enable global phase resolve lockKT-55750
LL FIR: Implement multi-threaded resolveKT-65563
Analysis API: Missing session componentFirExpectActualMatchingContextFactory
inLLFirLibrarySession
KT-66173
K2: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter' in array owner: LLFirLibrarySessionKT-66238
Gradle kotlin build scripts - a lot of unresolved symbols after latest changes in kotlin masterKT-65099
K2: Recursive local storage cache check for Fir2IrDeclarationStorage::createAndCacheIrPropertySymbols()KT-65265
Analysis API: Add library session invalidation testsKT-56288
Analysis API: Add tests for session invalidation on the Analysis API sideKT-64000
K2: make AnnotationArgumentsStateKeepers more accurateKT-63606
K2: Analysis API: rewrite FirLazyAnnotationTransformer to avoid redundant transformationsKT-65191
KtFirMultiplatformInfoProvider#getExpectForActual doesn't return expect function for slightly broken codeKT-62136
Analysis API: Add concurrent tests forCleanableSoftValueCache
KT-61222
K2: Add lifecycle management forKtResolveExtension
KT-65960
Analysis API: Test infrastructure indexes binary libraries from decompiled files instead of stubs during IDE mode testsKT-65240
K2: CodeGen API fails to resolve Annotation parameter type when it runs FIR2IR for a class with a parent class from other module if the parent class has an annotation from another moduleKT-65344
K2: make FirScript statements (declarations) independentKT-65930
AA: receiver type forInt?::foo
misses nullabilityKT-65914
AA: receiver type forthis::foo
returns return type of the target callableKT-62071
Analysis API: KtFirScopeProvider.getScopeContextForPosition throws exception when ImplicitReceiverValue.implicitScope is nullKT-65780
K2: polish FileStructure implementation for FirFileKT-62840
K2 Script: everything around destructuring declaration on top level of scripts are brokenKT-64528
K2 IDE: MPP: unregistered component 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'KT-64921
K2 IDE: references in platform code resolve to expect classifier instead of actualKT-61296
K2: do not resolve the entire file on lazyResolve call if FirFile is passedKT-65683
Analysis API: Dangling file session creation causes acomputeIfAbsent
contract violationKT-64884
K2 IDE. FP [NAMED_PARAMETER_NOT_FOUND] for copy method of library data class when class has not parameter-propertiesKT-65763
K2: value parameter from library data class copy have RAW_FIR phaseKT-65665
Analysis API: supportKtDelegatedSuperTypeEntry
inKtFirExpressionInfoProvider.isUsedAsExpression
KT-62899
K2 IDE. IDE ignores@Suppress
annotation for errorsKT-65655
Analysis API:KtCodeCompilationException
should not strongly reference FIR sessionsKT-62302
Support PsiType -> KtType conversionKT-64604
K2: IDE K2: "Modules are inconsistent during performance tests"KT-65345
K2: unify FirDesignation and LLFirResolveTargetKT-61757
K2 IDE: resolution to buitlins does not work for from common moduleKT-65268
K2: Checking the presence of the delegated constructor call forces AST loadingKT-63330
Analysis API: Stub-based deserialized symbol providers provide unresolved enum entry annotation argumentsKT-65418
Analysis API:LLFirAbstractSessionFactory
loads anchor module sessions eagerlyKT-64718
Analysis API: do not expose SealedClassInheritorsProvider and FirRegularClass to IDE PluginKT-65075
K2: getContainingDeclaration() is broken for declarations inside code fragmentsKT-61332
SupportKtTypeCodeFragment
inPsiRawFirBuilder
KT-65150
AA: incorrect result fromKtTypeProvider#getReceiverTypeForDoubleColonExpression
for Java static methodKT-56551
LL FIR: implement parallel resolve for jumping phasesKT-65223
Psi: avoid KtFile usagesKT-65307
Analysis API FE10: support KtFe10AnalysisSessionProvider.getAnalysisSessionByUseSiteKtModuleKT-62695
K2 IDE: Unresolved extension functions in KDocKT-65152
Analysis API: KDoc references to packages are not fully resolvedKT-64988
K2 IDE: Navigation from the named argument in safe call does not workKT-63195
AA: incorrect results fromKtTypeProvider#getReceiverTypeForDoubleColonExpression
KT-64074
K2: Investigate LL divergence for Script.testTopLevelPropertyInitializationKT-62441
K2: IDE K2: "No dangling modifier found"KT-62895
K2 IDE. FP'when' expression must be exhaustive
with sealed interface from libraryKT-64993
Analysis API: KtExpressionTypeProvider.getExpectedType works incorrectly for arguments of safe callsKT-64883
Allow direct creation of KtCommonFileKT-64646
K2: properly forbid ast loading during raw fir phase in testsKT-64862
Psi: missed parenthesis in type reference presentationKT-62893
K2 IDE. FP 'when' expression must be exhaustive with Java sealed interface from libraryKT-63795
K2:lazyResolveToPhase(BODY_RESOLVE)
cannot be called from a transformer with a phase BODY_RESOLVE from SealedClassInheritorsProviderIdeImplKT-64805
Analysis API: introduce common entry point for multi-file test casesKT-64714
K2: Analysis API: CollectionsKt.map doesn't resolves from Java in kotlin repoKT-64647
K2: Allow to calculate decompiled inheritors for sealed classes in testsKT-64595
AA: stackoverflow while simplifying a type with a recursive type parameterKT-64825
Analysis API. Cannot compute containing PSI for unknown source kind 'org.jetbrains.kotlin.KtFakeSourceElementKind$DefaultAccessor' exception on getContainingSymbol call for default setter parameterKT-64080
K2: Analysis API: On-air resolve does not trigger resolution of delegated super call argumentsKT-64243
K2: proper lazy resolution for fake overridesKT-62891
K2 IDE. FP [EXPOSED_FUNCTION_RETURN_TYPE] on overriding library method which returns protected typeKT-62667
K2: Cannot find enclosing declaration for KtNameReferenceExpression (on-air, imports)KT-61890
Analysis API: Migrate KtFirScopeProvider to ContextCollector instead of onAirResolveKT-64197
K2: Code fragments are only supported in JVMKT-62357
K2 IDE. False positive on generated component methods and false negative on getter of@JvmRecord
classes in JavaKT-62892
K2 IDE. Java outer class from other module is not resolved when nested class is accessed with fq name in a type positionKT-62888
K2 IDE. IDE infers reference toKMutableProperty
as reference to justKProperty
KT-64584
K2: StubBasedFirDeserializedSymbolProvider: support deserialization of delegated declarationsKT-60324
K2 IDE: "NoSuchElementException: List is empty at JavaOverrideChecker#buildErasure"KT-62896
K2 IDE. FP ABSTRACT_MEMBER_NOT_IMPLEMENTED on inheriting class from library which implements interface by delegationKT-62947
Analysis API: Error while resolving FirPropertyImplKT-64468
Analysis API: Implement mixed multi-module tests which support different kinds ofKtModule
sKT-56541
Symbol Light Classes: No@NotNull
annotations are generated for accessors of lateinit properties of unresolved typesKT-63547
K2 IDE. False Positive AMBIGUOUS_ANNOTATION_ARGUMENTKT-64205
Analysis API: Do not import non-top-level callables by defaultKT-63056
K2: Cannot mutate an immutable ImplicitReceiverValue on FirCodeFragment analysisKT-64108
K2: KtFirSymbolDeclarationOverridesProvider shouldn't provide fake overridesKT-63752
K2: java.lang.StackOverflowError FirFieldSymbol.getHasInitializerKT-63718
Analysis API: Stub-based dependency symbol providers of library source sessions compute the wrong package name setsKT-64225
K2: IDE K2: "FirLazyBlock should be calculated before accessing" in evaluate debuger completionKT-64186
Analysis API: ContextCollector provides incorrect scopes for anonymous objectsKT-63979
K2 IDE: presentation of types in completion is too verboseKT-63681
K2: LL FIR: Improve isResolved check coverage of after lazy resolutionKT-62982
K2: Cannot get a PSI element for 'Enum.values'KT-59732
FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from serialisation pluginKT-62676
K2 IDE: Reference shortener does not recoginize redundant this referencesKT-63627
K2 IDE: shorten reference shortens required qualifierKT-62675
K2 IDE: Reference shortener does not recoginize redundant labelsKT-60957
K2: Analysis API: Reference shortener does not work correctly with invoke function calls on propertiesKT-63771
fe10: KtNamedClassOrObjectSymbol#isInline does not cover value classesKT-60327
K2 IDE. "IllegalArgumentException: source must not be null" during delegation declarationKT-62421
K2: IDE K2: "lazyResolveToPhase(BODY_RESOLVE)
cannot be called from a transformer with a phase BODY_RESOLVE."KT-62587
K2 IDE. FP unresolved reference on accessing nested class in annotation argumentKT-63700
K2: "FirLazyExpression should be calculated before accessing" in the case of secondary constructorKT-61383
K2: 'KtCompilerFacility' fails on code fragment compilation in library sources with duplicated dependenciesKT-62111
K2 IDE. IllegalArgumentException on for loop with iterator declaration attemptKT-63538
Analysis API: Removing a contract statement viaPsiElement.delete()
does not trigger an out-of-block modificationKT-63694
K1/K2 IDE. "RuntimeException: Broken stub format, most likely version of kotlin.FILE (kotlin.FILE) was not updated after serialization changes" exception on incorrect class nameKT-63660
K2: expect-actual gutter icons must be shown when declarations are matched but incompatibleKT-63560
Analysis API: Modifiable PSI tests cannot rely on the cached application environment to allow write accessKT-62980
ImplementKtFirSimpleNameReference#getImportAlias
KT-63130
Analysis API: No receiver found for broken code during commit documentKT-62705
K2: "lazyResolveToPhase(IMPORTS) cannot be called..." from light classesKT-60170
K2 IDE: CCE from KtFirCallResolver on invalid code with wrong implicit invokeKT-61783
K2: Analyze 'KtCodeFragment' in a separate sessionKT-62010
K2: IDE K2: "ConeClassLikeTypeImpl is not resolved to symbol for on-error type"KT-62957
Analysis API: NullPointerException on call resolution when builtins are not availableKT-61252
K2: IDE K2: "By now the annotations argument mapping should have been resolved"KT-62935
Analysis API:kotlin.Cloneable
should not be available in Kotlin/Native sourcesKT-62910
Analysis API: create AbstractFirPsiNativeDiagnosticsTest for LL FIRKT-63096
K2: Analysis API: KotlinAnnotationsResolver for IDE is created with incorrect scopeKT-62310
K2 IDE. False positives errors with external annotationsKT-63282
K2 Script: annotation arguments phase should resolve propagated annotationsKT-62397
K2 IDE. FP Error in the editor onRequiresOptIn
annotation from the lib despite the warning levelKT-63223
Analysis API: reference to declarations with kotlin* package are not resolvedKT-62626
IllegalStateException: Cannot build symbol for class org.jetbrains.kotlin.psi.KtScriptInitializerKT-62693
K2: IDE K2: "PSI should present for declaration built by Kotlin code"KT-62674
K2: "Scope for type ConeClassLikeTypeImpl" is null from transitive dependenciesKT-61889
Analysis API: Migrate KtFirReferenceShortener to ContextCollector instead of FirResolveContextCollectorKT-62772
Analysis API: No 'org.jetbrains.kotlin.fir.java.FirSyntheticPropertiesStorage'(31) in array owner: LLFirSourcesSession when analysing builtins in a context of common codeKT-60319
K2 IDE: "Stability for initialized variable always should be computable"KT-62859
K2 IDE: "Evaluate expression" throws exception when calling "Any?.toString()"KT-63058
K2 IDE: Code completion unexpectedly imports static/companion object methodKT-62588
getExpectedType should not calculate type of the expressionKT-61990
K2: Unexpected returnTypeRef for FirSyntheticPropertyKT-62625
K2: 'FirLazyExpression should be calculated before accessing' for unresolved super typeKT-62691
K2: optimize getFirForNonKtFileElement for references inside 'where'KT-62834
K2: missing file node level in control flow builderKT-62768
Analysis API: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'(44) in array owner: LLFirSourcesSession exception on analysing common codeKT-62874
K2: FirLazyExpression should be calculated before accessingKT-62407
Analysis API: resolve[this]
in KDoc to extension receiverKT-61204
K2: "FirLazyExpression should be calculated before accessing in ktor HttpBinApplication"KT-61901
Analysis API: Declared member scopes for Java classes are missing static membersKT-61800
Analysis API: Provide separate declared member scopes for non-static and static callablesKT-61255
Analysis API: Get rid ofvalueOf
,values
andentries
from a declared member scopeKT-62466
Expected type for functional expression should include inferred typesKT-61203
IDE K2: "Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirRegularClassImpl(Source) but FirArgumentListImpl found"KT-61791
Analysis API: Implement combinedgetPackage
for combined Kotlin symbol providersKT-62437
K2 IDE. Resolution does not work inside lambda expression in constructor argument in supertypesKT-62244
K2: Analysis API Standalone: Resolving klib dependencies from binary roots terminates applicationKT-62897
K2 IDE. Unresolved declarations from libraries which are doubled inintellij
project librariesKT-61615
K2: No 'org.jetbrains.kotlin.fir.analysis.js.checkers.FirJsModuleKind' in array owner: LLFirSourcesSessionKT-59334
K2: LLFirImplicitTypesLazyResolver problemsKT-62038
K2: Nested classes are missing in symbol light class structure tests for librariesKT-61788
Analysis API: Symbol forFirAnonymousInitializer
cannot be nullKT-62139
Analysis API: KtFe10AnalysisSession.createContextDependentCopy does not need validity checkKT-62090
Analysis API: introduce an API to get a substitution formed by class inheritanceKT-62268
K2 IDE. No autocompletion and IllegalStateException for PairKT-60325
K2 IDE. "IllegalArgumentException: source must not be null" onthrow
usage attemptKT-61431
K2: KtPropertyAccessorSymbolPointer pointer already disposed for $$result script propertyKT-58490
K2: LLFirTypeLazyResolver problemsKT-58494
K2: LLFirAnnotationArgumentsLazyResolver problemsKT-58492
K2: LLFirBodyLazyResolver problemsKT-58769
K2: LL FIR: implement platform-dependent session factoriesKT-60343
K2 IDE. IllegalArgumentException on passing incorrect type parameter to functionKT-61842
K2: reduce number of "in-block modification" eventsKT-62012
K2: "KtReadActionConfinementLifetimeToken is inaccessible: Called outside analyse method"KT-61371
K2: Analysis API standalone: register compiler symbol provider for libraries in standalone modeKT-60611
K2: reduce number of "in-block modification" eventsKT-61425
Analysis API: Provide a way to get a declared member scope for an enum entry's initializing anonymous objectKT-61405
Analysis API: An enum entry should not be aKtSymbolWithMembers
KT-55504
AA: remove dependency on :compiler:cli from standalone AAKT-60904
K2: IDE K2: "For DESTRUCTURING_DECLARATION_ENTRY with text_
, one of element types expected, but FirValueParameterSymbol found"KT-61260
K2 Scripts: Containing function should be not null for KtParameterKT-61568
FIR Analysis API:collectCallCandidates
gives presence to the top level functions in the presence of more suitable overridesKT-60610
K2 IDE: move "out of block" processing logic into LL FIRKT-61597
Analysis API: KotlinIllegalStateExceptionWithAttachments: expected as maximum oneexpect
for the actual on errorneous code with multiple expectsKT-59793
K2: class org.jetbrains.kotlin.fir.declarations.impl.FirErrorImportImpl cannot be cast to class org.jetbrains.kotlin.fir.declarations.FirResolvedImportKT-61599
K2: ContextCollector: Support smart cast collectionKT-61689
Analysis API: ContextCollector provides incorrect context in scriptsKT-61683
Analysis API: resolve ambiguities in kotlin projectKT-61245
Analysis API: ContextCollector provides incorrect context for supertype constructor callsKT-60384
K2: Opening@JvmName
source in IDEA: NPE at PsiRawFirBuilder$Visitor.toFirConstructor()KT-60918
K2 IDE: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtDestructuringDeclarationEntry, fir is null"KT-61013
K2 Scripts: LLFirReturnTypeCalculatorWithJump: No designation of local declarationKT-59517
K2 IDE: KotlinExceptionWithAttachments: Modules are inconsistentKT-61331
K2: add cache restoring in case of existing contextKT-61408
K2: IDE K2: "Inconsistency in the cache. Someone without context put a null value in the cache"Analysis. Light Classes
Performance Improvements
KT-63486
SLC: a lot of RAM is allocated inorg.jetbrains.kotlin.asJava.LightClassUtil.isMangled
Fixes
KT-66692
SLC:findAttributeValue
for attribute w/ default value in Java returnsnull
KT-61734
SLC: wildcard suppression not honoredKT-65112
Symbol Light Classes don't support annotations on type parametersKT-65843
K2: Light method returnskotlin.Unit
type forTestResult
return typeKT-65653
SLC: wrong binary resolution to function with value classKT-65393
SLC: missing deprecated-hidden propertyKT-64772
SLC: presence of source PSI for compiler-generated declarationKT-65425
K2 IDE: Seeing a reference to the class generated by compiler plugin exposed from Java code caused NPE from light classesKT-64937
SLC: internal setters are not mangledKT-63949
K2 IDE. Analyze hang on@Autowired
constructor analysisKT-63087
K2 IDE: in .java source reference to JvmName names on unsigned type / value class are unresolvedKT-64605
K2 IDE: usage of@Repeatable
annotation in Java: false positive "Duplicate annotation"KT-64795
SLC: distinguish last v.s. non-lastvararg
value parameter type during binary resolutionKT-61605
K2 IDE: Light elements do not obey platform contractsKT-57536
SLC: no need to populate members withexpect
modifierKT-64320
Decouple kotlin psi from java PSIKT-64282
Decouple KotlinIconProviderService from java PSIKT-63552
Symbol Light Classes don't support arrayOf and similar without parameters in property initializers and default parameter valuesApple Ecosystem
KT-63821
Copy framework to BUILT_PRODUCTS_DIR in the embedAndSign taskKT-67892
KotlinNativeLink task instantiates with a fixed list of apiFilesKT-64096
Diagnostic when embedAndSign used for framework with cocoapods-dependenciesKT-66446
Diagnostic never showed, and build fails when CocoaPods dependency is used with embedAndSign task and linking type is dynamicKT-66445
Diagnostic never showed when CocoaPods dependency is used with embedAndSign task and linking type is staticKT-62373
"Xcode higher than tested" diagnosticKT-63212
podInstall task fails without a proper diagnostic when xcodeproj gem is outdatedBackend. Native. Debug
KT-65553
K2: Native: kt42208WithPassingLambdaToAnotherFunction test fails with K2KT-57365
[Native] Incorrect debug info on inline function call siteBackend. Wasm
New Features
KT-65009
Generate TypeScript definitions for the@JsExport
declarations in K/WasmKT-58088
[PL] Support & enable partial linkage for WasmKT-66327
Include information about particular Wasm target into KLib manifestFixes
KT-66465
WASM support doesn't appear to be able to see some common declarationsKT-66905
K/Wasm: support new version of exception handling proposalKT-66515
Wasm: "call param types must match" during the buildKT-67435
K/Wasm: import.meta.url transforming into absolute local path in webpackKT-65777
Implement named export for Kotlin/WasmKT-65660
[WasmJs] Support catching JS exceptionsKT-65824
Wasm: Allow unsigned primitives to be used inside functions annotated with@JsExport
KT-66103
Wasm: companion object is not initialized in test initializers1.ktKT-66471
Null method reference with Kotlin/Wasm on 2.0.0-Beta4KT-65210
K/Wasm::class
operator produces Number KClass for Short expressionKT-66065
[Wasm] Make specialisations for closured primitive valuesKT-64890
K/Wasm compiler crash with external class and KodeinKT-66104
Wasm: compiler crash: NoSuchElementException: Sequence contains no element matching the predicateKT-65778
Create the same TypeScript tests infrastructure for Kotlin/Wasm that we have now for Kotlin/JSKT-65411
Kotlin/Wasm: Boolean boxed instances are not the sameKT-65713
Kotlin/Wasm generates a wrapper that cannot run in DenoKT-63939
Kotlin/Wasm Support lazy associated object initialisationKT-61888
[Kotlin/wasm] in kotlin.test support for@AfterTest
for async testsKT-64803
K/Wasm: non-capturing lambdas are not singleton unlike same lambdas in jvmKT-64449
K2: Implement K1WasmWasiCodegenBoxTestGenerated for K2KT-64829
K/Wasm: division remainder has a wrong signKT-58852
WASM: two methods with different varargs: Class korlibs.template.dynamic.DynamicShape has 2 methods with the same signature [register(kotlin.Array)KT-61263
K/Wasm: add a way to turn on k2 in wasm examples using ComposeKT-62863
Execution failed for task ':kotlinx-serialization-properties:wasmJsD8Test' in serialization in the K2 QGKT-62657
K/Wasm: switch to json repots for Kotlin Wasm BenchmarksKT-62147
[Kotlin/Wasm] Nothing typed when expression cause a backend errorKT-61958
Update SpiderMonkey and return its usage in box tests when they switch to the final opcodes for GC and FTR proposalsKT-60828
K/Wasm: return br_on_cast_fail usagesKT-59084
WASM: "RuntimeError: illegal cast" caused by inline class and JsAnyKT-60700
[WASM] test FirWasmCodegenBoxTestGenerated.testSuspendUnitConversion failed after KT-60259Compiler
New Features
KT-45375
Generate all Kotlin lambdas via invokedynamic + LambdaMetafactory by defaultKT-24664
No smartcast on stable property if receiver had non-null assertionKT-23915
Add smart cast to non-nullable type after elvis operatorKT-61077
Support provideDelegate inference from var property typeKT-59688
K2: consider removing smartcasts only from the only visibile property with specific name, not from all of themKT-7389
Intersection type for type parameter with multiple upper bounds in star projectionKT-63477
Consider supporting builder-style type inference from Unit coercion of last statements in lambdasKT-61907
K2: builder inference works with assignments to member propertiesKT-61909
K2: builder inference infers correct types from assignments to extension propertiesKT-59551
K2: builder inference works with anonymous functions if builder parameter has a receiver with a postponed type variableKT-65443
[K/N] Implement header cachesKT-4113
Smart casts for properties to not-null functional types atinvoke
callsKT-65681
K2: Improve error message of UPPER_BOUND_VIOLATED when upper bound is a captured type or other non-denotable typeKT-32754
Choose existing extensions over additional built-ins members from JDK except overridesKT-57800
Support synthetic properties onsuper
receiverKT-64350
K2: deprecate using typealias as a callable qualifier in importsKT-26565
Choose existing extensions over additional built-ins members from JDKKT-65478
JVM: Change inlined variable naming formatKT-64702
Upper bound of type parameter is ignored when capturing of in-projection appears in out positionKT-60274
K2: builder inference works through a delegated local variable inside builder argumentKT-65859
Calls refinement extension pointKT-15220
Reuse resolution results of common code for platform modules in multiplatform projectsKT-60476
K2: False positive NO_VALUE_FOR_PARAMETER in platform code for value class with default parameter in common declarationKT-65153
K/N: extract liveness analysis to a separate phaseKT-59098
Support -Xjdk-release=1.6/1.7 with -jvm-target 1.8KT-63670
Implement platform specific declaration clash diagnostics across all backendsKT-62547
Introduce a language feature flag for smartcasts based on "memory" variablesKT-60820
K1: Empty vararg value is inserted in serialized annotation call with expect default vararg valueKT-58172
Forbidexpect class A actual constructor
KT-54443
Smart cast to non-null after safe-call in requireKT-25747
DFA variables: propagate smart cast results from local variablesKT-22997
Smart-cast should merge is-check for non-nullable type and a null check to a nullable typeKT-22996
Smart casts should observe nullability after is-check with a nullable subject typeKT-22004
Allow to resolve CONFLICTING_OVERLOADS with Deprecated(HIDDEN)KT-61955
Support more wider actual member visibility, if the expect member is effectively finalKT-59504
K2 compiler does not require resolved 'componentX' functions for the placeholder ('_') variables in the destructuring declarationsKT-62239
Allow enum entries without parentheses uniformlyKT-11712
Smart cast is not applied for invisible setterPerformance Improvements
KT-47545
NI: Slow type inference involving large when-expression (ConstraintInjector.processConstraints)KT-62714
Do not add nullability annotations to the methods of inner classes in enum entriesKT-62903
Unoptimziedwhen
compilationKT-67388
FP intellij: performance degradation in build 611KT-67507
K2: Slow compilation times when a class has a lot of possibly conflicting declarationsKT-65005
K2: Investigate testCommonSuperTypeContravariant performanceKT-65996
Compiler enters endless loopKT-66341
K2: Don't build IdSignatures in FIR2IR with IR f/o builderKT-66172
K2: Improve memory consumption ofKtPsiSourceElement
KT-50860
Combination of array set convention and plusAssign works exponentiallyKT-62798
'in' range checks are not intrinsified in kotlin-stdlibKT-65579
K2: performance regression in FP SpaceKT-61635
K2:getConstructorKeyword
call inPsiRawFirBuilder.toFirConstructor
forces AST loadKT-62619
FIR: Checker performance regression due to MISSING_DEPENDENCY checkersKT-62044
Do not add nullability annotations to the methods of anonymous classKT-62706
Optimize KtSourceElement.findChild()KT-62513
Do not add nullability annotations to the methods of local classesKT-61991
K2: avoid redundant full body resolution for properties during implicit type phaseKT-61604
[K/N] Bitcode dependency linking is slow for large compilationsKT-61121
[K/N] Kotlin Native compiler performance is slow when generating large frameworksKT-57616
K2: Consider optimizing reversed versions of persistent lists in FirTowerDataContextFixes
KT-67993
K2: PCLA Inference throws exception with local objectsKT-61768
Wrong bytecode index in LineNumberTable when there is an incremental operationKT-63580
"AssertionError: access of const val: GET_FIELD" caused by const value and variable with delegationKT-63567
"NoSuchMethodError" on getting value of lazily initialized property by companion's const valueKT-56078
K2: build kotlinx.coroutinesKT-67609
K2: False negative INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_ERRORKT-57750
Report ambiguity error when resolving types and having the same-named classes star importedKT-65603
K2: No approximation is done on public, but effectively private propertyKT-59932
K2: Disappeared AMBIGUOUS_ANONYMOUS_TYPE_INFERREDKT-59906
K2: Disappeared CAPTURED_VAL_INITIALIZATIONKT-53886
NoSuchMethodError exception in Kotlin/Native compilerKT-57678
K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closuresKT-57871
K1/K2 inconsistency on if-conditional without else-branch in parenthesisKT-56384
K2: build IntelliJ monorepo master branchKT-49191
Leaked integer literals from lambda with flexible return typeKT-65812
K2: "OutOfMemoryError: Java heap space" in kotlin.utils.SmartList.addKT-67224
K2/Native: Member overrides different '@Throws
' filter from separate moduleKT-65623
K2: Unresolved reference in connection with castsKT-64136
K2: NSME with Anvil compiler pluginKT-51241
Provide a error when override method has different set of context receiversKT-52920
Confusing "Multiple arguments applicable for context receiver" error messageKT-67912
K2: Cannot inference type properly from inline function with Type parameterKT-68056
Prohibit referencing java field in case of conflict with property from companion object of the derived classKT-61129
K2: Implement error suppression warningKT-67367
K2: Incorrect resolution to top-level function with less specific signature in presence of SAM constructor on the same tower levelKT-50179
Fix DUPLICATE_LABEL_IN_WHEN warning with new rules of complex boolean constantsKT-45334
Prohibit referencing constructors of sealed classes by its inner membersKT-59943
K2: Disappeared OPERATOR_MODIFIER_REQUIREDKT-67875
K2: Resolution ambiguity between Iterable and varargsKT-67699
Not enough information to infer type argument for 'Error' using Arrow's Raise context receiver since Kotlin 2.0.0-Beta3KT-67486
K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter namesKT-66527
K2: type mismatch on override for typeKT-59897
K2: Disappeared PACKAGE_OR_CLASSIFIER_REDECLARATIONKT-50020
K2: False-negative USAGE_IS_NOT_INLINEABLE when lambda in receiver positionKT-44557
Implement main function detection to FIRKT-67810
K2: public-API inline function cannot access non-public-API annotation enumKT-66447
Implement KT-59138 under a language featureKT-54862
Anonymous type can be exposed from private inline function from type argumentKT-37592
Property invoke of a functional type with receiver is preferred over extension function invokeKT-51194
False negative CONFLICTING_INHERITED_MEMBERS when dependency class contained in two different versions of the same dependencyKT-67221
K2: "new inference error [NewConstraintError at Incorporate TypeVariable" for captured typeKT-66701
K2: Java interface method override via Kotlin class rejectedKT-60604
K2: introduced NON_PUBLIC_CALL_FROM_PUBLIC_INLINE,@PublishedApi
needed for constants in annotationsKT-64309
Generate a variable mapping for continuation parameter in suspend methods just from the startKT-65438
K2: Introduce WEAKLY_HIDDEN concept to built-in-JDK content mappingKT-65235
JDK 21 might lead to change in overloads resolutionKT-66768
K1: False positive UNRESOLVED_REFERENCE in super.getFirst/getLast callKT-67106
Platforms libs-dependant autotests for ObjC checkersKT-65440
K2: Mark all potential implementations of List.getFirst()/getLast() as deprecated independently of JDKKT-65594
K2: Type inference fails on NullMarked object with star typeKT-62849
Unoptimised bytecode for Java synthetic property referencesKT-60174
JVM IR inline: accidental reification in various casesKT-57609
K2: Stop relying on the presence of@UnsafeVariance
using for contravariant parametersKT-54316
Out-of-call reference to companion object's member has invalid signatureKT-66976
Some value class diagnostics are missedKT-57426
Incorrect error message on inapplicable smartcast from alien propertConfiguration
📅 Schedule: Branch creation - "after 5pm on monday" in timezone Europe/London, 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.