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.0.10
->2.0.21
2.0.10
->2.0.21
2.0.10
->2.0.21
Release Notes
JetBrains/kotlin (org.jetbrains.kotlin.plugin.compose)
v2.0.21
: Kotlin 2.0.21Changelog
Apple Ecosystem
KT-69093
Xcode 16 support in KotlinBackend. Native. Debug
KT-71374
lldb: step out breaks breaking in Xcode 16Compiler
Fixes
KT-69735
K2: Static fields are missing from the declaration list of corresponding IrClass for java classKT-71122
Regression in Kotlin Compiler 2.0 causing NPE in the runtimeKT-70931
K2 / Scripts: "cannot convert IrExpression to ConstantValue" when using function annotationKT-70584
K2: "IllegalStateException: flow for PostponedLambdaExitNode not initialized - traversing nodes in wrong order?"KT-70808
K2: "node has already been visited" with anonymous object in dead codeKT-69985
K2: Classifier declarations from root package are resolved without imports in non-root packagesKT-70683
K2: Internal compiler error in IrFakeOverrideSymbolBase.getOwnerKT-70901
False positive Public-API inline function cannot access non-public-API property accessorKT-70930
K2: Java annotations not present on ENUM_ENTRY IR elementsKT-70194
K2 IDE: exception on a very red fileKT-69399
Native: IllegalStateException: "Failed to build cache"Compose compiler
Fixes
b/329477544
Force open / overridden Composable functions to be non-restartable.b/361652128
Disable live literal transform if the corresponding flag is disabledIR. Actualizer
KT-70894
IR crash. UnprocessedIrFunctionFakeOverrideSymbol
when actualize to JavaIR. Tree
KT-71191
SymbolTable: Check if the provided signature is public before adding a symbol to the SymbolTableNative. Build Infrastructure
KT-71485
K/N runtime parts don't build due to _Float16 issues on x86_64 macOSNative. C Export
KT-69507
LLVM 11 clang with Xcode 16 headers: standard c++ headersNative. C and ObjC Import
KT-71029
Investigate why stdarg.h declarations leak into testModuleANative. Platform Libraries
KT-70566
LLVM 11 clang with Xcode 16 headers: 'sys/cdefs.h' file not foundKT-71624
Eliminate remaining UIKit/AppKit removed signaturesKT-70031
Rebuild platform libraries in 2.0.21 with Xcode 16Native. Testing
KT-70603
C++ with -fmodules: cyclic dependency in module 'std': std -> _wctype -> __wctype -> std in dev llvm toolchainsTools. CLI. Native
KT-71262
KotlinNativeLink tasks fetching from network despite -Xoverride-konan-properties=dependenciesUrl= being setTools. Compiler Plugins
KT-71038
PowerAssert: Constant on RHS of elvis operator leads to compiler crashTools. Daemon
KT-35381
Get rid of the native-platform usage in kotlin compilerTools. Gradle. Multiplatform
KT-71444
Certain POMs produced by Kotlin 2.0.20 cannot be consumed by KMP projects with Android targetsKT-70700
Gradle 8.10: The value for task ':commonizeNativeDistribution' property 'kotlinNativeBundleBuildService' cannot be changed any furtherKT-71396
Gradle client side JVM explodes with OOM due to xcodebuild logsTools. Gradle. Native
KT-71419
Light bundle KGP IT run against a stable K/N versionTools. JPS
KT-71450
Constant build failure: com.intellij.util.io.ClosedStorageException: storage is already closedv2.0.20
Analysis. API
New Features
KT-68143
Analysis API: support KtWhenConditionInRange call resolutionPerformance Improvements
KT-67195
K2: do not call redundant resolve on body resolution phase for classesFixes
KT-67360
Analysis API: KtDestructuringDeclarationSymbol#entries shouldn't be KtLocalVariableSymbolKT-67748
K2: AllCandidatesResolver modifies the original FirDelegatedConstructorCallKT-68198
Analysis API: Support application service registration in plugin XMLsKT-62936
Analysis API: NativeForwardDeclarationsSymbolProvider is not supported for Kotlin/NativeKT-68689
LL API: support analysis from builtins moduleKT-69630
KAPT User project builds with KAPT4 enabled fail with Metaspace overflowKT-65417
K2 IDE: KTOR false positive expect-actual matching error on enum class because of implicit clone() in non-JVM source setsKT-68882
Analysis API: RefactorKaSymbol
sKT-65413
K2 IDE: KTOR unresolved serializer() call for@Serializable
class in common codeKT-67996
Analysis API: rename Kt prefix to KaKT-67775
Analysis API: expose only interfaces/abstract classes for the user surfaceKT-68009
K2: lowering transformers of Compose compiler plugin access AbstractFir2IrLazyFunction modality, which results in null point exceptionKT-68918
collectCallCandidates works incorrectly for parenthesis invokeKT-68462
Analysis API: Integrateproject-structure
module intoanalysis-api
andanalysis-api-platform-interface
KT-69131
AA: "provideDelegate" operator is not resolved from the delegation reference in FIR implementationKT-69055
Analysis API: StabilizeKaScope
sKT-66216
K2 IDE. "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is null" on incorrect string templateKT-68959
Introduce KaSeverityKT-53669
Analysis API: redesign KtSymbolOrigin to distinguish kotlin/java source/library declarationsKT-68846
Mark KaFirReference and all implementations with internal modifierKT-68845
Move KaSymbolBasedReference to resolution packageKT-68844
Move KaTypeProjection to types packageKT-65849
K2: Rename 'high-level-api' family of JARs to 'analysis-api'KT-62540
Remove uses of TypeInfo.fromString and TypeInfo.createTypeText from Kotlin pluginKT-62889
K2 IDE. FPMISSING_DEPENDENCY_CLASS
on not available type alias with available underlying typeKT-68155
Analysis API: Add PSI validity check toanalyze
KT-62343
Analysis API: fix binary incopatibility problems cause byKtAnalysisSessionProvider.analyze
being inlineKT-68498
To get reference symbol the one should be KtSymbolBasedReferenceKT-68393
Analysis API: RenameKaClassLikeSymbol. classIdIfNonLocal
toclassId
KT-62924
Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableIdKT-66712
K2 IDE. SOE on settings string template for string variable with the same nameKT-65892
K2: "We should be able to find a symbol" for findNonLocalFunctionKT-68273
AA: supportKtFirKDocReference#isReferenceToImportAlias
KT-68272
AA: KtFirReference.isReferenceToImportAlias doesn't work for references on constructorKT-66996
Analysis API: Expose the abbreviated type of an expandedKtType
KT-66646
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl from FirJsHelpersKt.isExportedObjectKT-68203
K2: Analysis API: wrong type of receiver value in case of imported object memberKT-68031
LL resolve crash in case of PCLA inference with local objectKT-67851
K2:PsiReference#isReferenceTo
always returns false for references to Java gettersKT-68076
AA: use type code fragments for import alias detectionKT-65915
K2: Analysis API: extract services registration into xml fileKT-68049
Analysis API: do not expose imported symbolsKT-68075
K2: Analysis API: Type arguments for delegation constructor to java constructor with type parameters not supportedKT-65190
AA: reference to the super type is not resolvedKT-68070
AA: KtExpressionInfoProvider#isUsedAsExpression doesn't work for KtPropertyDelegateKT-67743
K2: Stubs & AbbreviatedTypeAttributeKT-67706
K2: "KtDotQualifiedExpression is not a subtype of class KtNamedDeclaration" from UnusedCheckerKT-68021
Analysis API: do not break the diagnostic collection in a case of exception from some collectorKT-67973
AA FIR: wrong KtCall modeling for == from type boundKT-67949
AA: Type arguments of Java methods' calls are not reported as used by KtFirImportOptimizerKT-67988
AA: functional type at receiver position should be wrapped in parenthesisKT-66536
Analysis API: ContextCollector doesn't provide implicit receivers from FirExpressionResolutionExtensionKT-67321
AA: Type arguments of Java methods' calls are not resolvedKT-64158
K2: "KotlinIllegalArgumentExceptionWithAttachments: No fir element was found for KtParameter"KT-60344
K2 IDE. "KotlinExceptionWithAttachments: expectcreateKtCall
to succeed for resolvable case with callable symbol" on attempt to assign value to param named getParamKT-64599
K2: "expectcreateKtCall
to succeed for resolvable case with callable" for unfinished if statementKT-60330
K2 IDE. ".KotlinExceptionWithAttachments: expectcreateKtCall
to succeed for resolvable case with callable symbol" on attempt to assign or compare true with somethingKT-66672
K2 IDE. False positive INVISIBLE_REFERENCE on accessing private subclass as type argument in parent class declarationKT-67750
Analysis API: Removeinfix
modifiers from type equality and subtyping functionsKT-67655
Analysis API: declare a rule how to deal with parameters in KtLifetimeOwnerKT-61775
Analysis API: KtKClassAnnotationValue lacks complete type informationKT-67168
K2: Analysis API: Rendering is broken for JSR-305 enhanced Java typesKT-66689
Analysis API: KtFirPackageScope shouldn't rely on KotlinDeclarationProvider for binary dependencies in standalone modeKT-60483
Analysis API: add isTailrec property to KtFunctionSymbolKT-67472
K2: Analysis API FIR: KtFunctionCall misses argument with desugared expressionsKT-65759
Analysis API: Avoid hard references toLLFirSession
in session validity trackersKT-60272
K2: Implement active invalidation ofKtAnalysisSession
sKT-66765
K2: Analysis API: support classpath substitution with library dependencies in super type transformerKT-67265
K2: status phase should resolve original declarations in the case of classpath subsitutionKT-67244
K2: StackOverflowError in the case of cyclic type hierarchy and library classpath substitutionKT-67080
K2: clearer contract for lazyResolveToPhaseWithCallableMembersKT-66713
K2 FIR: Expose a way to get the module name used for name manglingKT-61892
KtType#asPsiType could provide nullability annotationsKT-66122
Analysis API: PassKtTestModule
instead ofTestModule
to tests based onAbstractAnalysisApiBasedTest
Analysis. Light Classes
KT-65714
K2: IDE K2: "org.jetbrains.kotlin.analysis.api.fir.symbols.pointers.KtFirClassLikeSymbolPointer pointer already disposed"KT-65835
SymbolLightClassForClassLike.getName
returnsnull
for a companion object instead ofCompanion
KT-68261
SLC: Constructors of sealed classes should be privateKT-68696
DropDecompiledPsiDeclarationProvider
-related stuffKT-68404
SLC: wrong binary resolution to declaration with@JvmName
KT-68275
LC: no arg constructor is not visible in light classesKT-66687
Symbol Light Classes: Duplicate field names for classes with companion objectsKT-66804
Symbol Light Classes: Fields from the parent interface's companion are added to DefaultImplsApple Ecosystem
KT-65542
Cinterop tasks fails if Xcode 15.3 is usedBackend. Native. Debug
KT-67567
Native: after updating to LLVM 16 lldb hangs when smooth steppingBackend. Wasm
KT-70591
To much sources that don't exist inside SourceMap fileKT-69529
compileProductionExecutableKotlinWasmJs FAILED: No such value argument slot in IrConstructorCallImpl: 1 (total=1)KT-68088
Wasm: "UNREACHABLE executed at Precompute.cpp:838" running gradle task wasmJsBrowserDistribution for compose multiplatform on WindowsKT-65798
K/Wasm: make an error on default export usageKT-68828
Wasm test failure. expect-actual. private constructor in expectKT-68453
K/Wasm: "Supported JS engine not detected" in Web WorkerKT-64565
Kotlin/wasm removeEventListener function did not remove the event listenerKT-65322
[Wasm] Clean-up bootstrap codeKT-66099
Wasm: local.get of type f64 has to be in the same reference type hierarchy as (ref 686) @+237036KT-63230
[WASM]println(null)
prints 'ul'Compiler
New Features
KT-58310
Consider non-functional type constraints for type variable which is an expected type for lambda argumentKT-68969
Consider implementing general "redundant interpolation prefix" warningKT-57872
Improve "Public-API inline function cannot access non-public-API" checkKT-68165
Native: type checks on generic types boundaryKT-67611
Implement improved handling of $ in literalsKT-67787
Implement guard conditions for when-with-subjectKT-39868
Allow access to protected consts and fields from a super companion objectKT-66169
useContents
lacks acontract
KT-67767
Introduce an ability to enforce explicit return types for public declarations without enabling Explicit API modeKT-65841
Allow to actualize expect types in kotlin stdlib to builtins in JVMKT-53834
Support for JSpecify@NullUnmarked
Performance Improvements
KT-69995
K2: Slow compilation when star projecting mutually recursive bounds from javaKT-69723
K2: code analysis taking too longKT-69898
K2: Performance degradation in fir2ir caused by changes around intersection typesKT-68034
Devirtualization analysis fails to devirtualize string.getFixes
KT-67102
IR Evaluator: NoSuchFieldException when accessing a private delegated propertyKT-35305
"Overload resolution ambiguity" on function for unsigned types (UByte, UShort, UInt, ULong)KT-69211
K2: java.lang.IllegalArgumentException: Failed requirementKT-68874
Types with different captured types as type arguments are rendered incorrectlyKT-66086
K/N: Unchecked illegal cast is not thrownKT-70186
Kotlin 2.0.20-Beta2: Unexpected number of type arguments: 0KT-68889
K2: type variable should not be fixedKT-69835
K2 / Native: kotlin.native.binary.gc=cms throws library cached but its dependency isn't errorKT-70417
DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE leads to NPE in BEKT-69964
K2: Returning from an in-place lambda doesn't compileKT-69773
K2: "Overload resolution ambiguity between candidate" with arraysKT-60261
K2: No origin is set for composite assignment operatorsKT-15388
Forbid delegated property to have external getter/setterKT-70238
K2: false negative VOLATILE_ON_VALUE for constructor propertiesKT-68669
K2: Generate inherited delegated members after actualizationKT-63828
K2: Missingsignature
metadata for accessors of properties inherited from delegateKT-63871
K2: different value ofisNotDefault
flag for property inherited from delegateKT-67119
Migration warning from context receivers to context parametersKT-68997
K2: "No accessor found" for an inline value class when query the value of a delegated class by reflectionKT-64106
Native: the compiler allows using-opt
and-g
at the same timeKT-69766
K2: False negative: Internal setter of generic class is accessible from another moduleKT-68364
JVM: ISE "Bad exception handler end" on a non-local break/continue inside try with finallyKT-69494
StackOverflowError in CfgTraverserKt.getPreviousCfgNodesKT-56880
K2. Conflicting overloads for main() isn't shown when language version is set to 2.0KT-69282
K2: equality of unsigned types with nullability works incorrectlyKT-68492
JVM IR backend: IDE / Kotlin Debugger: AE “Non-reified type parameter under ::class should be rejected by type checker” on evaluating private generic functionKT-70039
K2: inconsistent stability of vals of captured receiversKT-44139
Don't report overload resolution ambiguities if arguments contain an error typeKT-68996
K2: "Not enough information to infer type argument" caused by typealias annotation with fixed generic argumentKT-55851
K2: reference to a field from package private class crashes in runtimeKT-65038
K2: Type alias from indirect dependency causesMISSING_DEPENDENCY_CLASS
errorKT-61875
Native: remove support for bitcode embeddingKT-67693
Implement checkers for K1 compiler which will check the usage of K2 new features and report that they are not supported in K1 compilerKT-68556
K2: false negative PROPERTY_WITH_NO_TYPE_NO_INITIALIZER on uninitialized property without typeKT-60445
K2/Java: investigate possible symbol clash while enhancing Java class type parameter boundsKT-64193
K2: No smartcast with two boolean expressions in a rowKT-65546
K2. implement extended checker for unused anonymous parameter in lambdaKT-68358
@EnhancedNullability
is missing on value parameter type after inheritance by delegation with strict JSpecify enabledKT-67791
False negative "Synchronizing by Meters is forbidden" with inline value classesKT-69495
k2: inconsistent output of unsigned number in string templatesKT-69619
K2. JAVA_TYPE_MISMATCH when Kotlin out generic type used in JavaKT-69563
trying to call.source
onFirPackageFragmentDescriptor
results in exceptionKT-69611
Internal annotation FlexibleArrayElementVariance is written to output jarKT-69463
K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS with expect/actual declarationsKT-68724
K2: "ABSTRACT_MEMBER_NOT_IMPLEMENTED" caused by open modifier on interfaceKT-69182
K2: OptIn on enum companion blocks enum constantsKT-69191
K2: "Unresolved reference" caused by nested data objectsKT-69569
Wrong paths when one type has multiple annotated argumentsKT-55128
Wrong type path in type annotations when type arguments are compiled to wildcardsKT-67692
Native: support LLVM opaque pointers in the compilerKT-69402
FirSupertypeResolverVisitor: ConcurrentModificationExceptionKT-69062
K1: false-negative "unsupported feature" error on multi-dollar interpolationKT-68967
Consider demoting warnings about multi-dollar interpolation to IJ inspectionsKT-68957
False-negative diagnostics about multi-dollar interpolation on string literals without interpolationKT-69476
False negative NO_ELSE_IN_WHEN on when over intersection type with expect enum/sealed classKT-67069
K2: Delegated member calls interface method instead of fake overrideKT-63864
K2: Missing abbreviated type in metadataKT-59833
K2: Stop modifying values of enum entriesKT-69421
K2: Resolve changed from delegated function to java default functionKT-69392
K2: "UNSAFE_CALL": when with some variable subjects does not smartcast the variableKT-69053
K2: Unsupported intersection overrides for fieldsKT-69227
K2: "Argument type mismatch" caused by generic typealias and upper boundKT-31371
NOT_YET_SUPPORTED_IN_INLINE: incorrect error message for local inline functionKT-49473
PROTECTED_CALL_FROM_PUBLIC_INLINE_ERROR: specialize error message for 'inline' propertyKT-49474
NON_PUBLIC_CALL_FROM_PUBLIC_INLINE: specialize error message for 'inline' propertyKT-49503
SUPER_CALL_FROM_PUBLIC_INLINE_ERROR: specialize error message for 'inline' propertyKT-11302
On inapplicable '@JvmStatic
' annotation, highlight only the annotation, not the function signatureKT-59510
K2: do not render annotations in the deprecation diagnosticKT-68532
"This code uses error suppression for 'INAPPLICABLE_JVM_NAME'. While it might compile and work, the compiler behavior is UNSPECIFIED and WON'T BE PRESERVED"KT-68859
K2: unable to suppress only "JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE"KT-68469
[K2] MISSING_DEPENDENCY_CLASS caused by redundant@file
:JvmNameKT-68999
K2: Unify the style of FIR generator with IR and SIR tree-generatorsKT-66061
Kotlin/Native - building shared module for iOS - Argument list too longKT-49420
Suspicious behaviour of frontend in case of DefinitelyNotNull type overloadKT-59752
K2: "Conflicting overloads" if function with same signature added to different contextsKT-68618
K1: Unresolved reference for qualified this in implicit typeKT-25341
NOT_YET_SUPPORTED_IN_INLINE reported over anonymous object borderKT-69215
K2: IllegalArgumentException for delegated function in anonymous object with captured type parametersKT-69044
Destructuring declaration shouldn't be possible in declaration in whenKT-69028
K2:FirJvmActualizingBuiltinSymbolProvider
returnsnull
on builtins declarations if common source-set is not presentedKT-15704
Rethink usage of term "type annotation" in error messagesKT-68970
K2. Argument type mismatch caused by out projection in inferred type from if - elseKT-68800
K2: DeleteConeAttributes.plus
methodKT-59389
K2: Missing AMBIGUOUS_LABELKT-68803
K2: Smart cast fails with "Unresolved reference" when@Suppress
("UNCHECKED_CAST") used in statementKT-68968
K2: Missing ILLEGAL_SUSPEND_FUNCTION_CALL diagnostic in initialization code of a local class inside suspend functionKT-68336
K2 does not seem to pass the right constructor arguments to custom scriptsKT-68517
"IrSimpleFunctionSymbolImpl is unbound" for actual class containing non-actual functionsKT-59678
K2: InvestigateConeKotlinType.unCapture()
KT-69027
K2: InitializeFirStdlibBuiltinSyntheticFunctionInterfaceProvider
in library sessionKT-62818
K2: improve VAR_OVERRIDDEN_BY_VAL diagnostic messageKT-68214
Rename TypeApproximatorConfiguration properties for clarityKT-68093
Implement deprecation of smartcasts on class-delegated propertiesKT-67270
Native: report more performance metrics from the compilerKT-68621
DATA_CLASS_INVISIBLE_COPY_USAGE false negative for inline funKT-68568
K2: False-positive ACCIDENTAL_OVERRIDE caused by missing dependency classKT-66723
K2: NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS for actual typealias that extends to Java class with complicated hierarchy that includes default methodKT-69000
Can't render constructor of intersection typeKT-68849
K2: "ClassCastException: cannot be cast to kotlin.jvm.functions.Function2" caused by passing lambda to SAM constructor resultsKT-61744
Native: -Xsave-llvm-ir-after fails to check errors from LLVMPrintModuleToFileKT-67103
Support AbbreviatedTypeAttribute for aliased types from the source codeKT-63921
K2: different representation of recursive type aliasesKT-68679
K2: "Override has incorrect nullability in its signature compared to the overridden declaration" caused by subclass of Android HashMapKT-64335
K2: improve rendering of captured types in diagnostic messagesKT-68820
K2: "Unresolved reference" on calling function with "contract" nameKT-67933
K2: no conversion between fun interfaces if target hassuspend
KT-68230
K2: FirMissingDependencyClassChecker: Not supported: ConeFlexibleTypeKT-68531
K2: False-negative error on assignment to enum entryKT-68446
K2: compile-time failure on smart-casted generic value used as a when-subject in a contains-check with rangeKT-68678
K2: Drop usingFirBuiltinSymbolProvider
while compiling JVM stdlibKT-68382
Get rid of context receivers in FirScript implementationKT-68585
Implement new rules for CFA about enum entriesKT-68110
K2: "Java type mismatch" caused by spring.NullableKT-68613
K2: False positiveCONFLICTING_PROJECTION
after fixing KT-67764KT-67764
K2: False negative: Projection problem is not reported inis
expressionKT-67887
Expection on assigning to private field of value typeKT-67801
NSME on evaluating private member function with value class parameterKT-67800
NSME on evaluating private top-level function with value class parameterKT-68542
K2: Fix referecing to@ExtensionFunctionType
if it's declared in sourceKT-68188
K2: Properly support FunctionN creation for stdlib compilationKT-67946
K2: Crash on red code:Instead use FirErrorTypeRef for ERROR CLASS: Cannot infer argument for type parameter T
KT-68526
K2: false-negative inconsistent data class copy visibility warning on call to generic data class copy functionKT-68528
K2: false-positive inconsistent data class copy visibility warning on call to function from another module with identical value parameter types and return typeKT-68525
K2: false-negative inconsistent data class copy visibility warning on callable reference to data class copy functionKT-68617
K2: Secondary constructors in a sealed class have private visibility instead of protected in the generated IRKT-63920
K2: Private secondary sealed class constructor is private in metadata, but protected in K1KT-57996
Usages ofFoo
@Nullable[]
produce only warnings even with-Xtype-enhancement-improvements-strict-mode -Xjspecify-annotations=strict
KT-68207
K2: Investigate if losing ConeIntersectionType.upperBoundForApproximation during approximation leads to any issuesKT-64990
K2: Remove usages of SymbolTable from FIR2IRKT-67798
NSME on assigning to private delegated property of value classKT-68264
K2: confusing INVISIBLE_* error when typealias is involvedKT-68529
K2: false-negative redundant annotation warning on@ExposedCopyVisibility
on data class with public constructorKT-67943
Approximation should not generate types with UPPER_BOUND_VIOLATION errorsKT-67503
K2: False negative "Type Expected" when attempting to annotate a wildcard type argumentKT-68187
K2: Create IrBuiltins in fir2ir only after IR actualizationKT-66443
K2: ArrayIterationHandler doesn't work if UIntArray declared in sourcesKT-68291
K2 / Contracts: Non-existent invocation kind is suggested as a fixKT-68209
K2: Strange import suggestion when lambda body contains invalid codeKT-67368
"NullPointerException: Parameter specified as non-null is null" local lambda creates new not-null checks with 2.0.0-Beta5KT-51433
FE 1.0: implement warnings about label resolve changesKT-66554
K2. Drop FIR based fake-override generator from fir2irKT-64202
K2: Drop old methods for calculation of overridden symbols for lazy declarationsKT-67895
K2: Properly implement generation of fake-overrides for fieldsKT-54496
K2:REDUNDANT_MODALITY_MODIFIER
diagnostic disregards compiler pluginsKT-63745
K2: Approximation of DNN with nullability warning attribute leads to attribute incorrectly becoming not-nullKT-63362
AbstractTypeApproximator fixes only first local type in hierarchyKT-67769
K2: "variable must be initialized" on unreachable access in constructorKT-51195
FIR IC: Incremental compilation fails with@PublishedApi
propertyKT-67966
No JVM type annotation is generated on a class supertypeKT-46640
Generate JVM type annotations on wildcard boundsKT-67952
Annotations on type parameters are not generated for parameters other than the firstKT-68012
K2. No'operator' modifier is required on 'component'
error in K2KT-61835
K2: FirStubTypeTransformer receives unresolved expressions in builder inference sessionKT-63596
K1/K2: Different behavior for lambda with different return typeKT-67688
K2: False positive CANNOT_INFER_PARAMETER_TYPE for Unit constraint type variableKT-62080
False positive UNUSED_VARIABLE for variable that is used in lambda and in further code with several conditionsKT-60726
K2: Missed TYPE_MISMATCH error: inferred type non-suspend function but suspend function was expectedKT-41835
[FIR] Green code turns to red in presence of smartcasts and redundant type argumentsKT-67579
K1/JVM: false-negative annotation-based diagnostics on usages of ABI compiled with non-trivially configured generation of default methodsKT-67493
K2: argument type mismatch: actual type is 'T', but 'T' was expectedKT-64900
K2:getConstructorKeyword
call inPsiRawFirBuilder.toFirConstructor
forces AST loadKT-67648
K2: wrong exposed visibility errors with WRONG_MODIFIER_CONTAINING_DECLARATION on top-level enum classKT-58686
FIR2IR: Don't use global countersKT-67592
K2: Success execution of:kotlin-stdlib:compileKotlinMetadata
KT-60398
K2: consider forbidding FirBasedSymbol rebindKT-54918
Refactor transformAnonymousFunctionWithExpectedTypeKT-63360
K2: Malformed type mismatch error with functional typeKT-67266
K2: disappeared INLINE_CLASS_DEPRECATEDKT-67569
K2: Fix default value parameters of Enum's constructor if it's declared in source codeKT-67378
K2: Don't usewrapScopeWithJvmMapped
for common source setsKT-67738
K2: Introducekotlin.internal.ActualizeByJvmBuiltinProvider
annotationKT-64456
K2: Port *VersionRequirementTest to K2KT-67136
Put $this parameter to LVT for suspend lambdasKT-62538
K2: Declarations inside external classes should be implicitly externalKT-67627
K2: External interface companion isn't external in IRKT-60290
K2: origin is not set for !in operatorKT-67512
K2: false positive WRONG_GETTER_RETURN_TYPE when getter return type is annotatedKT-67635
K2: No warning TYPE_MISMATCH_WHEN_FLEXIBILITY_CHANGES for SAM constructor with inferred typeKT-60501
K2 Scripting: investigate metadata difference between K1 and K2KT-67598
K2: Fix incorrect castingUByte
toNumber
inFirToConstantValueTransformer
KT-56564
False positive "non-exhaustive when" in case of intersection typeKT-63969
K2: extra property in metadataKT-63968
K2: extra property in metadata for anonymous variable in scriptKT-67547
K/N can't build caches, fails with "clang++: error=2, No such file or directory"KT-67469
K2: Failing module in FP-intellijKT-64033
K2: Investigate ForbidInferringPostponedTypeVariableIntoDeclaredUpperBoundKT-64457
K2: Fix DecompiledKnmStubConsistencyK2TestGeneratedKT-66377
IR Evaluator: "no container found for type parameter" when evaluating nested genericsKT-66378
IR Evaluator: Symbol is unboundKT-64506
IDE, IR Evaluator: NPE in ReflectiveAccessLowering.fieldLocationAndReceiver when evaluating private static propertiesKT-67380
K2: Don't check forequals
overriding for classAny
KT-67038
K2: Missing type of FirLiteralExpression causes an exception for property initializer type resolutionKT-59813
K2: Fix the TODO aboutfirEffect.source
inFirReturnsImpliesAnalyzer
KT-59834
K2: Fix the TODO aboutmerge(other)
inUnusedChecker
KT-59188
K2: Change positioning strategy forWRONG_NUMBER_OF_TYPE_ARGUMENTS
errorKT-59108
K2. SMARTCAST_IMPOSSIBLE instead of UNSAFE_IMPLICIT_INVOKE_CALLKT-65503
The inline processor cannot handle objects inside the lambda correctly when calling an inline function from another moduleKT-30696
NoSuchMethodError if nested anonymous objects are used with propagation reified type parameterKT-58966
Incorrect type inference for parameters with omitted type of anonymous function that is being analyzed as value of function type with receiverKT-67458
Use@PhaseDescription
for JVM backend lowering phasesKT-65647
K2 ignores diagnostics on sourcelessFirTypeRef
sKT-64489
K2: Rename FirAugmentedArraySetKT-67394
FIR: Make FIR repr of For from PSI and LightTree the sameKT-66724
K2 IDE. False positive errors because of wrong type inference in complex case of delegated property and type argumentsKT-40248
Confusing error message NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODYKT-66947
K2: false-positive JSpecify nullability enhancement warning on Java wildcard type argument with same base type but different nullabilities as upper and lower boundsKT-66974
K2: false-negative JSpecify nullability enhancement warning on nullable projection of Java wildcard type argument with non-null bounds in out-positionKT-66946
K2: false-negative JSpecify nullability enhancement warning on Java wildcard type argument with nullable upper bound in out-positionKT-66442
K2: No visibility error on importing private aliasesKT-66598
K2: Allow comparisons,is
-checks and casts between Kotlin and platform typesKT-55966
K2: Not enough information to infer type variable K if smartcast is usedKT-64894
OPT_IN_ARGUMENT_IS_NOT_MARKER diagnostic message is unclearKT-67019
K2: IR has incorrect EQ origins for some inplace updating operatorsKT-59810
K2: Support other ConstraintPosition-sKT-55383
K1/K2: isClassTypeConstructor behaves differently for stub typesKT-60089
K2: Introduced ERROR_IN_CONTRACT_DESCRIPTIONKT-60382
K2: Refactor ExpectActualCollectorKT-62929
K2: investigate if guessArrayTypeIfNeeded is necessary in annotation loaderKT-65642
K2: IR: Array access desugaring doesn't have originsKT-24807
No smartcast to Boolean in subject of when-expression when subject type is non-nullableKT-66057
K2: incorrect supertype leads to class declaration being highlighted redKT-63958
K2: drop support of UseBuilderInferenceOnlyIfNeeded=falseKT-63959
K2: treat stub types as non-nullable for isReceiverNullable checkKT-65100
IrFakeOverrideBuilder: support custom 'remove(Int)' handling logic in MutableCollection subclassesCompose compiler
New features
cdfe659
Changed how compiler features being rolled out are enabled and disabled in compiler plugin CLI. Features, such as strong skipping and non-skipping group optimizations are now enabled through the "featureFlag" option instead of their own option.192e556
Strong skipping is now enabled by default842a9e8
Add support for default parameters in abstract and open @Composable functionsb/165812010
Fixes
e207b05
Fixes group generation for if statements when nonSkippingGroupOptimization is enabledb/346821372
f64fc3a
FixesendToMarker
generation in early return from inline lambdas that caused start/end imbalanceb/346808602
d6ac8a5
Stop memoizing lambdas with captured property delegatesb/342557697
f38d5a3
Stop capturing parameter meta across crossinline boundaryb/343801379
770fe8d
Propagate annotations from inferred function types when serializingb/345261077
3c67cda
Fix memoization of captureless lambdas when K2 compiler is usedb/340582180
3281e53
Allow memoizing lambdas in composable inline functionsb/340606661
b/351858979
Fix stability inferencing of interfaces on incremental compilationb/346821372
[Compose] Fix code generation for group optimizationb/357878245
Disallow open @Composable functions with default params to fix binary compatibility issues.IR. Actualizer
KT-68830
Compiler crash on missing actual classKT-69024
K2: Children of expect annotation with@OptionalExpectation
should be actualizedKT-68742
Allow expect protected to Java protected actualizationKT-66436
K2. Actualizing modCount property with a field in AbstractMutableListKT-68741
Support actualization of AbstractMutableList.modCountKT-68801
Crash on access of fake override of function actualized by fake overrideKT-66307
K2: property fake override isn't generated for protected fieldIR. Inlining
KT-67208
KJS: put ReplConfiguration
📅 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.