Update kotlin monorepo to v2.0.0-Beta3 #78
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.0-Beta1
->2.0.0-Beta3
2.0.0-Beta1
->2.0.0-Beta3
Release Notes
JetBrains/kotlin (org.jetbrains.kotlin.multiplatform)
v2.0.0-Beta3
: Kotlin 2.0.0-Beta3Changelog
Analysis. API
Fixes
KT-62895
K2 IDE. FP'when' expression must be exhaustive
with sealed interface from libraryKT-64805
Analysis API: introduce common entry point for multi-file test casesKT-64714
K2: Analysis API: CollectionsKt.map doesn't resolves from Java in kotlin repoKT-64647
K2: Allow to calculate decompiled inheritors for sealed classes in testsKT-64595
AA: stackoverflow while simplifying a type with a recursive type parameterKT-64825
Analysis API. Cannot compute containing PSI for unknown source kind 'org.jetbrains.kotlin.KtFakeSourceElementKind$DefaultAccessor' exception on getContainingSymbol call for default setter parameterKT-64080
K2: Analysis API: On-air resolve does not trigger resolution of delegated super call argumentsKT-64243
K2: proper lazy resolution for fake overridesKT-62891
K2 IDE. FP [EXPOSED_FUNCTION_RETURN_TYPE] on overriding library method which returns protected typeKT-61890
Analysis API: Migrate KtFirScopeProvider to ContextCollector instead of onAirResolveKT-64197
K2: Code fragments are only supported in JVMKT-64604
K2: IDE K2: "Modules are inconsistent during performance tests"KT-62357
K2 IDE. False positive on generated component methods and false negative on getter of@JvmRecord
classes in JavaKT-62892
K2 IDE. Java outer class from other module is not resolved when nested class is accessed with fq name in a type positionKT-62888
K2 IDE. IDE infers reference toKMutableProperty
as reference to justKProperty
KT-64584
K2: StubBasedFirDeserializedSymbolProvider: support deserialization of delegated declarationsKT-60324
K2 IDE: "NoSuchElementException: List is empty at JavaOverrideChecker#buildErasure"KT-62896
K2 IDE. FP ABSTRACT_MEMBER_NOT_IMPLEMENTED on inheriting class from library which implements interface by delegationKT-62947
Analysis API: Error while resolving FirPropertyImplKT-64468
Analysis API: Implement mixed multi-module tests which support different kinds ofKtModule
sKT-63547
K2 IDE. False Positive AMBIGUOUS_ANNOTATION_ARGUMENTKT-62832
K2: ClassCastException: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatusKT-64205
Analysis API: Do not import non-top-level callables by defaultKT-63056
K2: Cannot mutate an immutable ImplicitReceiverValue on FirCodeFragment analysisKT-64108
K2: KtFirSymbolDeclarationOverridesProvider shouldn't provide fake overridesKT-63752
K2: java.lang.StackOverflowError FirFieldSymbol.getHasInitializerKT-63718
Analysis API: Stub-based dependency symbol providers of library source sessions compute the wrong package name setsKT-64186
Analysis API: ContextCollector provides incorrect scopes for anonymous objectsKT-63979
K2 IDE: presentation of types in completion is too verboseKT-63681
K2: LL FIR: Improve isResolved check coverage of after lazy resolutionAnalysis. Light Classes
KT-63087
K2 IDE: in .java source reference to JvmName names on unsigned type / value class are unresolvedKT-64605
K2 IDE: usage of@Repeatable
annotation in Java: false positive "Duplicate annotation"KT-64795
SLC: distinguish last v.s. non-lastvararg
value parameter type during binary resolutionKT-61605
K2 IDE: Light elements do not obey platform contractsKT-57536
SLC: no need to populate members withexpect
modifierKT-63949
K2 IDE. Analyze hang on@Autowired
constructor analysisKT-64320
Decouple kotlin psi from java PSIKT-64282
Decouple KotlinIconProviderService from java PSIApple Ecosystem
KT-63821
Copy framework to BUILT_PRODUCTS_DIR in the embedAndSign taskBackend. Wasm
KT-58852
WASM: two methods with different varargs: Class korlibs.template.dynamic.DynamicShape has 2 methods with the same signature [register(kotlin.Array)Compiler
New Features
KT-4113
Smart casts for properties to not-null functional types atinvoke
callsFixes
KT-64261
K2 / WASM: Extension function with star projection throws "RuntimeError: unreachable"KT-64877
K2: PCLA doesn't allow infer types from value parameter having TV typeKT-63932
K2/Native codegen test failures around builder inferenceKT-64222
K2: "return type is not a subtype of the return type of the overridden member"KT-57094
K1: wrong type inferred for an instance of a local class inside a generic propertyKT-62069
K2: ASSIGNMENT_TYPE_MISMATCH is reported in addition to NO_ELSE_IN_WHENKT-62776
FirLazyResolveContractViolationException: "lazyResolveToPhase(STATUS) cannot be called from a transformer with a phase TYPES" on Java annotation usageKT-60056
K2: Introduced UNRESOLVED_REFERENCEKT-59791
K2: Implement partially constrained lambda analysisKT-42020
Psi2ir: IllegalStateException: "IrSimpleFunctionPublicSymbolImpl for public [...] is already bound" on generic function whose substitution leads to IdSignature clashKT-64771
Investigate subtle FIR_DUMP difference for reversed order analysisKT-62584
K2: different signature in subclass of local class declared in extension value getterKT-64615
Inconsistent error messages for platform type nullability assertionsKT-59938
K2: Disappeared AMBIGUOUS_ACTUALSKT-64501
K2: False-positive WRONG_INVOCATION_KIND when using default argumentsKT-64640
Prevent mutating SequenceCollection methods from JDK 21 be available on read-only collectionsKT-63644
K2: Create special IR symbols for fake-overrides in fir2ir in mode with IR f/o generatorKT-62476
K2: Enable building fake overrides by ir on non-JVM targetsKT-63638
K2: Compiler crashes with "Inline class types should have the same representation"KT-36220
NI: false positive NON_APPLICABLE_CALL_FOR_BUILDER_INFERENCE if one use cannot resolveKT-64121
K2: Actual modifier is missed onoverride fun toString()
fro value class in nativeKT-63703
K2: Eliminate call to Candidate.usesSAM and samResolver.getFunctionTypeForPossibleSamType in AbstractConeCallConflictResolver.toTypeWithConversionKT-64435
K2: FIR2IR: Source offsets for data class members are inconsistent with PSI2IRKT-64090
K2: false-positive new inference error on invoking from another module a generic function on Java list type with wildcard type argument bounded by raw-typed Java inner classKT-64044
K2: Java mapped method should have a source from Java method, not from mapped Kotlin source classKT-46674
ClassCastException with smartcast ifplus
operator returns a different typeKT-59369
K2: Missing BUILDER_INFERENCE_STUB_RECEIVERKT-64644
K2: Compiler crash in FirTypeParameterBoundsCheckerKT-64312
K2: FirPropertySymbol.hasBackingField() always returns true for properties from other modulesKT-64420
K2: Wrong module descriptor for builtin classesKT-64127
K2: incorrect resolution of inherited members on Java classes inheriting classes from different packages in the presence of identically named classes in the same packagesKT-63446
IrFakeOverrideBuilder: AbstractMethodError due to missing bridge for generic method in a Java superclassKT-63441
IrFakeOverrideBuilder: "accidental override" when implementing a Java function taking an array parameterKT-63867
K2: Smartcast is allowed inside changing lambda with cyclesKT-63414
K2 / Contracts: false positive "Result has wrong invocation kind" when invoking a function returning a value with contract InvocationKind.EXACTLY_ONCE and try/finallyKT-63777
K2: Smartcast is allowed inside changing lambda with boundsKT-64059
K2: CYCLIC_INHERITANCE_HIERARCHY while using nested annotation in an outer class declarationKT-63528
K2: Missing UNNECESSARY_SAFE_CALL for warning level annotated java declarationsKT-64607
K2: extension functions on UInt and Number lead to JVM ClassCastExceptionKT-62816
K2: Annotation use site targets printing could be improved in diagnostics' messagesKT-62815
K2: FIR renderings leak through some diagnostics' messageKT-35289
Confusing warning message "Duplicate label in when"KT-49084
Contracts: error message is unclearKT-63228
K2: Upper bound violation diagnostic renders compiler internals about SourceAttributeKT-62386
K2: Proofread quotes in diagnostic messagesKT-64081
K2: Incorrect smartcast candidate calculation in MemberScopeTowerLevelKT-63994
K2: Investigate K2 failures in IntelliJ-Rust pluginKT-58767
Inheritance opt-in enforcement via@SubclassOptInRequired
can be avoided with type aliasesKT-63941
K2: "IllegalStateException: Unsupported compile-time value STRING_CONCATENATION" caused by class reference in string expression as annotation parameterKT-59818
K2: Explore the TODO about suspend functions overridden in Java in FirHelpersKT-63233
K2 : false negativeClass is not abstract and does not implement abstract member
with abstract suspend functionKT-63379
K2. Argument type mismatch on creating functional interface instance with function literal as an argument within
type projectionKT-64308
K2: prefer call with Unit conversion at lower level to one without Unit conversion at upper levelKT-64307
K2: prefer function with default arguments at lower level to one without them at upper level during callable reference resolveKT-64306
K2: prefer SAM at lower level to a functional type at upper levelKT-63827
K2: Array += desugaring doesn't have originKT-64341
Kotlin/JVM: Missing line number generation for intrinsic comparisonsKT-64238
Add proper documentation to theIdeCodegenSettings
classKT-63667
K2/KMP: exception when expect property matched to java fieldKT-63563
K2: False negative RETURN_TYPE_MISMATCH with empty returnKT-62525
K2: IllegalStateException: Can't find KotlinType in IrErrorType: IrErrorType(null)KT-57427
Fix inconsistencies in name manglers that use different declaration representationsKT-57755
K2/JVM: Fix computing a "signature" mangled name for themain
functionKT-63645
K2: Replace special f/o symbols with normal ones after actualizationKT-63076
K2: change in behavior for synthetic properties in Kotlin-Java hierarchyKT-63723
Frontend manglers improperly handle error typeKT-63738
K2: Some declarations are missing in the hierarchy of overridden symbolsKT-62242
K2: Uniformly treat enum entries as anonymous objectsKT-62281
K2: build DuckDuckGo Android user project and pass it to CIKT-60266
K2: origin is not set for FOR_LOOP_ITERATORKT-59875
K2: Disappeared UNRESOLVED_REFERENCE_WRONG_RECEIVERKT-62715
K2: Missing WASM_IMPORT_EXPORT_UNSUPPORTED_PARAMETER_TYPEKT-62723
K2: Missing WASM_IMPORT_ON_NON_EXTERNAL_DECLARATIONKT-62722
K2: Missing NESTED_WASM_IMPORTKT-62721
K2: Missing WASM_EXPORT_ON_EXTERNAL_DECLARATIONKT-62720
K2: Missing JS_AND_WASM_EXPORTS_ON_SAME_DECLARATIONKT-62719
K2: Missing NESTED_WASM_EXPORTKT-62718
K2: Missing WASM_IMPORT_EXPORT_UNSUPPORTED_RETURN_TYPEKT-62717
K2: Missing WASM_IMPORT_EXPORT_PARAMETER_DEFAULT_VALUEKT-62716
K2: Missing WASM_IMPORT_EXPORT_VARARG_PARAMETERKT-60225
K2: compiler FIR symbol resolution crash on a call to an extension function whose receiver contains a type parameter with a recursive upper boundKT-63530
K2: Disable passing data flow info from in-place lambdasKT-60958
K2: smart cast does not work with definite return from if blockKT-60090
K2: Introduced DEPRECATED_PARCELERKT-59949
K2: Disappeared DEPRECATED_PARCELERKT-61768
Wrong bytecode index in LineNumberTable when there is an incremental operationKT-64045
K2: "Expect declaration * is incompatible with actual" when function parameter names are differentKT-62018
K2: prohibit suspend-marked anonymous function declarations in statement positionsKT-63973
K2: "NoSuchElementException: Array is empty" with vararg used within tail recursive functionKT-63612
K2: Class is not abstract and does not implement abstract memberKT-61792
KMP: Backend error on@Deprecated
usage with DeprecationLevel.HIDDEN in K2KT-63709
K2: Argument smartcasting impacting receiver and call resolution for implicit invokeKT-57788
Fix computing mangled names of types with@EnhancedNullability
from IR-based declaration descriptorsKT-63249
K2: change in annotation resolve when ambiguousKT-63514
ISE “Inline class types should have the same representation: [I != I” during compilation on submitting UIntArray to varargKT-62553
K2: AddtopLevelClassifierPackageNames
to symbol name providersKT-64148
K2: class cast exception org.jetbrains.kotlin.fir.types.ConeStarProjectionKT-63665
K2: "NullPointerException" caused by class with the companion object and extra curly braceKT-59715
K2: Check behaviour of property + operator in operator positionKT-62347
Prohibit using property+invoke convention for delegated propertiesKT-59421
K2: Missing CONTEXT_RECEIVERS_WITH_BACKING_FIELDKT-59903
K2: Disappeared DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLEKT-62926
K2: IR has missing receivers during expect-actual matchingKT-62565
K2 cannot infer type parameters in case of expected functional typeKT-63328
K2: Top-level properties in scripts can be used while uninitializedKT-59683
K2: Add control flow graph to FirScriptKT-63524
K2: "Not enough information to infer type argument"KT-63835
K2: metadata compilation with constants is falling for NativeKT-60251
K2: delegated method are delegating to different methods in hierarchy compared to K1KT-63695
JVM: Don't use plugin extensions when compiling code fragmentKT-63574
K2: "IllegalStateException: IrFieldPublicSymbolImpl for java.nio/ByteOrder.LITTLE_ENDIAN"KT-60504
K2: difference between LL FIR and FIR in enhanced return type with annotationKT-64147
K2: Generate FIR diagnostics with explicit typesKT-63042
K2: proper processing of propagated annotationsKT-59368
K2: Missing SUBTYPING_BETWEEN_CONTEXT_RECEIVERSKT-64083
K2: "KotlinIllegalArgumentExceptionWithAttachments: Unexpected returnTypeRef. Expected is FirResolvedTypeRef, but was FirJavaTypeRef"KT-37308
No smart cast when the null check is performed on a child property through a function with a contractKT-59894
K2: Disappeared ANNOTATION_ARGUMENT_MUST_BE_CONSTKT-63329
K2: difference in SAM-conversion casts generationKT-64062
K2 IDE. NPE on typing nullable parameter in returnKT-58579
K2: false-positive new inference error on invoking a generic function on Java wildcard type bounded by raw-typed Java inner classKT-64031
K2: Revise naming in FirBuilderInferenceSessionKT-50453
Improve builder inference diagnostics with type mismatch due to chosen inapplicable overloadKT-56949
K2: Builder inference violates upper boundKT-63648
K2: values of postponed type variable don't introduce type constraints in extension receiver positions during builder-style type inferenceKT-64028
K2: Investigate questionable condition in FirBuilderInfernceSessionKT-63848
ReflectiveAccessLowering does not count arguments of super-callsKT-61920
K2: False negative CONST_VAL_WITH_NON_CONST_INITIALIZER when initializer is Java fieldKT-63508
K2: "IllegalArgumentException: Not FirResolvedTypeRef (String) in storeResult" caused by@Deprecated
Java function and typoKT-63522
K2: wrong context for delegated field typeKT-53308
TYPE_MISMATCH: Contracts on boolean expression has no effect on referential equality tonull
KT-51160
Type mismatch with contracts on narrowing sealed hierarchy fail to smart castKT-49696
Smart cast to non-null with inline non-modifying closures sometimes doesn't workKT-46586
SMARTCAST_IMPOSSIBLE when assigning value inside lambda instead of if expressionKT-41728
False positive no smart cast with unreachable code after return in if expressionKT-22904
Incorrect bytecode generated for withIndex iteration on ArrayIR. Actualizer
KT-58861
K2: Improve the new pipeline of FIR2IR conversion, IR actualization and fake-override generationKT-63347
K2: Fix overridden symbols inside LazyDeclarationsKT-62535
K2: FakeOverrideRebuilder can't handle f/o without overridden symbolsJavaScript
KT-61929
KJS: "IllegalStateException: No dispatch receiver parameter for FUN LOCAL_FUNCTION_FOR_LAMBDA" caused byrun
function in init blockKT-64366
KJS / K2: Exported declaration uses non-exportable return type: 'kotlin.?'KT-64426
K2: Implement JsIrLineNumberTestGenerated for K2KT-64422
K2: Implement IrJsSteppingTestGenerated for K2KT-64364
K2 / KJS:@JSExports
generates clashing declarations for companion objects that extends its own classKT-63038
Compilation of suspend functions into ES2015 generatorsKlibs
KT-64085
Different klib signatures for K1/K2 for overridden properties assigned in init blockKT-64395
API for ABI: Add a check for the file's existence to KLIB ABI ReaderKT-63573
K2: Dependency problems with dependencies with same artifact idKT-64082
Different klib signatures in K1/K2 for the same locally used constant declarationKT-63931
[K/N] Relative path to klib option of cinterop tool doesn't workKT-60390
KLIBs: Wrong IrSymbol is used for deserializedexpect
property's backing field & accessorsLibraries
KT-61969
Migrate kotlin-test to the current Kotlin Multiplatform PluginKT-64361
Optimization opportunity in Int.signKT-63157
Make sure that all deprecation levels are raised to ERROR for declarations intended for removal from kotlinx-metadataKT-64230
Prohibit writing versions of metadata that are too highNative
KT-61695
[K/N] Empty list error in FakeOverridesActualizer with K2KT-64508
IndexOutOfBoundsException in Konan StaticInitializersOptimizationNative. C and ObjC Import
KT-63049
NPE in BackendChecker.visitDelegatingConstructorCall compiling ObjC-interop classKT-59597
[K\N] Usage of instancetype in block return type crashesNative. ObjC Export
KT-62091
KMP for iOS framework with private api : __NSCFBooleanKT-64076
ObjCExport: Do not retain descriptors in stubsKT-64168
ObjCExport: Split header generator module into K1 and Analysis ApiKT-64227
ObjCExport: Extract Header Generation to base moduleNative. Runtime. Memory
KT-62689
Native: generate signposts for GC performance debuggingNative. Testing
KT-64256
IR_DUMP directive doesn't enforce FIR_IDENTICAL when it is possibleKT-62157
Native: Migrate FileCheck tests to new native test infraTools. CLI
KT-64013
CLI REPL: "com.sun.jna.LastErrorException: [14] Bad address" on invoking kotlinc from CLI on ARM MacTools. Compiler Plugin API
KT-64444
K2: IrGeneratedDeclarationsRegistrar.addMetadataVisibleAnnotationsToElement doesn't work for declarations in common moduleTools. Compiler Plugins
KT-33020
Support stripping debug information in the jvm-abi-gen pluginKT-64707
K2: Parcelize ignores@TypeParceler
set for typealiasTools. Compiler plugins. Serialization
KT-64447
K2: Implement Serialization...IrBoxTestGenerated for K2KT-64124
Different klib signatures in K1/K2 for a serializable classTools. Gradle
KT-64653
Add Kotlin DslMarker into Gradle plugin DSLKT-64251
KGP: Cannot re-use tooling model cache with Project Isolation due to "~/.gradle/kotlin-profile" changingKT-58768
Support configuration cache and project isolation for FUS statisticsKT-64379
Removekotlin.useK2
gradle propertyKT-62527
Gradle: get rid of theProject.buildDir
usagesKT-55322
Kotlin daemon: Cannot perform operation, requested state: Alive > actual: LastSessionTools. Gradle. Cocoapods
KT-57650
Gradle Cocoapods: use pod install --repo-update instead of pod installTools. Gradle. JS
KT-64561
K/JS tests are not executed after upgrade to 1.9.22KT-63435
KJS: Get rid of deprecated outputFileProperty of Kotlin2JsCompileTools. Gradle. Multiplatform
KT-56440
TCS: Gradle Sync: Add API to populate extras only during syncKT-63226
KGP Multiplatform Ide Dependency Resolution: Use gradle variants instead/in addition of ArtifactResolutionQueryTools. Gradle. Native
KT-62745
iOS application build is failing if script sandboxing option is enabled in XcodeKT-62800
CInteropProcess should not require .def file to existKT-62795
CInteropProcess task resolves cinterop def file eagerly, breaking Gradle task dependenciesTools. Incremental Compile
KT-63837
Implement baseline fix for common sources getting access to platform declarationsKT-64513
Simplify adding configuration properties to incremental compilationKT-21534
IC doesn't recompile file with potential SAM-adapter usageKT-63839
Measure impact of rebuilding common sources, using nightly IC benchmarksKT-64228
K2: After switching to LV20 branch incremental tests are not running on PSI anymoreKT-46743
Incremental compilation doesn't process usages of Java property in Kotlin code if getter is removedKT-60522
Incremental compilation doesn't process usages of Java property in Kotlin code if return type of getter changesTools. JPS
KT-55393
JPS: Java synthetic properties incremental compilation is brokenTools. Kapt
KT-64719
K2 KAPT Stub genertaion doesn't fail on files with syntax errorsKT-64680
Kapt: remove the flag to enable old JVM backendKT-64639
KAPT+JVM_IR: erased error types in JvmStatic and JvmOverloadsKT-64389
K2 KAPT generates invalid code for multiple generic constraintsKT-61776
K2: KAPT tasks fail with parallel gradleKT-64021
Kapt3 + Kapt4. NullPointerException: processingEnv must not be nullKT-64303
K2 KAPT: Kapt doesn't dispose resources allocated by standalone analysis APIKT-64301
K2 KAPT: Kapt doesn't report invalid enum value names to logKT-64297
K2 KAPT: Deprecated members are not marked with@java
.lang.DeprecatedTools. REPL
KT-18355
REPL doesn't quit on the first line after pressing Ctrl+D or typing :quitv2.0.0-Beta2
: Kotlin 2.0.0-Beta2Changelog
Analysis. API
Fixes
KT-62982
K2: Cannot get a PSI element for 'Enum.values'KT-59732
FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from serialisation pluginKT-61757
K2 IDE: resolution to buitlins does not work for from common moduleKT-62676
K2 IDE: Reference shortener does not recoginize redundant this referencesKT-63627
K2 IDE: shorten reference shortens required qualifierKT-62675
K2 IDE: Reference shortener does not recoginize redundant labelsKT-63771
fe10: KtNamedClassOrObjectSymbol#isInline does not cover value classesKT-62947
Analysis API: Error while resolving FirPropertyImplKT-60327
K2 IDE. "IllegalArgumentException: source must not be null" during delegation declarationKT-63700
K2: "FirLazyExpression should be calculated before accessing" in the case of secondary constructorKT-62111
K2 IDE. IllegalArgumentException on for loop with iterator declaration attemptKT-63538
Analysis API: Removing a contract statement viaPsiElement.delete()
does not trigger an out-of-block modificationKT-63694
K1/K2 IDE. "RuntimeException: Broken stub format, most likely version of kotlin.FILE (kotlin.FILE) was not updated after serialization changes" exception on incorrect class nameKT-63560
Analysis API: Modifiable PSI tests cannot rely on the cached application environment to allow write accessKT-62980
ImplementKtFirSimpleNameReference#getImportAlias
KT-63130
Analysis API: No receiver found for broken code during commit documentKT-60170
K2 IDE: CCE from KtFirCallResolver on invalid code with wrong implicit invokeKT-61783
K2: Analyze 'KtCodeFragment' in a separate sessionKT-62010
K2: IDE K2: "ConeClassLikeTypeImpl is not resolved to symbol for on-error type"KT-62957
Analysis API: NullPointerException on call resolution when builtins are not availableKT-62899
K2 IDE. IDE ignores@Suppress
annotation for errorsKT-62935
Analysis API:kotlin.Cloneable
should not be available in Kotlin/Native sourcesKT-62910
Analysis API: create AbstractFirPsiNativeDiagnosticsTest for LL FIRKT-63096
K2: Analysis API: KotlinAnnotationsResolver for IDE is created with incorrect scopeKT-63282
K2 Script: annotation arguments phase should resolve propagated annotationsKT-63223
Analysis API: reference to declarations with kotlin* package are not resolvedKT-63195
AA: incorrect results fromKtTypeProvider#getReceiverTypeForDoubleColonExpression
Analysis. Light Classes
KT-63552
Symbol Light Classes don't support arrayOf and similar without parameters in property initializers and default parameter valuesKT-63486
SLC: a lot of RAM is allocated inorg.jetbrains.kotlin.asJava.LightClassUtil.isMangled
Backend. Wasm
KT-62863
Execution failed for task ':kotlinx-serialization-properties:wasmJsD8Test' in serialization in the K2 QGCompiler
New Features
KT-22004
Allow to resolve CONFLICTING_OVERLOADS with Deprecated(HIDDEN)KT-61955
Support more wider actual member visibility, if the expect member is effectively finalFixes
KT-63695
JVM: Don't use plugin extensions when compiling code fragmentKT-59903
K2: Disappeared DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLEKT-62961
K2 / KMP: NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS with expect enum class and typealiasKT-59369
K2: Missing BUILDER_INFERENCE_STUB_RECEIVERKT-53749
Support builder inference restriction in FIRKT-59390
K2: Missing BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTIONKT-59887
K2: Disappeared ACTUAL_MISSINGKT-62885
Introduce a language feature entry for expect actual classes for easier configuration of MPP projectsKT-62589
K2: Investigate need of non-nullable IdSignature in Fir2IrLazyDeclarationsKT-63329
K2: difference in SAM-conversion casts generationKT-64062
K2 IDE. NPE on typing nullable parameter in returnKT-63761
K2: False positive "Unresolved reference" caused by object's parameter in enum class which is passed as annotation parameterKT-55252
Backend Internal error during psi2ir in native compile tasks (NPE in getKlibModuleOrigin)KT-50453
Improve builder inference diagnostics with type mismatch due to chosen inapplicable overloadKT-56949
K2: Builder inference violates upper boundKT-64028
K2: Investigate questionable condition in FirBuilderInfernceSessionKT-60031
K2: Introduced NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASSKT-63646
K2: "IllegalStateException: Return type of provideDelegate is expected to be one of the type variables of a candidate, but D was found"KT-59881
K2: Disappeared UNSUPPORTEDKT-64136
K2: NSME with Anvil compiler pluginKT-63448
K2: CONFLICTING_INHERITED_JVM_DECLARATIONS with@JvmField
KT-63865
K2: "IllegalArgumentException: Failed requirement." caused by lambda parameters with different type in init blockKT-62609
K2. Type argument inference changed for object of Java class with several common parentsKT-63081
Optimize new native caches: CachedLibraries.computeVersionedCacheDirectory()KT-63580
"AssertionError: access of const val: GET_FIELD" caused by const value and variable with delegationKT-63567
"NoSuchMethodError" on getting value of lazily initialized property by companion's const valueKT-63540
Restrict the CONFLICTING_OVERLOADS + DeprecatedLevel.HIDDEN ignore to final callablesKT-30369
Smartcasts from safe call + null check don't work if explicit true/false check is usedKT-30376
Smartcasts don't propagate to the original variable when use not-null assertion or cast expressionKT-30868
Unsound smartcast if smartcast source and break is placed inside square brackets (indexing expression)KT-31053
Nothing? type check isn't equivalent to null check is some placesKT-29935
Smartcasts don't work if explicit annotated true/false check is usedKT-30903
Smartcast to null doesn't affect computing of exhaustivenessKT-62847
K2: Introduce FIR node for SAM conversionKT-63564
K/Wasm: CompilationException with 2.0.0-Beta1KT-63345
K2: FIR2IR chooses an incorrect type for smartcast in case of SAM conversionKT-63848
ReflectiveAccessLowering does not count arguments of super-callsKT-61920
K2: False negative CONST_VAL_WITH_NON_CONST_INITIALIZER when initializer is Java fieldKT-63649
K2: Wild card in superclass confuses EXPANSIVE_INHERITANCE checkerKT-63569
K2: "IllegalStateException: ?!id:1" caused by private function callKT-63842
K2: some arguments of annotations on local declarations are unresolvedKT-63832
K2: missed context during annotation argument resolution for a type alias, init and property receiverKT-62559
KMP, K2: prevent reporting ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT twice in CLIKT-24652
Elvis with 'break' can produce unsound smartcasts in while-true loopKT-28508
Possible unsound smartcast in class initializerKT-28759
No not-null smartcast from direct assignment if it's split into declaration and value assignmentKT-28760
No not-null smartcast from direct assignment ofthis
KT-29878
Smartcasts from type check or null check don't work if explicit true check as reference equality is usedKT-29936
Smartcasts don't work if comparing with return value of some function and explicit true/false check is usedKT-30317
Smartcast doesn't work if smartcast source is used as an operand of the reference equalityKT-63071
K2 supports calling functions with the dynamic receiver overNothing?
KT-59896
K2: Disappeared WRONG_ANNOTATION_TARGETKT-56849
Implement K/Wasm K1 diagnostics in K2KT-31636
Expect-actual matching doesn't work for inner/nested classes with explicit constructor using typealiasesKT-63361
K2: Expected FirResolvedTypeRef for return type of FirDefaultPropertyGetter(SubstitutionOverride(DeclarationSite)) but FirImplicitTypeRefImplWithoutSource foundKT-63377
K2: conflict between type parameter and nested classKT-62913
Convert DEFAULT_ARGUMENTS_IN_EXPECT_ACTUALIZED_BY_FAKE_OVERRIDE to checking incompatibilityKT-63550
K2: fake-override in expect covariant override in actual. Move diagnostics from backend to frontendKT-63443
IrFakeOverrideBuilder: ISE "No new fake override recorded" when Java superclass declares abstract toStringKT-58933
Applying suggested signature from WRONG_NULLABILITY_FOR_JAVA_OVERRIDE leads to red codeKT-63600
K2: Duplicate WRONG_NULLABILITY_FOR_JAVA_OVERRIDEKT-63508
K2: "IllegalArgumentException: Not FirResolvedTypeRef (String) in storeResult" caused by@Deprecated
Java function and typoKT-63656
K2: "IllegalArgumentException: Local com/example/ should never be used to find its corresponding classifier"KT-63459
K2: OPT_IN_USAGE_ERROR is absent when calling the enum primary constructorKT-59582
OPT_IN_MARKER_CAN_ONLY_BE_USED_AS_ANNOTATION_OR_ARGUMENT_IN_OPT_IN on an annotation importKT-63732
K1: False positive OUTER_CLASS_ARGUMENTS_REQUIRED inside anonymous objectKT-60614
K2: Conflicting INVISIBLE_REFERENCE and UNRESOLVED_REFERENCE reported depending on FIR test for transitive friend module dependenciesKT-59983
K2: Disappeared IMPLEMENTATION_BY_DELEGATION_IN_EXPECT_CLASSKT-57044
K2 LL Tests: false-positive 'Overload resolution ambiguity between candidates: [@Override
() fun test(): Unit , fun test(): Unit]'KT-58028
K2: False-positive TYPE_PARAMETER_IS_NOT_AN_EXPRESSIONKT-62560
K2: KAPT4: annotation@ReplaceWith
is missing a default value for the element 'imports'KT-63068
K2 supports typeRef-name labelsKT-63642
JVM_IR: don't generate reflective access to getter/setter without propertyKT-62212
K2: require matching of suspend status for override checkKT-63597
JVM_IR: Properly handle type parameters of outer declaration in code fragmentKT-61282
K2: Incorrect overridden function forjava.nio.CharBuffer.get
KT-63317
K2: Disallow generic types in contract type assertionsKT-59922
K2: Disappeared CANNOT_CHECK_FOR_ERASEDKT-63241
IJ monorepo K2 QG: backward-incompatible compiler ABI change leads to run-time failures of Fleet's kotlinc pluginsKT-59988
K2: Disappeared TYPE_ARGUMENTS_NOT_ALLOWEDKT-59936
K2: Disappeared ARGUMENT_PASSED_TWICEKT-63522
K2: wrong context for delegated field typeKT-63454
Properly check that inline fun is in the same module as callee inIrSourceCompilerForInline
KT-59951
K2: Disappeared NO_TYPE_ARGUMENTS_ON_RHSKT-63535
K2: Apply DFA implications for nullable Nothing to both sidesKT-62727
K2: Missing JSCODE_UNSUPPORTED_FUNCTION_KINDKT-62726
K2: Missing JSCODE_WRONG_CONTEXTKT-62725
K2: Missing JSCODE_INVALID_PARAMETER_NAMEKT-62314
Make usages of JavaTypeParameterStack safeKT-60924
FIR2IR: Get rid of all unsafe usages of IrSymbol.ownerKT-57949
FIR: SignatureEnhancement: mutation of java enum entryKT-59908
K2: Disappeared RECURSIVE_TYPEALIAS_EXPANSIONKT-62724
K2: Missing WRONG_JS_FUN_TARGETKT-62856
K2: Don't create IR declaration when its symbol is accessed in fir2irKT-61329
K2: Review for diagnostic messages reported by CLI arguments processingKT-60604
K2: introduced NON_PUBLIC_CALL_FROM_PUBLIC_INLINE,@PublishedApi
needed for constants in annotationsKT-63286
K2: Top-level properties in scripts are missing initialization checksKT-62711
Incorrect ParsedCodeMetaInfo instancesKT-63122
K2: Improve 'EVALUATION_ERROR' messagesKT-63164
K2/JVM: compiler codegen crash on invisible property IllegalStateException: Fake override should have at least one overridden descriptorKT-62352
jspecify NonNull annotation seems not supportedKT-56614
K2: Incorrect overload resolution with SAM typesKT-62783
K2: False positive CAST_NEVER_SUCCEEDS when casting nullable expression to it's non-nullable generic base classKT-47931
FIR DFA: smartcast not working forif (x!=null || x!=null && x!=null) {}
KT-62735
K2: Disappeared EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETERKT-62733
K2: Disappeared WRONG_EXTERNAL_DECLARATIONKT-62734
K2: Disappeared INLINE_EXTERNAL_DECLARATIONKT-62618
K2: Fix theensureAllMessagesPresent
testKT-60312
K2: CCE “class [I cannot be cast to class java.lang.Number ([I and java.lang.Number are in module java.base of loader 'bootstrap')” on using IntArray as varargKT-61362
K2: Properties/fields are missing from system librariesKT-52432
Using the IDE compiled with K2 (useFir) throws VerifyError exceptionKT-59825
K2: Fix the TODO aboutwasExperimentalMarkerClasses
inFirSinceKotlinHelpers
KT-26045
False positive DUPLICATE_LABEL_IN_WHEN for safe callsKT-63094
K2: Exception from fir2ir during conversion data class with property of dynamic typeKT-59822
K2: Fix the TODO in FirConstChecksKT-59493
Definitely non-nullable types have type inference issues with extension functionsKT-63396
K2: property from companion object are unresolved as an annotation argument in type parameterKT-62925
K2: Disappeared EXPOSED_FUNCTION_RETURN_TYPE for package-private and type argsKT-63430
IrFakeOverrideBuilder: VerifyError on calling a function with a context receiver from a superclassKT-62420
K2: Remove ConeClassifierLookupTag from ConeTypeVariableTypeConstructorKT-59998
K2: Disappeared OPT_IN_MARKER_CAN_ONLY_BE_USED_AS_ANNOTATION_OR_ARGUMENT_IN_OPT_INKT-53308
TYPE_MISMATCH: Contracts on boolean expression has no effect on referential equality tonull
KT-51160
Type mismatch with contracts on narrowing sealed hierarchy fail to smart castKT-49696
Smart cast to non-null with inline non-modifying closures sometimes doesn't workKT-46586
](https://youtrack.jeConfiguration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.