Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kotlin monorepo to v1.9.0 #6258

Merged
merged 4 commits into from Jul 7, 2023
Merged

Update kotlin monorepo to v1.9.0 #6258

merged 4 commits into from Jul 7, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jetbrains.kotlin:kotlin-reflect (source) 1.8.22 -> 1.9.0 age adoption passing confidence
org.jetbrains.kotlin:kotlin-stdlib-jdk8 (source) 1.8.22 -> 1.9.0 age adoption passing confidence
org.jetbrains.kotlin:kotlin-main-kts (source) 1.8.22 -> 1.9.0 age adoption passing confidence
org.jetbrains.kotlin:kotlin-gradle-plugin-api (source) 1.8.22 -> 1.9.0 age adoption passing confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 1.8.22 -> 1.9.0 age adoption passing confidence
org.jetbrains.kotlin:kotlin-compiler-embeddable (source) 1.8.22 -> 1.9.0 age adoption passing confidence
org.jetbrains.kotlin:kotlin-compiler (source) 1.8.22 -> 1.9.0 age adoption passing confidence

Release Notes

JetBrains/kotlin (org.jetbrains.kotlin:kotlin-reflect)

v1.9.0: Kotlin 1.9.0

Changelog
Analysis API
New Features
  • KT-57930 Analysis API: provide an API for extending Kotlin resolution
  • KT-57636 K2: Add the return type of K2 reference shortener AA ShortenCommand::invokeShortening() e.g., ShorteningResultInfo to allow callers to access the shortening result PSI
Fixes
  • KT-58249 Analysis API: Disable error logging for FE10 implementation of resolveCall when resolve is not successful
  • KT-55626 Impossible to restore symbol by psi from script file
  • KT-57314 LL FIR: Combine LLFirProvider$SymbolProviders in session dependencies (optimization)
  • KT-55527 K2 IDE: Rewrite KtScopeContext class to allow to handle each scope separately
  • KT-55329 LL FIR: Unexpected ACTUAL_WITHOUT_EXPECT error on constructor and function declaration
  • KT-50732 LL API: fix compiler based tests
  • KT-57850 K2: contract violation due to SymbolLightAccessorMethod.propertyAccessorSymbol
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to
  • KT-56721 K2: FirExtensionDeclarationsSymbolProvider: java.lang.IllegalStateException: Recursive update
  • KT-50253 Analysis API: Solve issues with ProcessCancelledException
  • KT-56800 K2 IDE: optimize deprecation calculation for symbols
  • KT-55006 Analysis API does not transform Java type refs for callable symbol return types
  • KT-57256 AA FIR: Reduce lazy resolve phase for deprecation status
  • KT-57619 K2: CFG for class initializer is not correctly built in reversed resolve mode
  • KT-58141 K2: AA FIR: impossible to restore symbol for declaration with annotation with argument inside type
  • KT-57462 Symbol Light Classes: SymbolLightFieldForProperty should retrieve annotations not from KtPropertySymbol, but from the corresponding backing field
  • KT-54864 Analysis API: add function to get expect KtSymbol list by actual KtSymbol
  • KT-56763 Analysis API: .KtSourceModuleImpl is missing in the map. on symbol restore when symbol cannot be seen from the use-site module
  • KT-56617 Analysis API: optimize KtFirSymbolProviderByJavaPsi.getNamedClassSymbol
  • KT-54430 K2: .getAllOverriddenSymbols() returns invalid results
Backend. Native. Debug
  • KT-55440 Kotlin/Native debugger: inline function parameters are not visible during debugging
Backend. Wasm
  • KT-58293 Wasm: ReferenceError: e is not defined in kotlin.test.jsThrow
  • KT-58931 Wasm tests are failing to start on Kotlin 1.9.0-Beta
  • KT-58188 Restore binary compatibility of PlatformDiagnosticSuppressor.shouldReportUnusedParameter
  • KT-57136 K/Wasm: Restrict non-external types in JS interop
  • KT-57060 Clarify the lack of support for dynamic in Kotlin/Wasm
  • KT-56955 K/Wasm: Support restricted version of K/JS js(code)
  • KT-57276 Wasm: "Body not found for function" error when compiling konform library with Kotlin/Wasm support
  • KT-56976 K/Wasm bug with calling override of external function with default parameters
Compiler
New Features
  • KT-55333 Allow secondary constructors in value classes with bodies
  • KT-54944 @Volatile support in native
  • KT-54746 Deprecate with ERROR JvmDefault annotation and old -Xjvm-default modes
  • KT-47902 Do not propagate method deprecation through overrides
  • KT-29378 K2: rework warnings/errors for equality/identity operators on incompatible types
  • KT-57477 False-positive overload resolution ambiguity in case of lambda without arguments
  • KT-57010 Kotlin/Native: make it possible to compile bitcode in a separate compiler invocation
  • KT-55691 K2: Avoid inferring Nothing? in presence of other constraints (beside type parameter bounds)
  • KT-46288 Unexpected behavior of extension function on lambda with suspend receiver
  • KT-24779 Inconsistent smart cast behavior for bound data flow values
Performance Improvements
  • KT-23397 Optimize out field for property delegate when it's safe (JVM)
  • KT-56906 FIR: Use cached instance of FirImplicitTypeRefImpl in FIR builders
  • KT-56276 LanguageVersion.getVersionString() allocates 5k objects on project opening
Fixes
  • KT-57784 "NullPointerException: Parameter specified as non-null is null:" with enum, companion object, 'entries' and map
  • KT-55217 K2: support callable reference conversions on top-level expressions
  • KT-57232 K2: build Space JVM (master)
  • KT-59079 "AE: SyntheticAccessorLowering should not attempt to modify other files!" with callable reference to constructor with value class parameter
  • KT-58837 Partial linkage fails to report any compiler message on Windows when launched through Gradle plugin
  • KT-57602 K2: Rework member scope of types having projection arguments for covariant parameters
  • KT-55171 Put new contracts syntax under a feature flag
  • KT-58719 K2: false-positive INVISIBLE_REFERENCE error in case of importing an internal abstract class
  • KT-56030 [K2/N] Support Objective-C overloading by param names only
  • KT-57510 K2: Data class equals/hashCode/toString methods are not written to Klib metadata
  • KT-56331 K2: compiler backend crash on usage of expected function with default arguments
  • KT-53846 K2 / Context receivers: ClassCastException on secondary constructor of class with context receiver
  • KT-58621 K2: Private class shadows public function defined in the same package
  • KT-59102 K2: constant evaluator does not provide Long type on shl
  • KT-59066 [K2] delegation leads to "IllegalStateException: Expected some types"
  • KT-56074 K2: build Space JVM (snapshot 2022.3)
  • KT-58787 KAPT: "NullPointerException: null cannot be cast to non-null type" with delegate
  • KT-57022 K2 IllegalStateException in signature computation
  • KT-56792 K2: build kotlinpoet
  • KT-57373 K2: FIR properties synthesized when implementing interface by delegation don't have accessors
  • KT-56583 K1: Implement opt-in for integer cinterop conversions
  • KT-59030 [PL] Workaround for broken @Deprecated annotations in c-interop KLIBs
  • KT-58618 K2: Local property delegates cannot infer generic return type
  • KT-36770 Prohibit unsafe calls with expected @NotNull T and given Kotlin generic parameter with nullable bound
  • KT-56739 K2: build Space iOS
  • KT-57131 K2: stdlib test compilation fails on ListTest.kt in FirJvmMangleComputer
  • KT-58137 K2: ISE "Usage of default value argument for this annotation is not yet possible" when instantiating Kotlin annotation with default parameter from another module
  • KT-58897 K2: False positive unresolved reference with same-named enum class and its entry
  • KT-40903 Forbid actual member in expect class
  • KT-30905 Expect var property with default public setter matches with actual var property with private setter
  • KT-56172 K2: Fix reporting of PRIVATE_CLASS_MEMBER_FROM_INLINE error
  • KT-56171 Implement deprecation warning for missing PRIVATE_CLASS_MEMBER_FROM_INLINE error
  • KT-27261 Contracts for infix functions don't work (for receivers and parameters)
  • KT-56927 Enum with secondary constructor can't be compiled with K2 using JS/Native backend
  • KT-53568 Partial linkage: absent class as type parameter bound causes failure of compileProductionExecutableKotlinJs
  • KT-53608 Partial linkage: Kotlin/JS fails with IllegalStateException: "Validation failed in file" when overridden declaration was visible, but now private
  • KT-53663 Partial linkage: usage of property which becomes abstract: no IrLinkageError, but AssertionError in Native backend instead
  • KT-56013 K2. a set of errors about local properties are missing
  • KT-53939 Partial linkage: with turning object into class linkNative and jsTest tasks fail
  • KT-53938 Partial linkage: with turning interface into class and using as second parent Native build fails
  • KT-53941 Partial linkage: with turning class into object accessing member via parameterless constructor does not fail
  • KT-53970 Partial linkage: on turning nested class into inner JS tasks are successful, Native build fails
  • KT-53971 Partial linkage: turning inner class into nested: without usage in executable Native is successful, JavaScript fails
  • KT-53972 Partial linkage: turning inner class into nested: with usage in executable Native fails with NPE in backend
  • KT-54045 Partial linkage: turning class into type alias + calculating implicit function type: build fails with UninitializedPropertyAccessException: "lateinit property parent has not been initialized"
  • KT-54046 Partial linkage: turning type alias into class + using it as type: build fails with AssertionError: "Expected exactly one delegating constructor call but none encountered"
  • KT-53887 Partial linkage: turning from enum to regular class + reference to enum contant causes compileProductionExecutableKotlinJs fail with IllegalStateException
  • KT-54047 Partial linkage: reference to removed enum const causes JS fail with "IllegalStateException: Validation failed in file"
  • KT-54048 Partial linkage: reference to removed enum const in runtime causes Native fail with IllegalStateException at IrBindablePublicSymbolBase.getOwner()
  • KT-53995 Partial linkage: on turning class to abstract and direct constructor call Naive fails, JavaScript is successful
  • KT-43527 @ExtensionFunctionType is allowed on function types with no parameters and leads to backend exception
  • KT-55316 K2. IllegalStateException on incorrect import directive name
  • KT-57570 Remove source code excerpts from platform type nullability assertion exceptions
  • KT-56073 K2: build Exposed
  • KT-47932 Report errors on cycles in annotation parameter types
  • KT-38871 Kotlin Gradle DSL, MPP: UNUSED_VARIABLE when configuring a sourceset with delegated property
  • KT-46344 No error for a super class constructor call on a function interface in supertypes list
  • KT-56609 K2: False positive NULL_FOR_NONNULL_TYPE with -Xjsr305=strict and @Nullable annotation Java parameter
  • KT-56656 K1/K2: inconsistent NOTHING_TO_OVERRIDE with complex nullable annotations
  • KT-58332 K2: local fun with suspend type is not marked as suspend in IR
  • KT-57991 K2: Modifier 'suspend' is not applicable to 'anonymous function'
  • KT-54294 K2: "Not all type variables found" in builder inference with type parameters inferred through a union of two branches
  • KT-58564 [PL] Annotations with unlinked parameters are not removed
  • KT-52597 Provide Alpha Support for Multiplatform in the K2 platform
  • KT-58523 K2: reference is resolved to imported type-alias instead of identically named top-level property
  • KT-57098 Native: avoid object initialization while accessing const val
  • KT-57973 32-th default value in inline classes override function is not used
  • KT-57714 "IllegalStateException: <B::!>" using reified generics
  • KT-57810 toString of object erroneously considered as constant function in string concatenation
  • KT-58076 K2: Incorrect inference of type of labeled receiver
  • KT-57929 K2: Arguments of annotations are not calculated in a lot of strange locations
  • KT-54874 K2. No compilation error with incorrect Comparator invocation
  • KT-55388 Consider enabling ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated
  • KT-53041 NPE in Kotlin 1.7.0 when using RxJava Maybe.doOnEvent with anonymous parameters
  • KT-54829 Cleanup local types approximation logic
  • KT-58577 K2: private Kotlin property prevents use of Java set-method from Java-Kotlin-Java hierarchy in another module
  • KT-58587 MUST_BE_INITIALIZED must take into account effectivelly final
  • KT-58524 K2: false-positive overload resolution ambiguity error on invoking a generic class's member function with id-shaped function-typed parameter on intersection-typed receiver
  • KT-53929 Enum.entries: consider changing scope behavior in K1
  • KT-58520 K2: FIR2IR: ISE during const evaluation of operator times with exposed
  • KT-57905 K1: resolution to base class's Java field instead of derived class's Kotlin property is not deprecated in case of different types
  • KT-56662 K1: false negative INVISIBLE_SETTER for a var with internal setter accessed from a derived class
  • KT-57770 K2: Support generation of serializer if base class for serializable class declared in different module
  • KT-58375 Kapt: "wrong number of type arguments. required 1" when more than 22 type arguments
  • KT-48870 [FIR] Different behavior for explicit receiver resolution inside delegated constructors
  • KT-58013 K2: "Not enough information to infer type variable T" when using assert non-null (!!) and delegation
  • KT-58365 K2: Fix stub types leakage in builder inference caused by implicit receiver type update with partially resolved calls (IGNORE_LEAKED_INTERNAL_TYPES for stub types)
  • KT-58214 Continuation parameter only exists in lowered suspend functions, but function origin is LOCAL_FUNCTION_FOR_LAMBDA
  • KT-58030 K2/MPP/JVM: compiler backend crash on super-call to indirectly inherited Java method
  • KT-58135 K2: Priority of extension property is lower than ordinary property
  • KT-57181 [K1/N, K2/N] Expect and Actual funs have different IdSignature.CommonSignature, if Expect has default argument
  • KT-58219 K2/MPP/metadata: false-positive invisible reference error in Native-shared source set
  • KT-58145 K2/MPP/metadata: compiler FIR crash on inheritance of a generic class with property by actual-class from Native-shared source set
  • KT-56023 Constant operations (e.g. division) are not constant in K2 (JS, Native)
  • KT-57354 In suspend function default arguments are sometimes not deleted in IR
  • KT-55242 K2/MPP: basic build/link functionality
  • KT-57979 K2: Unresolved reference error when assigning to Java synthetic property with a different nullability getter
  • KT-57543 K2 reports DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE
  • KT-58142 K2: val parameter with more specific type is lower priority
  • KT-48546 Missed TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM error at plus-assign
  • KT-57854 RECEIVER_TYPE_MISMATCH on synthetic property from mutually recursive Java generics with disabled ProperTypeInferenceConstraintsProcessing
  • KT-54518 False negative NON_PUBLIC_CALL_FROM_PUBLIC_INLINE when calling internal method of super class
  • KT-58025 K2: Argument type mismatch when using Springs HandlerMethodArgumentResolver
  • KT-58259 Unexpected unresolved function call with obvious invoke-convention desugaring
  • KT-57135 K2: Fir should take into account an annotation's allowed targets as well as the use-site target when deciding whether it applies to a property, a field, or a constructor parameter
  • KT-57069 K2: Method kind in metadata is DECLARATION when DELEGATION is used in K1
  • KT-57958 K2: Initializer type mismatch when using extension property on type with star projection
  • KT-58149 K2: New inference error with buildList
  • KT-58008 K2: "Cannot find cached type parameter by FIR symbol: T" on suspend function with generic and nested class
  • KT-57835 K2: compiler crash on lambda with dynamic receiver
  • KT-57601 K2: Builtin function extensionToString can't be accessed
  • KT-57655 K2: ImplicitIntegerCoercion is not working for named arguments
  • KT-58143 K2: overload resolution ambiguity inside dynamic lambda
  • KT-58132 K2: Implicit int constant to long converion crashes FirSerializer
  • KT-57378 Partial linkage: Run codegen box tests for Native & JS with enabled PL
  • KT-58207 K2: Handle result of completion of synthetic call with callable reference argument
  • KT-56549 K2: Reference to Java sealed class fails to compile
  • KT-57994 K2: Type inference failed on function reference
  • KT-58099 interop0 test fails with error "type kotlin.String? is not supported here: doesn't correspond to any C type"
  • KT-57671 Synthetic $EntriesMappings declaration is public and generated even for enums from current module on IC
  • KT-56517 K2: Reference to Java record fails to compile: "unresolved reference", "Overload resolution ambiguity between candidates"
  • KT-58163 FIR: deserialized default property setter and getter must have FirResolvePhase.ANALYZED_DEPENDENCIES phase
  • KT-55646 K2: Report definitely non-nullable as reified error
  • KT-58043 k2: Expect call is not removed from IR with nullability-based overload
  • KT-56442 K2: Make sure K2 has the same behavior for defaults with overrides as K1 has
  • KT-55904 Fix tests for volatile annotation on K2
  • KT-57928 K2: Arguments of annotations on constructor value parameter are not calculated
  • KT-57814 K2: Argument type mismatch with delegating property
  • KT-56490 Implement deprecation for an anonymous type exposed from inline functions with type argument
  • KT-57781 K2: Generated serializer is invisible in a non-JVM test source set
  • KT-57807 K2: Symbol already bound exception for arrayOf function from IrBuiltInsOverFir
  • KT-57962 K2: No set method providing array access on dynamic
  • KT-57353 K2: unresolved reference when using fully qualified object declaration name as an expression, when a declaration package is from another klib and has at least two name segments
  • KT-57899 K2: compiler FIR2IR crash on anonymous object with inheritance by delegation to value of smart-casted type parameter
  • KT-57988 K2: compiler exception on get operator on dynamic this
  • KT-57960 K2: incorrect type inference in lambda with dynamic receiver
  • KT-57923 K2: Optional expectation annotation crashes const evaluator
  • KT-56511 K1: false negative SMARTCAST_IMPOSSIBLE when alien constructor property is accessed from a private class
  • KT-58033 K2 reports Constructor must be private or protected in sealed class in actual sealed class if its constructor has own actual declaration
  • KT-58061 K2: false-positive unsupported feature error on callable references to Java methods from annotation interfaces
  • KT-55079 Refactor DiagnosticReporterByTrackingStrategy and fix some "diagnostic into black hole" problems
  • KT-57889 K2: false-positive lack of information for inline function's type parameter in case of builder-style inference from caller function's return expression
  • KT-57961 K2: Unresolved reference using dynamic lambda parameter
  • KT-57911 K2: Contracts are not inherited by substitution overrides
  • KT-57880 K2: false-positive argument type mismatch due to lambda receiver shadowing labeled outer lambda receiver when assigning lambda to variable
  • KT-57986 K2: NPE on building Space
  • KT-57873 K2: compiler FIR serialization crash on builder-style inference from lambda's return type
  • KT-57941 K2: Assertion error on loading serializable class with non-serializable property compiled with K1 compiler
  • KT-57947 K2: Incorrect resolution results when property type for invokeExtension is not inferred
  • KT-58002 K2: compiler FIR serialization crash on platform type with type-targeted Java annotation with Java enum as argument
  • KT-57263 K2/MPP/JVM: compiler codegen crash on expect-property as default argument for expect-function's parameter
  • KT-56942 K2: False-negative NO_ELSE_IN_WHEN if subject is flexible type
  • KT-56687 Unexpected behaviour with enum entries when using outdated stdlib
  • KT-56398 K2/MPP: compiler backend crash on inheritance from expected interface
  • KT-57806 K2: string interpolation as annotation parameter causes error
  • KT-57611 K2: Annotation arguments are not evaluated
  • KT-56190 [K2/N] Const initializers are not serialized to klib
  • KT-57843 K2: Missing diagnostic when calling constructor through typealias whose expansion has a deprecation
  • KT-57350 FIR: deprecation diagnostic is not reported on a super class call
  • KT-57532 K2: IrActualizer doesn't handle properties overloaded by extension receiver correctly
  • KT-57776 K2: Suppressing "INVISIBLE_REFERENCE" leads to AssertionError: Unexpected IR element found during code generation
  • KT-57769 [K2] Load properties in proper order for classes compiled with kotlinx.serialization and LV < 2.0
  • KT-57879 K2: compiler FIR serialization crash on passing Java constants as arguments to type-targeted annotations
  • KT-57893 K1/K2 inconsistency on smart casts of internally visible properties in friend modules
  • KT-57876 K2: stack overflow in compiler FIR deserialization on nested type-target annotation class used in enclosing class
  • KT-57839 K2: Compiler crash on lambda returning anonymous object with implemented lambda
  • KT-57822 K2: Can't refer to external interface from class literal
  • KT-57809 K2: No value passed for parameter of external class
  • KT-56383 Build intellij master with LV 1.9
  • KT-57735 K2: MPP: K2 reports hides member of supertype and needs 'override' modifier for the function with @PlatformDependent annotation when there is an empty linux target in project
  • KT-55056 Builder inference causes incorrect type inference result in related call
  • KT-57689 K2: Unresolved reference to nested typealias in KLIB
  • KT-57665 K2: incorrect resolution of dynamic type
  • KT-57381 K2/MPP/Native: impossible to override Any::equals with non-external function
  • KT-57654 K2: Lambda with receiver deserialized as lambda without receiver during metadata compilation
  • KT-57662 K2: The error message is poorly formatted and not precise in case of NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS error and @Suppress is used
  • KT-57763 FirExtensionRegistrar extension point broken
  • KT-57312 K2: IR interpreter fails on string interpolation with const val from a klib involved
  • KT-57768 Don't decompile code to search for annotation arguments
  • KT-55628 Diagnostics for kotlin.concurrent.Volatile annotation applicability
  • KT-55860 K2. [CONFLICTING_INHERITED_MEMBERS] for inheritor of a class with overloaded generic function
  • KT-53491 K2: Implement "Operator '==' cannot be applied to 'Long' and 'Int'" error
  • KT-55804 K2: UNSAFE_CALL Non-nullable generic marked as nullable even if non-null asserted
  • KT-57682 K2: Incorrect composing of signatures for calls on dynamic types
  • KT-55405 K2: false-negative INVISIBLE_REFERENCE in import directives
  • KT-54781 K2: no error on unresolved import statement with more than one package
  • KT-57635 K2/MPP: Expect constructors are not considered as expect during metadata deserialization
  • KT-57376 K2/MPP: false-positive K/JS diagnostic in absence of K/JS target when sharing a source set between K/JVM and K/Native
  • KT-55902 K2: Support ImplicitIntegerCoercion annotation
  • KT-56577 Migrate Native KLIB ABI compatibility tests to K2
  • KT-56603 [K2/N] Segfault invoking fun from binary compatible klib
  • KT-57457 K2: the error message is not quite informative in case of EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERROR
  • KT-57568 K2: K2, Native reports overload resolution ambiguity
  • KT-57446 K2: Adapter function reference is not generated inside when expression
  • KT-54894 K2: False positive RETURN_TYPE_MISMATCH on function which returns a functional type with @UnsafeVariance argument
  • KT-57001 K2 compilation fails due to nullabillity subtyping not working properly
  • KT-57271 Delay forbidding inference to an empty intersection to version 2.0
  • KT-57209 K2: type parameters are available in companion object scope
  • KT-50550 False positive NO_ELSE_IN_WHEN with annotated when branch condition
  • KT-57431 K2 MPP JS: Compiler crash on transitive common dependencies
  • KT-57456 K2 reports uninitializied variable in enum class when variable is used in lambda and defined in companion object
  • KT-57583 K2/MPP/JS&Native: FIR2IR compiler crash on reference to Any method inherited by expect-classifier
  • KT-56336 [K2/N] Multiplatform test fails with unexpected "actual declaration has no corresponding expected declaration" compiler error
  • KT-57556 K2: Rename error 'This API is not available after FIR'
  • KT-23447 Integer.toChar compiles to missing method
  • KT-46465 Deprecate and make open Number.toChar()
  • KT-49017 Forbid usages of super or super if in fact it accesses an abstract member
  • KT-56119 BinaryVersion.isCompatible binary compatibility is broken
  • KT-57369 K2/MPP: supertypes established in actual-classifiers from other source sets are not visible
  • KT-55469 [K2/N] equals(Double,Double) and equals(Boolean,Boolean) are not found
  • KT-57250 K2: the metadata is serialized for an expect class even if the actual class is present when compiling to klib
  • KT-56660 K2/MPP: compiler backend crash on invoking a K/Common constructor in K/JS code
  • KT-55055 K1: Builder inference violates upper bound
  • KT-57316 Initialize Enum.entries eagerly: avoid using invokedynamics
  • KT-57491 Kotlin synthetic parameter looks ordinary
  • KT-56846 K2: incorrect line & symbol numbers in exception reporting
  • KT-56368 K2/MPP: compiler backend crash on missing actual declaration
  • KT-57104 K2: false-positive conflicting inherited JVM declarations error despite use of @JvmName in another module
  • KT-56747 [K2/N] Return type for lambda: (Any) -> Any which returns Unit is different for K1 and K2 and return statement is missing with K2
  • KT-57211 K2: incorrect "error: an annotation argument must be a compile-time constant" on unsigned array in annotation argument
  • KT-57302 K2 fails with IllegalStateException on reading inherited property of Java enum
  • KT-57424 K2 IDE: "By now the annotations argument mapping should have been resolved" exception
  • KT-57241 K2 MPP: Actualization doesn't work for actual enum that has primary constructor with arguments
  • KT-57210 K2 MPP: Support of arguments with dynamic type
  • KT-57182 K2 MPP: Actualization doesn't work for nested objects
  • KT-56344 K2: Implement correct errors reporting of IrActualizer
  • KT-54405 K2 compiler allows val redeclaration
  • KT-54531 [K2] Uncaught Runtime exception is thrown instead of user friendly error messages with details in case -no-jdk option set to true
  • KT-56926 K2: incorrect line number generated for class constructor or method with default parameter when comment before
  • KT-56913 K2: Incorrect line numbers in overriden field getters and setters
  • KT-56982 K2: Incorrect line number start in when expression
  • KT-56720 K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTED in case of delegation in diamond inheritance
  • KT-57175 K2: false-positive INVALID_TYPE_OF_ANNOTATION_MEMBER on type aliases
  • KT-25694 Fix reporting of uninitialized parameter in default values of parameters
  • KT-57198 K2: false-positive type mismatch error on inherited raw-typed class with type parameters in upper bounds of other type parameters
  • KT-15470 Inconsistency: use-site 'set' target is a compilation error, use-site 'get' target is ok
  • KT-57179 FIR: preserve prefix increment behavior like in K1 by calling getter twice
  • KT-57405 K2. Function call ambiguity error when nullable String is passed to function with Spring @Nullable annotation in signature
  • KT-57284 K2: compiler codegen crash at property initialization in constructor after smartcast of dispatch receiver to indirectly derived type
  • KT-57221 K2: compiler FIR2IR crash on function's unavailable cached type parameter
  • KT-57036 Unresolved reference: with inferred type of class constructor with extension parameter
  • KT-56177 K2: FIR should not generate annotation on both property and parameter
  • KT-54990 NI: Type mismatch when encountering bounded type parameter and projections
  • KT-57065 K2: overload resolution ambiguity between type-aliased constructor and identically named function
  • KT-49653 Deprecate and remove Enum.declaringClass synthetic property
  • KT-57190 K2: false-positive unsafe call error on safe call on type-aliased nullable receiver in SAM-conversion
  • KT-57166 K2: false-positive val reassignment error when synthetic property with implicitly typed overridden getter is called from implicitly typed member that is declared earlier
  • KT-55828 [K2/N]: Fix test fails in OPT mode : Internal compiler error: no implementation found ... when building itable/vtable
  • KT-56169 False negative deprecation warning about future inference error with builder inference
  • KT-56657 K1/K2: inconsistent behavior in nullability mismatch (Guava hash set/map)
  • KT-57105 K2: compiler codegen crash at property initialization in constructor after smartcast
  • KT-56379 K2: build tests for the Kotlin standard library
  • KT-56079 K2: build YouTrack 2022.3
  • KT-57092 K2: false-positive multiple inherited implementations error
  • KT-56696 K2: Allow to access uninitialized member properties in non-inPlace lambdas in class initialization
  • KT-56354 K2/MPP: unresolved references to library entities
  • KT-57095 K2: false-positive lack of type arguments error on raw cast of Base<*> to Derived: Base<T?>
  • KT-56630 FIR: ClassCastException on compilation hierarchy with a raw type
  • KT-57171 K2: Implement bytecode tests
  • KT-57214 K2: compiler FIR crash on annotation usage before annotation class declaration
  • KT-57204 K2: callable reference to mutable property of inherited by delegation superinterface isn't properly resolved
  • KT-57195 K2: false-positive VAR_TYPE_MISMATCH_ON_OVERRIDE on changing property's platform type to non-nullable type when overriding
  • KT-56814 K2. PsiElement is null inside IrClass. As a result ClassBuilder defineClass gets null as origin
  • KT-54758 Deprecate ClassBuilderInterceptorExtension.interceptClassBuilderFactory and provide another method without dependency on K1
  • KT-57253 K2: clean up callable reference logic in FIR2IR
  • KT-56225 K2. "BackendException: Backend Internal error: Exception during IR lowering" error on incorrect constructor in inline class
  • KT-56769 K2. Annotation applicability is ignored during compilation when there's use-site @target
  • KT-56616 K2: cannot infer Java array type properly
  • KT-57247 K2: false-positive INVALID_TYPE_OF_ANNOTATION_MEMBER on type-aliased vararg property
  • KT-57206 K2: false-positive val reassignment error on synthetic property from generic class with overridden getter but not setter
  • KT-56519 K2: Compiler crash on a function reference on companion receiver that inherits from outer class
  • KT-56506 K1/K2 inconsistency: VAL_REASSIGNMENT on synthetic setter with different nullability
  • KT-56877 K2: false-positive UNRESOLVED_LABEL for labeled this-expression in contract description
  • KT-56863 K2: false-positive property initialization analysis errors after smartcast
  • KT-56864 K2: Unexpected behavior with default parameter inheritance and function reference
  • KT-56665 K2: false positive RECURSIVE_TYPEALIAS_EXPANSION
  • KT-53966 K2 does not support SAM conversions with condition into Java/Kotlin functional interfaces
  • KT-56659 FIR: Increment operator on object leads to exception from resolve
  • KT-56771 FIR: Increment operator on qualified expressions leads to exception from resolve
  • KT-56759 K2: False-positive UNRESOLVED_REFERENCE on labeled desctructuring declaration in LT mode
  • KT-56548 K2: false positive overload resolution ambiguity for Java record constructor
  • KT-56476 K2: false positive NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY at inline fun use-site
  • KT-56138 K2: Illegal conversion of lambda with parameters to ExtensionFunction expected type
  • KT-56448 K2: False-positive unsafe call due to incorrect inference of smartcasted type
  • KT-55966 K2: Not enough information to infer type variable K if smartcast is used
  • KT-57168 K2: compiler FIR2IR crash on synthetic property from generic class with overridden getter but not setter
  • KT-56876 K2: false-positive UNRESOLVED_REFERENCE for name of nested class in contract description
  • KT-57194 K2: overload resolution doesn't prioritize Double over Float
  • KT-57067 Warning about expect/aсtual in the same module doesn't take into account absence of 'actual' modifier
  • KT-56954 K2: function literals can be passed as arguments to parameters with kotlin.reflect function types
  • KT-55423 K2: Implement CONTRACT_NOT_ALLOWED
  • KT-56923 K2: no line number in bytecode when ASTORE exception in catch
  • KT-56829 K2: compiler FIR2IR crash on passing to function a callable reference to nested class's constructor with default arguments
  • KT-57029 Per-file caches fail on local inline function in an inline function
  • KT-57085 K2: @Suppress is sensitive to its argument's case
  • KT-57103 K1: AssertionError: Mismatching type arguments: 0 vs 1 + 0 when calling inline function with callable reference to generic synthetic property
  • KT-57033 Make KtClassLiteralExpression stub based
  • KT-57035 Make KtCollectionLiteralExpression stub based
  • KT-40857 Invalid parameterized types for extension function on parameterized receiver when javaParameters=true
  • KT-56154 Compiler backend crash on reference to Java synthetic property from generic class
  • KT-56692 StackOverflow in PrivateInlineFunctionsReturningAnonymousObjectsChecker
  • KT-55879 Modularized tests: fir.bench.language.version is used as API version, not language version
  • KT-51821 ClassCastException on anonymous fun interface implementation when unrelated vararg is used
  • KT-56820 K2: compiler FIR crash on Java field access after smartcast
  • KT-56579 [K2/N] IR actualizer crashed with K2 on expect annotation marked with @OptionalExpectation, without actual.
  • KT-56750 K2: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER" when calling typealias method reference
  • KT-55614 K2: consider serializing static enum members (values/valueOf/entries) to match K1 behavior
  • KT-30507 Unsound smartcast if null assignment inside index place and plusAssign/minusAssign is used
  • KT-56646 K2: "IllegalStateException: No single implementation found for: FUN FAKE_OVERRIDE" when compiling a functional interface
  • KT-56334 K2: can't call expected function with default arguments
  • KT-56514 K2 should report ACTUAL_TYPE_ALIAS_NOT_TO_CLASS
  • KT-56522 K2 should report ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTS
  • KT-56910 Exception during IR lowering: Cannot determine lineNumber of element FUN name:cancelProgress
  • KT-56542 K2: false positive TOO_MANY_ARGUMENTS in VarHandle.set call
  • KT-56861 FIR: test FirPluginBlackBoxCodegenTestGenerated.testClassWithAllPropertiesConstructor is failing with runtime error
  • KT-56234 K2: "ISE: Expected value generated with NEW" with inline prope

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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 6, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jul 7, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@detekt-ci
Copy link
Collaborator

detekt-ci commented Jul 7, 2023

Warnings
⚠️ It looks like this PR contains functional changes without a corresponding test.

Generated by 🚫 dangerJS against 07d62f6

@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

Merging #6258 (07d62f6) into main (0209143) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #6258   +/-   ##
=========================================
  Coverage     84.42%   84.43%           
- Complexity     4001     4005    +4     
=========================================
  Files           568      568           
  Lines         13447    13449    +2     
  Branches       2379     2379           
=========================================
+ Hits          11353    11355    +2     
  Misses          939      939           
  Partials       1155     1155           
Impacted Files Coverage Δ
...turbosch/detekt/rules/style/ForbiddenMethodCall.kt 93.87% <100.00%> (+0.26%) ⬆️

@3flex 3flex merged commit e740d85 into main Jul 7, 2023
23 checks passed
@3flex 3flex deleted the renovate/kotlin-monorepo branch July 7, 2023 02:11
@3flex 3flex added the notable changes Marker for notable changes in the changelog label Jul 7, 2023
@3flex 3flex added this to the 2.0.0 milestone Jul 7, 2023
@cortinico cortinico added the pick request Marker for PRs that should be ported to the 1.0 release branch label Jul 15, 2023
cortinico pushed a commit to cortinico/detekt that referenced this pull request Jul 15, 2023
* Update kotlin monorepo to v1.9.0

* Update compiler plugin checksum

* Update detekt-api API definition

https://kotlinlang.org/docs/whatsnew19.html#stable-replacement-of-the-enum-class-values-function

* Workaround JetBrains/kotlin@f91e1fa

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matthew Haughton <3flex@users.noreply.github.com>
mgroth0 pushed a commit to mgroth0/detekt that referenced this pull request Feb 11, 2024
* Update kotlin monorepo to v1.9.0

* Update compiler plugin checksum

* Update detekt-api API definition

https://kotlinlang.org/docs/whatsnew19.html#stable-replacement-of-the-enum-class-values-function

* Workaround JetBrains/kotlin@f91e1fa

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matthew Haughton <3flex@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api dependencies Pull requests that update a dependency file notable changes Marker for notable changes in the changelog pick request Marker for PRs that should be ported to the 1.0 release branch rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants