Sourced from org.jetbrains.kotlin.jvm's releases.
Kotlin 1.9.20
1.9.20
Analysis. API
New Features
KT-58834
Analysis API: Add source shadowing feature to resolve extensionsPerformance Improvements
KT-57515
LL FIR: Performance bottleneck inCompositeModificationTracker.getModificationCount
KT-59266
K2: optimize FirElementBuilder.getOrBuildFir for elements outside bodyKT-59454
K2: drop resolve from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59453
K2: completion regression from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59189
Analysis API: KtFirKDocReference.resolveToSymbols is slowKT-58125
K2: LL FIR:KtToFirMapping.getElement
is slow forKtUserType
s due to on-air resolution of typesFixes
KT-59240
K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from superTypesKT-58499
K2: FirLazyBlock should be calculated before accessingKT-57966
K2: Analysis API: Reference Shortener does not work correctly when called on entire fileKT-60954
K2: Analysis API: Reference shortener does not work correctly with variable assignmentsKT-60940
K2: Analysis API: Reference shortener incorrectly handles types in vararg parameters declarationsKT-60488
Analysis API: forbid providing custom KtLifetimeToken for every analyze callKT-60728
K2: proper support for scripts in LL FIR transformersKT-59159
K2 IDE: declaration is not found exceptionKT-59297
K2: exception from body resolve leads to corrupted state and broken analysisKT-59077
KtFirExpressionTypeProvider behaviour for KtSimpleNameReferences in function callsKT-60586
K2: forbid analyze from write actionKT-57743
K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependenciesKT-61026
K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolveKT-61009
K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-60357
K2 IDE. Reified types parameters are not resolved in a function bodyKT-60317
K2 IDE. IAE "This method will only work on compiled declarations, but this declaration is not compiled" on invoking Find Usages for enum method in libraryKT-60706
K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-commonKT-60552
K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformerKT-60641
Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missingKT-60638
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-54846
Analysis API: add isExpect/isActual to KtSymbolKT-60448
FirLazyResolveContractViolationException:lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS)
cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen pluginKT-59342
K2 IDE. FirLazyResolveContractViolationException:lazyResolveToPhase(TYPES)
cannot be called from a transformer with a phase TYPESKT-59687
K2: Implement proper body update for in-block modificationsKT-59329
Resolve Extensions reference resolution breaks Find UsagesKT-60295
K2: move checkIsResolved for annotations from LLFirAnnotationArgumentsLazyResolver to LLFirTypeLazyResolverKT-59758
K2: Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImplWithoutSource from ReturnTypeCalculatorWithJumpKT-60377
K2 IDE: This method will only work on compiled declarations, but this declaration is not compiledKT-59685
K2: rewrite on-air resolutionKT-60132
K2: properties and functions without a name should be re-analyzable as well
... (truncated)
Sourced from org.jetbrains.kotlin.jvm's changelog.
1.9.20
Analysis. API
New Features
KT-58834
Analysis API: Add source shadowing feature to resolve extensionsPerformance Improvements
KT-57515
LL FIR: Performance bottleneck inCompositeModificationTracker.getModificationCount
KT-59266
K2: optimize FirElementBuilder.getOrBuildFir for elements outside bodyKT-59454
K2: drop resolve from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59453
K2: completion regression from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59189
Analysis API: KtFirKDocReference.resolveToSymbols is slowKT-58125
K2: LL FIR:KtToFirMapping.getElement
is slow forKtUserType
s due to on-air resolution of typesFixes
KT-59240
K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from superTypesKT-58499
K2: FirLazyBlock should be calculated before accessingKT-57966
K2: Analysis API: Reference Shortener does not work correctly when called on entire fileKT-60954
K2: Analysis API: Reference shortener does not work correctly with variable assignmentsKT-60940
K2: Analysis API: Reference shortener incorrectly handles types in vararg parameters declarationsKT-60488
Analysis API: forbid providing custom KtLifetimeToken for every analyze callKT-60728
K2: proper support for scripts in LL FIR transformersKT-59159
K2 IDE: declaration is not found exceptionKT-59297
K2: exception from body resolve leads to corrupted state and broken analysisKT-59077
KtFirExpressionTypeProvider behaviour for KtSimpleNameReferences in function callsKT-60586
K2: forbid analyze from write actionKT-57743
K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependenciesKT-61026
K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolveKT-61009
K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-60357
K2 IDE. Reified types parameters are not resolved in a function bodyKT-60317
K2 IDE. IAE "This method will only work on compiled declarations, but this declaration is not compiled" on invoking Find Usages for enum method in libraryKT-60706
K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-commonKT-60552
K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformerKT-60641
Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missingKT-60638
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-54846
Analysis API: add isExpect/isActual to KtSymbolKT-60448
FirLazyResolveContractViolationException:lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS)
cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen pluginKT-59342
K2 IDE. FirLazyResolveContractViolationException:lazyResolveToPhase(TYPES)
cannot be called from a transformer with a phase TYPESKT-59687
K2: Implement proper body update for in-block modificationsKT-59329
Resolve Extensions reference resolution breaks Find UsagesKT-60295
K2: move checkIsResolved for annotations from LLFirAnnotationArgumentsLazyResolver to LLFirTypeLazyResolverKT-59758
K2: Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImplWithoutSource from ReturnTypeCalculatorWithJumpKT-60377
K2 IDE: This method will only work on compiled declarations, but this declaration is not compiledKT-59685
K2: rewrite on-air resolutionKT-60132
K2: properties and functions without a name should be re-analyzable as wellKT-59199
K2 IDE: PSI changes which do not cause OOB modifications can be unseen from the FIR elements
... (truncated)
eaa46a8
Add changelog for 1.9.20 release8ac51de
Add changelog for 1.9.20-RC2508e032
[K/JS] Remove unconditional cast to IrClass in KClass expressiond700cd1
[FE] 1.9.20 exclusive commit. Fix testData after previous two commits22b9d50
[FE 1.0] 2/2 Don't report a warning when new members are added to open expect...29cf556
[FE 1.0] 1/2 Don't report a warning when new supertypes are added to open exp...40cf415
[FE 1.0] Refactoring: replace defensive NonPrivateCallableAdded with Unknown4408d89
[FE 1.0] Report a more precise diagnostic when parameter modifiers (vararg) a...6982fa1
[FE 1.0] 2/2 Drop AllowDifferentMembersInActual from compiler and testData882f468
[STDLIB] 1/2 Drop AllowDifferentMembersInActual from stdlib