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:
1.5.1
->1.6.2
1.9.0
->1.9.21
1.9.0
->1.9.21
1.9.0
->1.9.21
0.4.0
->0.5.0
0.3.5
->0.3.6
1.7.2
->1.7.3
1.7.2
->1.7.3
1.7.2
->1.7.3
1.7.2
->1.7.3
1.7.2
->1.7.3
1.9.0
->1.9.21
1.9.0
->1.9.21
Release Notes
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
v1.6.2
==================
This is a patch release accompanying Kotlin 1.9.21. It also provides additional targets that were not available in 1.6.1:
wasm-wasi and (deprecated) linuxArm32Hfp.
v1.6.1
==================
This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.
Trailing commas in Json
Trailing commas are one of the most popular non-spec Json variations.
A new configuration flag,
allowTrailingComma
, makes Json parser accept them instead of throwing an exception.Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas.
See details in the corresponding PR
Support of WasmJs target
Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries.
Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more
functionality.
As usual, just add serialization dependencies to your build
and declare wasmJs target.
Please remember that Kotlin/Wasm is still experimental, so changes are expected.
Bugfixes and improvements
v1.6.0
==================
This release contains all features and bugfixes from 1.6.0-RC plus some bugfixes on its own (see below).
Kotlin 1.9.0 is used as a default, while 1.9.10 is also supported.
Bugfixes
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-stdlib)
v1.9.21
Compiler
KT-62885
Introduce a language feature entry for expect actual classes for easier configuration of MPP projectsKT-63081
Optimize new native caches: CachedLibraries.computeVersionedCacheDirectory()Docs & Examples
KT-55619
DocumentString.format
functionIDE. Gradle Integration
KT-62877
Artifact files collecting for project configuration was finished. Resolution for configuration configuration X will be skippedIDE. Gradle. Script
KT-60813
Scripts: NoSuchMethodError: 'void org.slf4j.Logger.error(java.lang.String, java.lang.Object)' when dependency uses Slf4j APIJavaScript
KT-60785
KJS: Destructured value class in suspend function fails with Uncaught TypeError: can't convert to primitive type errorKT-63207
KMP / JS: "TypeError: <mangled_name> is not a function" with 1.9.20KT-62778
package.json "main" field has .js extension when the result files have .mjs extensionKT-61795
KJS: Incremental Cache is not invalidated ifuseEsClasses
compiler argument was changedKT-61957
KJS: "Uncaught ReferenceError: entries is not defined" caused by enum class with@JsExport
and Enum.entries callKT-62444
KJS with commonJS modules should re-export in 1.9.20KT-63184
KJS / Serialization: JsExport on serializable interface creates erroneous TypeScriptKT-62190
KJS: "IllegalStateException: Expect to have either super call or partial linkage stub inside constructor" caused by Compose and useEsModules()KT-58685
KJS: "IllegalStateException: Not locked" cused by "unlock" called twiceKlibs
KT-62515
Interop klib of concurrent version is not accepted when building dependent project: "The library versions don't match"Tools. CLI
KT-63139
Incorrect kotlin implementation version (1.9.255-SNAPSHOT) in metadata infoTools. Gradle
KT-63499
Gradle: Source sets conventions are still registeredTools. Gradle. JS
KT-59523
MPP / KJS: ESM modules uses incorrect file extension on package.json (.mjs)Tools. Gradle. Kapt
KT-63366
Kapt processing fails with custom source setsTools. Gradle. Multiplatform
KT-32608
Create JUnit-XML result file in multiplatform gradle buildKT-63315
Wasm gradle plugin DSL is invalid for parameterless wasmWasi methodKT-63338
[KMP] metadata task fails to find cinterop classes from dependency projectsKT-63044
KGP: Multiplatform - 8.4 configuration cache supportKT-63011
Apple Framework Artifacts is not connected to KotlinNativeTaskKT-62601
AS/IntelliJ exception after updating a KMP project with a macos target to Kotlin 1.9.20-RCTools. Incremental Compile
KT-61590
K2/KMP: Expect actual matching is breaking on the incremental compilationTools. JPS
KT-63594
ClassCastException in JPS statisticsKT-63651
Fix NPE in Kotlin JPS after enabling graph implementation of JPSTools. Kapt
KT-57389
KAPT3 uses a Javac API for JCImport which will break in JDK 21KT-60507
Kapt: "IllegalAccessError: superclass access check failed" using java 21 toolchainTools. Scripts
KT-54819
Scripts: Not able to use slf4j in .main.ktsKT-61727
Scripts: Maven artifacts resolution is slowv1.9.20
Analysis. API
New Features
KT-58834
Analysis API: Add source shadowing feature to resolve extensionsPerformance Improvements
KT-57515
LL FIR: Performance bottleneck inCompositeModificationTracker.getModificationCount
KT-59266
K2: optimize FirElementBuilder.getOrBuildFir for elements outside bodyKT-59454
K2: drop resolve from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59453
K2: completion regression from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59189
Analysis API: KtFirKDocReference.resolveToSymbols is slowKT-58125
K2: LL FIR:KtToFirMapping.getElement
is slow forKtUserType
s due to on-air resolution of typesFixes
KT-59240
K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from superTypesKT-58499
K2: FirLazyBlock should be calculated before accessingKT-57966
K2: Analysis API: Reference Shortener does not work correctly when called on entire fileKT-60954
K2: Analysis API: Reference shortener does not work correctly with variable assignmentsKT-60940
K2: Analysis API: Reference shortener incorrectly handles types in vararg parameters declarationsKT-60488
Analysis API: forbid providing custom KtLifetimeToken for every analyze callKT-60728
K2: proper support for scripts in LL FIR transformersKT-59159
K2 IDE: declaration is not found exceptionKT-59297
K2: exception from body resolve leads to corrupted state and broken analysisKT-59077
KtFirExpressionTypeProvider behaviour for KtSimpleNameReferences in function callsKT-60586
K2: forbid analyze from write actionKT-57743
K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependenciesKT-61026
K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolveKT-61009
K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-60357
K2 IDE. Reified types parameters are not resolved in a function bodyKT-60317
K2 IDE. IAE "This method will only work on compiled declarations, but this declaration is not compiled" on invoking Find Usages for enum method in libraryKT-60706
K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-commonKT-60552
K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformerKT-60641
Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missingKT-60638
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-54846
Analysis API: add isExpect/isActual to KtSymbolKT-60448
FirLazyResolveContractViolationException:lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS)
cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen pluginKT-59342
K2 IDE. FirLazyResolveContractViolationException:lazyResolveToPhase(TYPES)
cannot be called from a transformer with a phase TYPESKT-59687
K2: Implement proper body update for in-block modificationsKT-59329
Resolve Extensions reference resolution breaks Find UsagesKT-60295
K2: move checkIsResolved for annotations from LLFirAnnotationArgumentsLazyResolver to LLFirTypeLazyResolverKT-59758
K2: Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImplWithoutSource from ReturnTypeCalculatorWithJumpKT-60377
K2 IDE: This method will only work on compiled declarations, but this declaration is not compiledKT-59685
K2: rewrite on-air resolutionKT-60132
K2: properties and functions without a name should be re-analyzable as wellKT-59199
K2 IDE: PSI changes which do not cause OOB modifications can be unseen from the FIR elementsKT-59667
Analysis API: PsiInvalidElementAccessException from JavaClassifierTypeImpl.substitutorKT-59705
KotlinExceptionWithAttachments: No fir element was found for getterKT-59697
AA standalone: JRT module paths are not properly populated in WindowsKT-59505
K2: implicit type lazy resolution doesn't work for delegated declaration from other moduleKT-56426
K2 IDE: Typealised functional types cannot be renderedKT-59598
AA: stackoverflow while simplifying a type with a recursive type parameterKT-58497
K2: Expected FirResolvedTypeRef for initializer type of FirPropertyImpl(Source) but FirImplicitTypeRefImplWithoutSource foundKT-59511
AA standalone mode creates Application Environment for testsKT-58161
Analysis API: Make methods inKtCallResolverMixIn
more distinctive based on their receiver/return typeKT-59093
Do not throw exception on KtCall resolution,KtCallElement.resolveCall
should returnnull
on unknown casesKT-59243
K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from permits typesKT-58194
K2: Low Level API: use smart pointers to store references to PSI from FIR declarations for JavaElementKT-59133
K2: java.lang.IllegalStateException: Fir is not initialized for FirRegularClassSymbolKT-58174
K2: LL FIR: Invalid type reference for T & Any typeKT-52615
LL FIR: build RAW FIR only by stubsKT-55053
K2: Exception "lateinit property diagnostic has not been initialized" in FirBuilderKT-58580
K2: LL FIR: Declarations provided by resolve extensions from a dependency module are not visible throughLLFirCombinedKotlinSymbolProvider
KT-58992
Analysis API: move org.jetbrains.kotlin.analysis.api.fir.utils.addImportToFile out of Analysis APIKT-58727
K2: AA FIR: implicit type in delegated function treated as errorKT-58653
K2: Analysis API: add functions for KtScope members access by nameKT-57559
K2 IDE: KotlinExceptionWithAttachments: Modules are inconsistent on intellij projectKT-58262
Analysis API: Declarations from Analysis API Resolve Extensions are not seen from completionKT-57455
LL FIR: CombineAbstractFirDeserializedSymbolProvider
s in session dependencies (optimization)KT-57207
LL FIR: CombineJavaSymbolProvider
s in session dependencies (optimization)KT-58546
K2: LL FIR: support name collision in a designation pathKT-58495
K2: Lazy calculation is redundantKT-58500
K2: null cannot be cast to non-null type org.jetbrains.kotlin.fir.FirPureAbstractElementKT-58493
K2: Expected FirResolvedTypeRef for default value type of FirValueParameterImpl(Source) but FirUserTypeRefImpl foundKT-58496
K2: Expected FirNamedReference, FirErrorNamedReference or FirFromMissingDependenciesNamedReference, but FirExplicitSuperReference foundKT-58491
K2: Expected FirResolvedTypeRef or FirImplicitTypeRef for return type of FirDefaultPropertyBackingField(Synthetic) but FirUserTypeRefImpl foundKT-56550
LL FIR: implement parallel resolve for non-jumping phasesKT-58503
Analysis API: KtFirNamedClassOrObjectSymbol.visibility/modality do not trigger STATUS resolveKT-57623
K2 IDE: ConcurrentModificationException from getSuperConeTypesKT-58083
K2: LL FIR: implement FakeOverrideTypeCalculatorAndroid
KT-27170
Android lint tasks fails in Gradle with MPP dependencyBackend. Native. Debug
KT-61131
Virtual functions trampolines have invalid debug infoBackend. Wasm
Fixes
KT-60244
K/Wasm: make the compiler compatible with Wasm GC phase 4 (Final) specificationKT-61262
K/Wasm: add a way to turn on k2 in wasm examples that don't use composeKT-61343
K/Wasm: add a wasi example to kotlin-wasm-examplesKT-62147
[Kotlin/Wasm] Nothing typed when expression cause a backend errorKT-59720
K/Wasm: update to final opcodesKT-60834
K/Wasm: investigate consequences of stopping usingbr_on_cast_fail
KT-59294
WASM: localStorage Cannot read properties of undefined (reading 'length')KT-60835
K/Wasm: fix compatibility with Node.js 20.*KT-60113
K/Wasm: illegal cast when using 1.9.20-devKT-60496
Compose-web Wasm crashes on remember { null } callsKT-58746
K/Wasm: Make Arrays' constructors with size and lambda inline (similar to other implementations)KT-58993
[K/Wasm] Fix w3c declarations with lambda parametersKT-59722
K/Wasm: Support new encoding with flags for br_on_cast and br_on_cast_fail instructionsKT-59713
K/Wasm: Implement enumEntries intrinsicKT-59082
WASM: NullPointerException caused by companion with String type constantsKT-58941
WASM Hang with extension delegate inside a ClassKT-60200
K/Wasm: generate types without supertypes properlyKT-52178
IR dump doesn't seem to work for Kotlin/WASM phasesKT-59556
Wasm: critical dependency when using with webpackKT-58681
K/Wasm: division remainder has a wrong signKT-56711
Wasm: IllegalStateException caused by dynamic typeCompiler
New Features
KT-58551
KMP: check all annotation from expect declaration are present on actualKT-58554
KMP: restrict expect opt-in annotations and actual typealiases to annotations with special meaningKT-58545
KMP: prohibit implicit actualization via JavaKT-58536
KMP: prohibitexpect tailrec
/expect external
KT-59764
Make a frontend checker that reports cast to forward declaration as uncheckedKT-60528
Updates for JVM/IR backend of kotlin-atomicfu-compiler-pluginKT-59558
Add support for creating annotation instances with type parametersKT-52367
Devirtualization algorithm improvementKT-58652
Native: Implement frontend checkers for HiddenFromObjC on classesPerformance Improvements
KT-59600
K2: CFG: do not add edges to nested classes and functionsKT-57860
K/N: Functions with default arguments of value/inline class types have poor performance due to value class boxingFixes
KT-60387
K2: IDE K2: "org.jetbrains.kotlin.fir.expressions.impl.FirArgumentListImpl cannot be cast to class org.jetbrains.kotlin.fir.expressions.impl.FirResolvedArgumentList"KT-61228
False positive MUST_BE_INITIALIZED_OR_FINAL_OR_ABSTRACT_WARNING for effectively final propertiesKT-61643
"Argument type mismatch" for mixed Java/Kotlin Project with Java 21KT-62389
JDK 21: Cannot access class 'TimeUnit'. Check your module classpath for missing or conflicting dependenciesKT-56768
K2. No error description on incomplete try catch declarationKT-52220
FIR + LightTree - Consider building a single tree on parsing into LightTreeKT-60601
K2 / Maven: Overload resolution ambiguity between candidates inline methodKT-62027
"java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0" caused by ClassicExpectActualMatchingContext.kt when annotation@AllowDifferentMembersInActual
usedKT-62747
Wrong warning message when overriding vararg with Array during actualizationKT-62655
Don't report a warning when new members and new supertypes are added to open expect actualizationKT-62313
Kotlin/Native Compiler crash: ClassCastException in IntrinsicGeneratorKT-60902
visibility vs upper bound expect actual matching conflictKT-61095
K2: "IAE: source must not be null" from FirMultipleDefaultsInheritedFromSupertypesCheckerKT-47567
'Val cannot be reassigned' error not reported in unreachable codeKT-59468
K2: build realm-kotlinKT-62026
KMP: Correctly handle a case when annotation on expect declaration is unresolvedKT-59476
K2: build ClashForAndroidKT-59487
K2: build KSP-playgroundKT-47409
K1/K2: Investigate and align inference for equality (==) operatorKT-59393
K2: Missing TYPE_ARGUMENTS_FOR_OUTER_CLASS_WHEN_NESTED_REFERENCEDKT-62127
"NoSuchFieldError: TRUE$delegate" on referencing companion's variable in submoduleKT-62335
Improve debuggability of code generator crashesKT-61165
More than one overridden descriptor declares a default value for 'cause: Throwable?'. As the compiler can not make sure these values agree, this is not allowedKT-62263
Turn "different expect/actual members" error into a warningKT-59969
K2: Disappeared UNSUPPORTED_CONTEXTUAL_DECLARATION_CALLKT-61616
K2:IrBuiltIns.extensionToString
fails during native compilationKT-59377
K2: Missing CALL_TO_JS_MODULE_WITHOUT_MODULE_SYSTEMKT-61645
K2/KMP: Set stdlib-native before stdlib-commonMain in dependencies for shared native metadata compilationKT-61924
Native: problem with abstract fake override from AnyKT-61933
K2: "Argument type mismatch: actual type is 'Foo<kotlin/Function0<kotlin/Unit>>' but 'Foo<kotlin/coroutines/SuspendFunction0<kotlin/Unit>>' was expected
"KT-59471
K2: build multiplatform-settingsKT-56077
K2: build kotlinx.atomicfuKT-59465
K2: build kotlinx-datetimeKT-60824
K2 IDE: FirSyntheticCallGenerator: IAE: List has more than one elementKT-61856
K2: "KotlinIllegalArgumentExceptionWithAttachments" on usage of javax.validation.constraints.Email.ListKT-54792
Store program order of properties inside@kotlin
.MetadataKT-56083
K2: build ktorKT-23861
Expect annotation should not be applicable wider than the actual oneKT-59466
K2: build kotlinx-benchmarkKT-60830
KMP, K2: expect actual annotation IR checker doesn't unwrap actual typealiases to annotationsKT-61668
Put expect/actual diagnostics introduced in 1.9.20 release under 1.9 Language VersionKT-61725
KMP: Annotation matching requirement for expect/actual leads to errors for annotations with@OptionalExpectation
KT-47892
False negative BREAK_OR_CONTINUE_OUTSIDE_A_LOOP withcontinue
ininit
block insidefor
KT-61784
KMP: [DEFAULT_ARGUMENTS_IN_EXPECT_WITH_ACTUAL_TYPEALIAS] checker missed for companion functionsKT-61173
K2: FirProperty.hasBackingField is true for an expect valKT-59743
K2: erroneous binding of typealias with two type parameters to a class with one type parameterKT-60650
KMP: prohibit problematic actual typealiasesKT-61461
K2: Kotlin native metadata compilation breaks when stdlib is present in -librariesKT-61270
Enabling Kotlin/Native caching causes 65K warnings from dsymutil when building Compose iOS appKT-58229
K2/MPP/JVM: compiler codegen crash on call of inherited generic class's method with actual-typealias as value parameterKT-47702
Support call of Java annotation constructor without specifying a default valueKT-56460
K2: Do not re-run DiagnosticCollectorVisitor from FirInlineDeclarationChecker.checkChildrenWithCustomVisitorKT-55933
K2: False negative Overload resolution ambiguity for call functions with named parameters if one of params is varargKT-59548
FIR2IR: inconsistent generation of dispatch receiver for object methodsKT-55072
K2: False positive "suspension point is inside a critical section"KT-58778
JVM IR inline: add fake variables for debuggerKT-59404
K2: Missing EXPECT_TYPE_IN_WHEN_WITHOUT_ELSEKT-59830
K2. False negative [FINAL_SUPERTYPE] on extending final class through type aliasKT-60580
K2: Not supported: class org.jetbrains.kotlin.fir.types.ConeFlexibleTypeKT-59391
K2: Missing JS_BUILTIN_NAME_CLASHKT-59392
K2: Missing NAME_CONTAINS_ILLEGAL_CHARSKT-58360
Intrinsics for atomic update of array elementsKT-59165
K2: Prohibit class literals with empty left-hand sideKT-60427
K2@Metadata
annotations contain outerType/outerTypeId information for non-inner nested classesKT-59376
K2: Missing TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_ERRORKT-55221
K2: No error reported for self-referencing local function with inferred return typeKT-59586
K2: support JVM backend diagnostics in light tree modeKT-57780
K2: Calling a constructor through a deprecated typealias doesn't report a deprecationKT-59110
K2. "NotImplementedError: An operation is not implemented." error on incorrect@Target
annotationKT-59249
K2: Empty varargs are not serialized to KLIBKT-55373
K2. Unresolved reference error for type mismatch with callable referencesKT-55955
K2: callable references are not properly resolved when in conflict with expected typeKT-60144
JVM IR inline: backport primitive boxing in class literalsKT-60779
K2: missing INTERFACE_CANT_CALL_DEFAULT_METHOD_VIA_SUPERKT-60587
K2: Implement warning NO_REFLECTION_IN_CLASS_PATHKT-61145
False negative NOTHING_TO_OVERRIDE when context receivers don't matchKT-59378
K2: Missing FINITE_BOUNDS_VIOLATION and FINITE_BOUNDS_VIOLATION_IN_JAVAKT-61163
Default params on actual check and inheritance by delegation compilation errorKT-60800
[atomicfu-K/N]: turn on the tests for the K/N part of the compiler pluginKT-61029
K2: Duplicates when processing direct overridden callablesKT-55196
K2: False-negative CONST_VAL_WITH_NON_CONST_INITIALIZER on boolean .not() callKT-60862
Kotlin Scripting: NoSuchMethodError for ExternalDependenciesResolver.addRepositoryKT-57963
K2: MPP: Annotation calls should be actualizedKT-60854
K2: IrActualizer incorrectly generates fake overrides for synthetic java propertiesKT-59665
ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTS isn't reported for actual typealias and fake-override actualizationKT-61039
False positive ABSTRACT_MEMBER_NOT_IMPLEMENTED in K1 when expect actual super types scopes don't matchKT-61166
Inherited platform declaration clash & accidental overrideKT-60531
K2/JS: Report diagnostics before running FIR2IRKT-32275
Embedding kotlin-compiler-embeddable into a Java EE App leads to CDI related deployment errorKT-57845
K2. Unresolved reference error on calling Java references with fully qualified nameKT-58757
K2: False-positive NON_PUBLIC_CALL_FROM_PUBLIC_INLINE error in case an inline fun is protected and is a part of an internal abstract class declarationKT-59736
kotlinx.serialization + K2 + JS: e: java.lang.IllegalStateException: Symbol for kotlinx.serialization.json.internal/FormatLanguage.|-547215418288530576[1] is unboundKT-59071
K2/MPP: internal declarations from common module are invisible in dependent source sets if there is more that one intermediate source set betweenKT-61167
Runtime failure: ReferenceError: MyPromise is not definedKT-59408
K2: Missing MULTIPLE_DEFAULTS_INHERITED_FROM_SUPERTYPESKT-61409
Kotlin/Native: crash in kmm-production-sample (compose-app) with escape analysis enabledKT-57329
K/N IR linkage issues due to the combination of static caches w/ Lazy IR & Compose compiler pluginKT-59247
Kapt+JVM_IR: AssertionError on anonymous object in enum super constructor callKT-58576
K2: IR actualization problems in MPP scenarioKT-61442
K2: Consider stricter filtering on implicit integer coercionKT-61441
K2: Wrong overload is chosen with ImplicitIntegerCoercion enabledKT-59328
K2: property with compound getter and without explicit type: compilation failure, IAE "List has more than one element" at FirDeclarationsResolveTransformer.transformFunctionWithGivenSignature()KT-61159
K2: OVERLOAD_RESOLUTION_AMBIGUITY between private top-level property in same file and top-level property in different moduleKT-59233
K2: false-negative diagnostic on creating a callable reference to a function with free type variablesKT-61418
k2: ImplicitIntegerCoercion to List leads to "IllegalStateException: Cannot find cached type parameter by FIR symbol"KT-61373
False positive: "The opt-in annotation is redundant: no matching experimental API is used" with multiplatform code.KT-58884
K2: NotAMockException for mock testing with lambda expression with MavenKT-58893
K2: MockitoException for mock testing with lambda expression with GradleKT-59483
K2: Build a Native appKT-57738
K2: unresolved class fields and methods in kotlin scriptsKT-59449
K2: Diagnostic messages contain debugging-style rendered FIRKT-59849
K2: IllegalArgumentException: List has more than one elementKT-57553
Implement deprecation for open val with backing field and deferred initialization in K1KT-57230
Support Kotlin/Wasm in the K2 platformKT-59409
K2: Missing DEFAULT_VALUE_NOT_ALLOWED_IN_OVERRIDEKT-59058
Companion object is not initialized on class constructor callKT-61017
K2: intermediate expect/actual class results in expected class has no actual declaration in moduleKT-60181
K2: "NotImplementedError: An operation is not implemented" with SpringKT-59472
K2: build ReaktiveKT-54786
MPP: "LazyTypeAliasDescriptor cannot be cast to class org.jetbrains.kotlin.descriptors.ClassDescriptor" caused by expected non-constant function argument on iOS if class is type aliasedKT-59753
K2: NotImplementedError when using annotation with vararg with default value from other moduleKT-60883
K2: FixtestRequireKotlinCompilerVersion
in LV 2.0 branchKT-59747
K2: cannot actualize expect class to Unit via typealiasKT-61054
K2: "IAE: source must not be null" with -no-reflect on calling property getter with implicit invokeKT-57126
[KLIB Reproducibility] Manifest is written using os-dependent line separatorsKT-60850
K2: FIR2IR generates incorrect signature for fake overrides for common declaration if it called from a platform moduleKT-59218
K2: return types of calls to@PolymorphicSignature
methods inside try-expressions don't resolve to void when requiredKT-60002
K2: Missing UNSUPPORTED_SUSPEND_TESTKT-61011
K2 Scripts: FirRecursiveProblemChecker: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-58906
K2. "Backend Internal error: Exception during IR lowering" instead of CANNOT_INFER_PARAMETER_TYPE error when parameter type missing in lambdaKT-59490
K2: build km-shopKT-60163
K2: vararg annotation argument value is serialized not as an arrayKT-59355
K2: Allow to actual classifier have wider visibility than the corresponding expect classKT-56179
[K2/N]interop_objc_tests/multipleInheritanceClash.kt
test failedKT-59411
K2: Missing ENUM_CLASS_CONSTRUCTOR_CALLKT-59410
K2: Missing TYPEALIAS_EXPANDED_TO_MALFORMED_TYPEKT-59382
K2: Missing PROTECTED_CONSTRUCTOR_NOT_IN_SUPER_CALLKT-59901
K2: Disappeared API_NOT_AVAILABLEKT-60474
K2: False negative type mismatch for array literal with wrong numeric literalKT-59610
K2: Calls to annotations with default values are serialized differently in K1 and K2KT-60139
K2: Refactor handling of implicitly actual declarations (annotation & inline class constructors and property of inline class)KT-60793
K2: IllegalStateException: Expected FirResolvedTypeRef with ConeKotlinType but was FirJavaTypeRefKT-60735
K2: lateinit property diagnostic has not been initializedKT-60137
K2: Quite complicated redeclaration error description is displayed for data classesKT-60639
K2: IllegalStateException: Unsupported compile-time value GET_CLASS type=kotlin.reflect.KClass<p1.A>KT-56888
CFA: Valid green in K1 -> red in K2.catch_end -> finally -> after_try
KT-60723
K2: Nested finally block has extra jump edge if surrounding try block jumpsKT-60573
K2: False positive/negative CONFLICTING_OVERLOADS for main functionsKT-60124
K2: Conflicting declarations on extension properties with different upper-bounded type parameterKT-60259
K2: Reflection target is missing on adapted function referncesKT-59036
InstantiationError when instantiating annotation with a parameter type as a default parameter of another annotationKT-59094
K2: Fix Scripting K2 testsKT-59711
K/N: Implement enumEntries intrinsicKT-59748
K2: Return type mismatch: expected Unit, actual Any? for when with an assignment in branchKT-60154
K2: Expected some types errorKT-58139
K2/MPP/metadata: compiler FIR serialization crash on complex expression as annotation argumentKT-59485
K2: build Anki-AndroidKT-59415
K2: Missing DATA_CLASS_OVERRIDE_DEFAULT_VALUES_ERRORKT-59710
K/JVM: Implement enumEntries intrinsicKT-57984
K2/JS fails with IdSignature clash for inherited expect/actual functionKT-59398
K2: Missing NOT_SUPPORTED_INLINE_PARAMETER_IN_INLINE_PARAMETER_DEFAULT_VALUEKT-60645
Native: dynamic caches are broken on LinuxKT-50221
FIR: handle enhanced/flexible nullability inside withNullability properlyKT-59281
JVM IR inline: incorrect type of created arrayKT-59507
JVM IR inline: invocation of arrayOfNulls by function reference results in exceptionKT-58359
Allow volatile intrinsics on inline function constant argumentsKT-60598
K2: add OptIn checkers for command line argumentsKT-59766
K2: ISE: Cannot find cached type parameter by FIR symbol during the coroutines library buildKT-59644
K2: the companion object in anexpect
class requires to be explicitly defined for compileNativeMainKotlinMetadataConfiguration
📅 Schedule: Branch creation - "on Monday" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.