simlar-android
simlar-android copied to clipboard
Update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk8 to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.jetbrains.kotlin:kotlin-stdlib-jdk8 (source) | 1.9.20 -> 2.0.21 |
Release Notes
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-stdlib-jdk8)
v2.0.21: Kotlin 2.0.21
Changelog
Apple Ecosystem
-
KT-69093Xcode 16 support in Kotlin
Backend. Native. Debug
-
KT-71374lldb: step out breaks breaking in Xcode 16
Compiler
Fixes
-
KT-69735K2: Static fields are missing from the declaration list of corresponding IrClass for java class -
KT-71122Regression in Kotlin Compiler 2.0 causing NPE in the runtime -
KT-70931K2 / Scripts: "cannot convert IrExpression to ConstantValue" when using function annotation -
KT-70584K2: "IllegalStateException: flow for PostponedLambdaExitNode not initialized - traversing nodes in wrong order?" -
KT-70808K2: "node has already been visited" with anonymous object in dead code -
KT-69985K2: Classifier declarations from root package are resolved without imports in non-root packages -
KT-70683K2: Internal compiler error in IrFakeOverrideSymbolBase.getOwner -
KT-70901False positive Public-API inline function cannot access non-public-API property accessor -
KT-70930K2: Java annotations not present on ENUM_ENTRY IR elements -
KT-70194K2 IDE: exception on a very red file -
KT-69399Native: IllegalStateException: "Failed to build cache"
Compose compiler
Fixes
-
b/329477544Force open / overridden Composable functions to be non-restartable. -
b/361652128Disable live literal transform if the corresponding flag is disabled
IR. Actualizer
-
KT-70894IR crash. UnprocessedIrFunctionFakeOverrideSymbolwhen actualize to Java
IR. Tree
-
KT-71191SymbolTable: Check if the provided signature is public before adding a symbol to the SymbolTable
Native. Build Infrastructure
-
KT-71485K/N runtime parts don't build due to _Float16 issues on x86_64 macOS
Native. C Export
-
KT-69507LLVM 11 clang with Xcode 16 headers: standard c++ headers
Native. C and ObjC Import
-
KT-71029Investigate why stdarg.h declarations leak into testModuleA
Native. Platform Libraries
-
KT-70566LLVM 11 clang with Xcode 16 headers: 'sys/cdefs.h' file not found -
KT-71624Eliminate remaining UIKit/AppKit removed signatures -
KT-70031Rebuild platform libraries in 2.0.21 with Xcode 16
Native. Testing
-
KT-70603C++ with -fmodules: cyclic dependency in module 'std': std -> _wctype -> __wctype -> std in dev llvm toolchains
Tools. CLI. Native
-
KT-71262KotlinNativeLink tasks fetching from network despite -Xoverride-konan-properties=dependenciesUrl= being set
Tools. Compiler Plugins
-
KT-71038PowerAssert: Constant on RHS of elvis operator leads to compiler crash
Tools. Daemon
-
KT-35381Get rid of the native-platform usage in kotlin compiler
Tools. Gradle. Multiplatform
-
KT-71444Certain POMs produced by Kotlin 2.0.20 cannot be consumed by KMP projects with Android targets -
KT-70700Gradle 8.10: The value for task ':commonizeNativeDistribution' property 'kotlinNativeBundleBuildService' cannot be changed any further -
KT-71396Gradle client side JVM explodes with OOM due to xcodebuild logs
Tools. Gradle. Native
-
KT-71419Light bundle KGP IT run against a stable K/N version
Tools. JPS
-
KT-71450Constant build failure: com.intellij.util.io.ClosedStorageException: storage is already closed
v2.0.20
Analysis. API
New Features
-
KT-68143Analysis API: support KtWhenConditionInRange call resolution
Performance Improvements
-
KT-67195K2: do not call redundant resolve on body resolution phase for classes
Fixes
-
KT-67360Analysis API: KtDestructuringDeclarationSymbol#entries shouldn't be KtLocalVariableSymbol -
KT-67748K2: AllCandidatesResolver modifies the original FirDelegatedConstructorCall -
KT-68198Analysis API: Support application service registration in plugin XMLs -
KT-62936Analysis API: NativeForwardDeclarationsSymbolProvider is not supported for Kotlin/Native -
KT-68689LL API: support analysis from builtins module -
KT-69630KAPT User project builds with KAPT4 enabled fail with Metaspace overflow -
KT-65417K2 IDE: KTOR false positive expect-actual matching error on enum class because of implicit clone() in non-JVM source sets -
KT-68882Analysis API: RefactorKaSymbols -
KT-65413K2 IDE: KTOR unresolved serializer() call for@Serializableclass in common code -
KT-67996Analysis API: rename Kt prefix to Ka -
KT-67775Analysis API: expose only interfaces/abstract classes for the user surface -
KT-68009K2: lowering transformers of Compose compiler plugin access AbstractFir2IrLazyFunction modality, which results in null point exception -
KT-68918collectCallCandidates works incorrectly for parenthesis invoke -
KT-68462Analysis API: Integrateproject-structuremodule intoanalysis-apiandanalysis-api-platform-interface -
KT-69131AA: "provideDelegate" operator is not resolved from the delegation reference in FIR implementation -
KT-69055Analysis API: StabilizeKaScopes -
KT-66216K2 IDE. "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is null" on incorrect string template -
KT-68959Introduce KaSeverity -
KT-53669Analysis API: redesign KtSymbolOrigin to distinguish kotlin/java source/library declarations -
KT-68846Mark KaFirReference and all implementations with internal modifier -
KT-68845Move KaSymbolBasedReference to resolution package -
KT-68844Move KaTypeProjection to types package -
KT-65849K2: Rename 'high-level-api' family of JARs to 'analysis-api' -
KT-62540Remove uses of TypeInfo.fromString and TypeInfo.createTypeText from Kotlin plugin -
KT-62889K2 IDE. FPMISSING_DEPENDENCY_CLASSon not available type alias with available underlying type -
KT-68155Analysis API: Add PSI validity check toanalyze -
KT-62343Analysis API: fix binary incopatibility problems cause byKtAnalysisSessionProvider.analyzebeing inline -
KT-68498To get reference symbol the one should be KtSymbolBasedReference -
KT-68393Analysis API: RenameKaClassLikeSymbol. classIdIfNonLocaltoclassId -
KT-62924Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId -
KT-66712K2 IDE. SOE on settings string template for string variable with the same name -
KT-65892K2: "We should be able to find a symbol" for findNonLocalFunction -
KT-68273AA: supportKtFirKDocReference#isReferenceToImportAlias -
KT-68272AA: KtFirReference.isReferenceToImportAlias doesn't work for references on constructor -
KT-66996Analysis API: Expose the abbreviated type of an expandedKtType -
KT-66646K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl from FirJsHelpersKt.isExportedObject -
KT-68203K2: Analysis API: wrong type of receiver value in case of imported object member -
KT-68031LL resolve crash in case of PCLA inference with local object -
KT-67851K2:PsiReference#isReferenceToalways returns false for references to Java getters -
KT-68076AA: use type code fragments for import alias detection -
KT-65915K2: Analysis API: extract services registration into xml file -
KT-68049Analysis API: do not expose imported symbols -
KT-68075K2: Analysis API: Type arguments for delegation constructor to java constructor with type parameters not supported -
KT-65190AA: reference to the super type is not resolved -
KT-68070AA: KtExpressionInfoProvider#isUsedAsExpression doesn't work for KtPropertyDelegate -
KT-67743K2: Stubs & AbbreviatedTypeAttribute -
KT-67706K2: "KtDotQualifiedExpression is not a subtype of class KtNamedDeclaration" from UnusedChecker -
KT-68021Analysis API: do not break the diagnostic collection in a case of exception from some collector -
KT-67973AA FIR: wrong KtCall modeling for == from type bound -
KT-67949AA: Type arguments of Java methods' calls are not reported as used by KtFirImportOptimizer -
KT-67988AA: functional type at receiver position should be wrapped in parenthesis -
KT-66536Analysis API: ContextCollector doesn't provide implicit receivers from FirExpressionResolutionExtension -
KT-67321AA: Type arguments of Java methods' calls are not resolved -
KT-64158K2: "KotlinIllegalArgumentExceptionWithAttachments: No fir element was found for KtParameter" -
KT-60344K2 IDE. "KotlinExceptionWithAttachments: expectcreateKtCallto succeed for resolvable case with callable symbol" on attempt to assign value to param named getParam -
KT-64599K2: "expectcreateKtCallto succeed for resolvable case with callable" for unfinished if statement -
KT-60330K2 IDE. ".KotlinExceptionWithAttachments: expectcreateKtCallto succeed for resolvable case with callable symbol" on attempt to assign or compare true with something -
KT-66672K2 IDE. False positive INVISIBLE_REFERENCE on accessing private subclass as type argument in parent class declaration -
KT-67750Analysis API: Removeinfixmodifiers from type equality and subtyping functions -
KT-67655Analysis API: declare a rule how to deal with parameters in KtLifetimeOwner -
KT-61775Analysis API: KtKClassAnnotationValue lacks complete type information -
KT-67168K2: Analysis API: Rendering is broken for JSR-305 enhanced Java types -
KT-66689Analysis API: KtFirPackageScope shouldn't rely on KotlinDeclarationProvider for binary dependencies in standalone mode -
KT-60483Analysis API: add isTailrec property to KtFunctionSymbol -
KT-67472K2: Analysis API FIR: KtFunctionCall misses argument with desugared expressions -
KT-65759Analysis API: Avoid hard references toLLFirSessionin session validity trackers -
KT-60272K2: Implement active invalidation ofKtAnalysisSessions -
KT-66765K2: Analysis API: support classpath substitution with library dependencies in super type transformer -
KT-67265K2: status phase should resolve original declarations in the case of classpath subsitution -
KT-67244K2: StackOverflowError in the case of cyclic type hierarchy and library classpath substitution -
KT-67080K2: clearer contract for lazyResolveToPhaseWithCallableMembers -
KT-66713K2 FIR: Expose a way to get the module name used for name mangling -
KT-61892KtType#asPsiType could provide nullability annotations -
KT-66122Analysis API: PassKtTestModuleinstead ofTestModuleto tests based onAbstractAnalysisApiBasedTest
Analysis. Light Classes
-
KT-65714K2: IDE K2: "org.jetbrains.kotlin.analysis.api.fir.symbols.pointers.KtFirClassLikeSymbolPointer pointer already disposed" -
KT-65835SymbolLightClassForClassLike.getNamereturnsnullfor a companion object instead ofCompanion -
KT-68261SLC: Constructors of sealed classes should be private -
KT-68696DropDecompiledPsiDeclarationProvider-related stuff -
KT-68404SLC: wrong binary resolution to declaration with@JvmName -
KT-68275LC: no arg constructor is not visible in light classes -
KT-66687Symbol Light Classes: Duplicate field names for classes with companion objects -
KT-66804Symbol Light Classes: Fields from the parent interface's companion are added to DefaultImpls
Apple Ecosystem
-
KT-65542Cinterop tasks fails if Xcode 15.3 is used
Backend. Native. Debug
-
KT-67567Native: after updating to LLVM 16 lldb hangs when smooth stepping
Backend. Wasm
-
KT-70591To much sources that don't exist inside SourceMap file -
KT-69529compileProductionExecutableKotlinWasmJs FAILED: No such value argument slot in IrConstructorCallImpl: 1 (total=1) -
KT-68088Wasm: "UNREACHABLE executed at Precompute.cpp:838" running gradle task wasmJsBrowserDistribution for compose multiplatform on Windows -
KT-65798K/Wasm: make an error on default export usage -
KT-68828Wasm test failure. expect-actual. private constructor in expect -
KT-68453K/Wasm: "Supported JS engine not detected" in Web Worker -
KT-64565Kotlin/wasm removeEventListener function did not remove the event listener -
KT-65322[Wasm] Clean-up bootstrap code -
KT-66099Wasm: local.get of type f64 has to be in the same reference type hierarchy as (ref 686) @+237036 -
KT-63230[WASM]println(null)prints 'ul'
Compiler
New Features
-
KT-58310Consider non-functional type constraints for type variable which is an expected type for lambda argument -
KT-68969Consider implementing general "redundant interpolation prefix" warning -
KT-57872Improve "Public-API inline function cannot access non-public-API" check -
KT-68165Native: type checks on generic types boundary -
KT-67611Implement improved handling of $ in literals -
KT-67787Implement guard conditions for when-with-subject -
KT-39868Allow access to protected consts and fields from a super companion object -
KT-66169useContentslacks acontract -
KT-67767Introduce an ability to enforce explicit return types for public declarations without enabling Explicit API mode -
KT-65841Allow to actualize expect types in kotlin stdlib to builtins in JVM -
KT-53834Support for JSpecify@NullUnmarked
Performance Improvements
-
KT-69995K2: Slow compilation when star projecting mutually recursive bounds from java -
KT-69723K2: code analysis taking too long -
KT-69898K2: Performance degradation in fir2ir caused by changes around intersection types -
KT-68034Devirtualization analysis fails to devirtualize string.get
Fixes
-
KT-67102IR Evaluator: NoSuchFieldException when accessing a private delegated property -
KT-35305"Overload resolution ambiguity" on function for unsigned types (UByte, UShort, UInt, ULong) -
KT-69211K2: java.lang.IllegalArgumentException: Failed requirement -
KT-68874Types with different captured types as type arguments are rendered incorrectly -
KT-66086K/N: Unchecked illegal cast is not thrown -
KT-70186Kotlin 2.0.20-Beta2: Unexpected number of type arguments: 0 -
KT-68889K2: type variable should not be fixed -
KT-69835K2 / Native: kotlin.native.binary.gc=cms throws library cached but its dependency isn't error -
KT-70417DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE leads to NPE in BE -
KT-69964K2: Returning from an in-place lambda doesn't compile -
KT-69773K2: "Overload resolution ambiguity between candidate" with arrays -
KT-60261K2: No origin is set for composite assignment operators -
KT-15388Forbid delegated property to have external getter/setter -
KT-70238K2: false negative VOLATILE_ON_VALUE for constructor properties -
KT-68669K2: Generate inherited delegated members after actualization -
KT-63828K2: Missingsignaturemetadata for accessors of properties inherited from delegate -
KT-63871K2: different value ofisNotDefaultflag for property inherited from delegate -
KT-67119Migration warning from context receivers to context parameters -
KT-68997K2: "No accessor found" for an inline value class when query the value of a delegated class by reflection -
KT-64106Native: the compiler allows using-optand-gat the same time -
KT-69766K2: False negative: Internal setter of generic class is accessible from another module -
KT-68364JVM: ISE "Bad exception handler end" on a non-local break/continue inside try with finally -
KT-69494StackOverflowError in CfgTraverserKt.getPreviousCfgNodes -
KT-56880K2. Conflicting overloads for main() isn't shown when language version is set to 2.0 -
KT-69282K2: equality of unsigned types with nullability works incorrectly -
KT-68492JVM IR backend: IDE / Kotlin Debugger: AE “Non-reified type parameter under ::class should be rejected by type checker” on evaluating private generic function -
KT-70039K2: inconsistent stability of vals of captured receivers -
KT-44139Don't report overload resolution ambiguities if arguments contain an error type -
KT-68996K2: "Not enough information to infer type argument" caused by typealias annotation with fixed generic argument -
KT-55851K2: reference to a field from package private class crashes in runtime -
KT-65038K2: Type alias from indirect dependency causesMISSING_DEPENDENCY_CLASSerror -
KT-61875Native: remove support for bitcode embedding -
KT-67693Implement checkers for K1 compiler which will check the usage of K2 new features and report that they are not supported in K1 compiler -
KT-68556K2: false negative PROPERTY_WITH_NO_TYPE_NO_INITIALIZER on uninitialized property without type -
KT-60445K2/Java: investigate possible symbol clash while enhancing Java class type parameter bounds -
KT-64193K2: No smartcast with two boolean expressions in a row -
KT-65546K2. implement extended checker for unused anonymous parameter in lambda -
KT-68358@EnhancedNullabilityis missing on value parameter type after inheritance by delegation with strict JSpecify enabled -
KT-67791False negative "Synchronizing by Meters is forbidden" with inline value classes -
KT-69495k2: inconsistent output of unsigned number in string templates -
KT-69619K2. JAVA_TYPE_MISMATCH when Kotlin out generic type used in Java -
KT-69563trying to call.sourceonFirPackageFragmentDescriptorresults in exception -
KT-69611Internal annotation FlexibleArrayElementVariance is written to output jar -
KT-69463K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS with expect/actual declarations -
KT-68724K2: "ABSTRACT_MEMBER_NOT_IMPLEMENTED" caused by open modifier on interface -
KT-69182K2: OptIn on enum companion blocks enum constants -
KT-69191K2: "Unresolved reference" caused by nested data objects -
KT-69569Wrong paths when one type has multiple annotated arguments -
KT-55128Wrong type path in type annotations when type arguments are compiled to wildcards -
KT-67692Native: support LLVM opaque pointers in the compiler -
KT-69402FirSupertypeResolverVisitor: ConcurrentModificationException -
KT-69062K1: false-negative "unsupported feature" error on multi-dollar interpolation -
KT-68967Consider demoting warnings about multi-dollar interpolation to IJ inspections -
KT-68957False-negative diagnostics about multi-dollar interpolation on string literals without interpolation -
KT-69476False negative NO_ELSE_IN_WHEN on when over intersection type with expect enum/sealed class -
KT-67069K2: Delegated member calls interface method instead of fake override -
KT-63864K2: Missing abbreviated type in metadata -
KT-59833K2: Stop modifying values of enum entries -
KT-69421K2: Resolve changed from delegated function to java default function -
KT-69392K2: "UNSAFE_CALL": when with some variable subjects does not smartcast the variable -
KT-69053K2: Unsupported intersection overrides for fields -
KT-69227K2: "Argument type mismatch" caused by generic typealias and upper bound -
KT-31371NOT_YET_SUPPORTED_IN_INLINE: incorrect error message for local inline function -
KT-49473PROTECTED_CALL_FROM_PUBLIC_INLINE_ERROR: specialize error message for 'inline' property -
KT-49474NON_PUBLIC_CALL_FROM_PUBLIC_INLINE: specialize error message for 'inline' property -
KT-49503SUPER_CALL_FROM_PUBLIC_INLINE_ERROR: specialize error message for 'inline' property -
KT-11302On inapplicable '@JvmStatic' annotation, highlight only the annotation, not the function signature -
KT-59510K2: do not render annotations in the deprecation diagnostic -
KT-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-68859K2: unable to suppress only "JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE" -
KT-68469[K2] MISSING_DEPENDENCY_CLASS caused by redundant@file:JvmName -
KT-68999K2: Unify the style of FIR generator with IR and SIR tree-generators -
KT-66061Kotlin/Native - building shared module for iOS - Argument list too long -
KT-49420Suspicious behaviour of frontend in case of DefinitelyNotNull type overload -
KT-59752K2: "Conflicting overloads" if function with same signature added to different contexts -
KT-68618K1: Unresolved reference for qualified this in implicit type -
KT-25341NOT_YET_SUPPORTED_IN_INLINE reported over anonymous object border -
KT-69215K2: IllegalArgumentException for delegated function in anonymous object with captured type parameters -
KT-69044Destructuring declaration shouldn't be possible in declaration in when -
KT-69028K2:FirJvmActualizingBuiltinSymbolProviderreturnsnullon builtins declarations if common source-set is not presented -
KT-15704Rethink usage of term "type annotation" in error messages -
KT-68970K2. Argument type mismatch caused by out projection in inferred type from if - else -
KT-68800K2: DeleteConeAttributes.plusmethod -
KT-59389K2: Missing AMBIGUOUS_LABEL -
KT-68803K2: Smart cast fails with "Unresolved reference" when@Suppress("UNCHECKED_CAST") used in statement -
KT-68968K2: Missing ILLEGAL_SUSPEND_FUNCTION_CALL diagnostic in initialization code of a local class inside suspend function -
KT-68336K2 does not seem to pass the right constructor arguments to custom scripts -
KT-68517"IrSimpleFunctionSymbolImpl is unbound" for actual class containing non-actual functions -
KT-59678K2: InvestigateConeKotlinType.unCapture() -
KT-69027K2: InitializeFirStdlibBuiltinSyntheticFunctionInterfaceProviderin library session -
KT-62818K2: improve VAR_OVERRIDDEN_BY_VAL diagnostic message -
KT-68214Rename TypeApproximatorConfiguration properties for clarity -
KT-68093Implement deprecation of smartcasts on class-delegated properties -
KT-67270Native: report more performance metrics from the compiler -
KT-68621DATA_CLASS_INVISIBLE_COPY_USAGE false negative for inline fun -
KT-68568K2: False-positive ACCIDENTAL_OVERRIDE caused by missing dependency class -
KT-66723K2: NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS for actual typealias that extends to Java class with complicated hierarchy that includes default method -
KT-69000Can't render constructor of intersection type -
KT-68849K2: "ClassCastException: cannot be cast to kotlin.jvm.functions.Function2" caused by passing lambda to SAM constructor results -
KT-61744Native: -Xsave-llvm-ir-after fails to check errors from LLVMPrintModuleToFile -
KT-67103Support AbbreviatedTypeAttribute for aliased types from the source code -
KT-63921K2: different representation of recursive type aliases -
KT-68679K2: "Override has incorrect nullability in its signature compared to the overridden declaration" caused by subclass of Android HashMap -
KT-64335K2: improve rendering of captured types in diagnostic messages -
KT-68820K2: "Unresolved reference" on calling function with "contract" name -
KT-67933K2: no conversion between fun interfaces if target hassuspend -
KT-68230K2: FirMissingDependencyClassChecker: Not supported: ConeFlexibleType -
KT-68531K2: False-negative error on assignment to enum entry -
KT-68446K2: compile-time failure on smart-casted generic value used as a when-subject in a contains-check with range -
KT-68678K2: Drop usingFirBuiltinSymbolProviderwhile compiling JVM stdlib -
KT-68382Get rid of context receivers in FirScript implementation -
KT-68585Implement new rules for CFA about enum entries -
KT-68110K2: "Java type mismatch" caused by spring.Nullable -
KT-68613K2: False positiveCONFLICTING_PROJECTIONafter fixing KT-67764 -
KT-67764K2: False negative: Projection problem is not reported inisexpression -
KT-67887Expection on assigning to private field of value type -
KT-67801NSME on evaluating private member function with value class parameter -
KT-67800NSME on evaluating private top-level function with value class parameter -
KT-68542K2: Fix referecing to@ExtensionFunctionTypeif it's declared in source -
KT-68188K2: Properly support FunctionN creation for stdlib compilation -
KT-67946K2: Crash on red code:Instead use FirErrorTypeRef for ERROR CLASS: Cannot infer argument for type parameter T -
KT-68526K2: false-negative inconsistent data class copy visibility warning on call to generic data class copy function -
KT-68528K2: false-positive inconsistent data class copy visibility warning on call to function from another module with identical value parameter types and return type -
KT-68525K2: false-negative inconsistent data class copy visibility warning on callable reference to data class copy function -
KT-68617K2: Secondary constructors in a sealed class have private visibility instead of protected in the generated IR -
KT-63920K2: Private secondary sealed class constructor is private in metadata, but protected in K1 -
KT-57996Usages ofFoo@Nullable[]produce only warnings even with-Xtype-enhancement-improvements-strict-mode -Xjspecify-annotations=strict -
KT-68207K2: Investigate if losing ConeIntersectionType.upperBoundForApproximation during approximation leads to any issues -
KT-64990K2: Remove usages of SymbolTable from FIR2IR -
KT-67798NSME on assigning to private delegated property of value class -
KT-68264K2: confusing INVISIBLE_* error when typealias is involved -
KT-68529K2: false-negative redundant annotation warning on@ExposedCopyVisibilityon data class with public constructor -
KT-67943Approximation should not generate types with UPPER_BOUND_VIOLATION errors -
KT-67503K2: False negative "Type Expected" when attempting to annotate a wildcard type argument -
KT-68187K2: Create IrBuiltins in fir2ir only after IR actualization -
KT-66443K2: ArrayIterationHandler doesn't work if UIntArray declared in sources -
KT-68291K2 / Contracts: Non-existent invocation kind is suggested as a fix -
KT-68209K2: Strange import suggestion when lambda body contains invalid code -
KT-67368"NullPointerException: Parameter specified as non-null is null" local lambda creates new not-null checks with 2.0.0-Beta5 -
KT-51433FE 1.0: implement warnings about label resolve changes -
KT-66554K2. Drop FIR based fake-override generator from fir2ir -
KT-64202K2: Drop old methods for calculation of overridden symbols for lazy declarations -
KT-67895K2: Properly implement generation of fake-overrides for fields -
KT-54496K2:REDUNDANT_MODALITY_MODIFIERdiagnostic disregards compiler plugins -
KT-63745K2: Approximation of DNN with nullability warning attribute leads to attribute incorrectly becoming not-null -
KT-63362AbstractTypeApproximator fixes only first local type in hierarchy -
KT-67769K2: "variable must be initialized" on unreachable access in constructor -
KT-51195FIR IC: Incremental compilation fails with@PublishedApiproperty -
KT-67966No JVM type annotation is generated on a class supertype -
KT-46640Generate JVM type annotations on wildcard bounds -
KT-67952Annotations on type parameters are not generated for parameters other than the first -
KT-68012K2. No'operator' modifier is required on 'component'error in K2 -
KT-61835K2: FirStubTypeTransformer receives unresolved expressions in builder inference session -
KT-63596K1/K2: Different behavior for lambda with different return type -
KT-67688K2: False positive CANNOT_INFER_PARAMETER_TYPE for Unit constraint type variable -
KT-62080False positive UNUSED_VARIABLE for variable that is used in lambda and in further code with several conditions -
KT-60726K2: Missed TYPE_MISMATCH error: inferred type non-suspend function but suspend function was expected -
KT-41835[FIR] Green code turns to red in presence of smartcasts and redundant type arguments -
KT-67579K1/JVM: false-negative annotation-based diagnostics on usages of ABI compiled with non-trivially configured generation of default methods -
KT-67493K2: argument type mismatch: actual type is 'T', but 'T' was expected -
KT-64900K2:getConstructorKeywordcall inPsiRawFirBuilder.toFirConstructorforces AST load -
KT-67648K2: wrong exposed visibility errors with WRONG_MODIFIER_CONTAINING_DECLARATION on top-level enum class -
KT-58686FIR2IR: Don't use global counters -
KT-67592K2: Success execution of:kotlin-stdlib:compileKotlinMetadata -
KT-60398K2: consider forbidding FirBasedSymbol rebind -
KT-54918Refactor transformAnonymousFunctionWithExpectedType -
KT-63360K2: Malformed type mismatch error with functional type -
KT-67266K2: disappeared INLINE_CLASS_DEPRECATED -
KT-67569K2: Fix default value parameters of Enum's constructor if it's declared in source code -
KT-67378K2: Don't usewrapScopeWithJvmMappedfor common source sets -
KT-67738K2: Introducekotlin.internal.ActualizeByJvmBuiltinProviderannotation -
KT-64456K2: Port *VersionRequirementTest to K2 -
KT-67136Put $this parameter to LVT for suspend lambdas -
KT-62538K2: Declarations inside external classes should be implicitly external -
KT-67627K2: External interface companion isn't external in IR -
KT-60290K2: origin is not set for !in operator -
KT-67512K2: false positive WRONG_GETTER_RETURN_TYPE when getter return type is annotated -
KT-67635K2: No warning TYPE_MISMATCH_WHEN_FLEXIBILITY_CHANGES for SAM constructor with inferred type -
KT-60501K2 Scripting: investigate metadata difference between K1 and K2 -
KT-67598K2: Fix incorrect castingUBytetoNumberinFirToConstantValueTransformer -
KT-56564False positive "non-exhaustive when" in case of intersection type -
KT-63969K2: extra property in metadata -
KT-63968K2: extra property in metadata for anonymous variable in script -
KT-67547K/N can't build caches, fails with "clang++: error=2, No such file or directory" -
KT-67469K2: Failing module in FP-intellij -
KT-64033K2: Investigate ForbidInferringPostponedTypeVariableIntoDeclaredUpperBound -
KT-64457K2: Fix DecompiledKnmStubConsistencyK2TestGenerated -
KT-66377IR Evaluator: "no container found for type parameter" when evaluating nested generics -
KT-66378IR Evaluator: Symbol is unbound -
KT-64506IDE, IR Evaluator: NPE in ReflectiveAccessLowering.fieldLocationAndReceiver when evaluating private static properties -
KT-67380K2: Don't check forequalsoverriding for classAny -
KT-67038K2: Missing type of FirLiteralExpression causes an exception for property initializer type resolution -
KT-59813K2: Fix the TODO aboutfirEffect.sourceinFirReturnsImpliesAnalyzer -
KT-59834K2: Fix the TODO aboutmerge(other)inUnusedChecker -
KT-59188K2: Change positioning strategy forWRONG_NUMBER_OF_TYPE_ARGUMENTSerror -
KT-59108K2. SMARTCAST_IMPOSSIBLE instead of UNSAFE_IMPLICIT_INVOKE_CALL -
KT-65503The inline processor cannot handle objects inside the lambda correctly when calling an inline function from another module -
KT-30696NoSuchMethodError if nested anonymous objects are used with propagation reified type parameter -
KT-58966Incorrect type inference for parameters with omitted type of anonymous function that is being analyzed as value of function type with receiver -
KT-67458Use@PhaseDescriptionfor JVM backend lowering phases -
KT-65647K2 ignores diagnostics on sourcelessFirTypeRefs -
KT-64489K2: Rename FirAugmentedArraySet -
KT-67394FIR: Make FIR repr of For from PSI and LightTree the same -
KT-66724K2 IDE. False positive errors because of wrong type inference in complex case of delegated property and type arguments -
KT-40248Confusing error message NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY -
KT-66947K2: false-positive JSpecify nullability enhancement warning on Java wildcard type argument with same base type but different nullabilities as upper and lower bounds -
KT-66974K2: false-negative JSpecify nullability enhancement warning on nullable projection of Java wildcard type argument with non-null bounds in out-position -
KT-66946K2: false-negative JSpecify nullability enhancement warning on Java wildcard type argument with nullable upper bound in out-position -
KT-66442K2: No visibility error on importing private aliases -
KT-66598K2: Allow comparisons,is-checks and casts between Kotlin and platform types -
KT-55966K2: Not enough information to infer type variable K if smartcast is used -
KT-64894OPT_IN_ARGUMENT_IS_NOT_MARKER diagnostic message is unclear -
KT-67019K2: IR has incorrect EQ origins for some inplace updating operators -
KT-59810K2: Support other ConstraintPosition-s -
KT-55383K1/K2: isClassTypeConstructor behaves differently for stub types -
KT-60089K2: Introduced ERROR_IN_CONTRACT_DESCRIPTION -
KT-60382K2: Refactor ExpectActualCollector -
KT-62929K2: investigate if guessArrayTypeIfNeeded is necessary in annotation loader -
KT-65642K2: IR: Array access desugaring doesn't have origins -
KT-24807No smartcast to Boolean in subject of when-expression when subject type is non-nullable -
KT-66057K2: incorrect supertype leads to class declaration being highlighted red -
KT-63958K2: drop support of UseBuilderInferenceOnlyIfNeeded=false -
KT-63959K2: treat stub types as non-nullable for isReceiverNullable check -
KT-65100IrFakeOverrideBuilder: support custom 'remove(Int)' handling logic in MutableCollection subclasses
Compose compiler
New features
-
cdfe659Changed 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. -
192e556Strong skipping is now enabled by default -
842a9e8Add support for default parameters in abstract and open @Composable functionsb/165812010
Fixes
-
e207b05Fixes group generation for if statements when nonSkippingGroupOptimization is enabledb/346821372 -
f64fc3aFixesendToMarkergeneration in early return from inline lambdas that caused start/end imbalanceb/346808602 -
d6ac8a5Stop memoizing lambdas with captured property delegatesb/342557697 -
f38d5a3Stop capturing parameter meta across crossinline boundaryb/343801379 -
770fe8dPropagate annotations from inferred function types when serializingb/345261077 -
3c67cdaFix memoization of captureless lambdas when K2 compiler is usedb/340582180 -
3281e53Allow memoizing lambdas in composable inline functionsb/340606661 -
b/351858979Fix stability inferencing of interfaces on incremental compilation -
b/346821372[Compose] Fix code generation for group optimization -
b/357878245Disallow open @Composable functions with default params to fix binary compatibility issues.
IR. Actualizer
-
KT-68830Compiler crash on missing actual class -
KT-69024K2: Children of expect annotation with@OptionalExpectationshould be actualized -
KT-68742Allow expect protected to Java protected actualization -
KT-66436K2. Actualizing modCount property with a field in AbstractMutableList -
KT-68741Support actualization of AbstractMutableList.modCount -
KT-68801Crash on access of fake override of function actualized by fake override -
KT-66307K2: property fake override isn't generated for protected field
IR. Inlining
-
KT-67208KJS: put ReplaceSuspendIntrinsicLowering after IR inliner -
KT-68100Run IR validation in the beginning and the end of the common prefix -
KT-69171Introduce a temporary-XCLI parameter that enables double-inlining -
KT-69006Enable IR visibility checks after IR inlining -
KT-69183IR inlining: properly handle defaults that depends on previous value parameters -
KT-67660Suspicious package part FQN calculation in InventNamesForLocalClasses -
KT-68558MoveInlineCallableReferenceToLambdaPhaseintoir.inlinemodule -
KT-56466Support non-local break/continue in IR inliner -
KT-64958KJS: Put as many as possible lowerings after the inliner -
KT-67297Implement IR deserializer with unbound symbols
IR. Interpreter
-
KT-66938Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expression: CALL 'public final fun less (arg0: kotlin.Int, arg1: kotlin.Int): kotlin.Boolean declared in kotlin.internal.ir'
IR. Tree
Performance Improvements
-
KT-67695ForLoopsLowering fails to handle a loop over an imprecise typed iterable
Fixes
- [
KT-68784](https://youtrack.jetbrains.com/issue/KT-68
Configuration
📅 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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.