Changelog
Compiler
New Features
KT-48217
Add an annotation JvmDefaultWithCompatibility to allow generating DefaultImpls classes if -Xjvm-default=all option is usedKT-49929
[FIR] Support programmatic creation of annotation class instancesKT-49276
Warn about potential overload resolution change if Range/Progression starts implementing CollectionKT-47902
Do not propagate method deprecation through overridesKT-49857
Require Xcode 13 for building Kotlin/Native compilerKT-47701
Support instantiation of annotation classes on NativeKT-46085
Support experimental parallel compilation of a single module in the JVM backendKT-46603
Generate SAM-conversions to Java interfaces extending 'java.io.Serializable' as serializable using java.lang.invoke.LambdaMetafactory
Performance Improvements
KT-50156
HMPP: Slow frontend/ide performance in OKIO (ExpectActualDeclarationChecker)KT-50073
Performance regression in adapted function referencesKT-50076
Performance regression in super call to an interface member in $DefaultImplsKT-50080
Performance regression in string template with generic property with primitive upper boundKT-50084
Performance regression in concatenation with 'String?'KT-50078
Performance regression in for-in-array loopKT-50039
Performance regression in inner class constructor call with default parametersKT-48784
An anonymous class has fields for variables that are only used in the constructorKT-42010
Generate IINC instruction for postfix increment in JVM_IRKT-48433
JVM_IR don't generate null check on 'this$0' parameter of inner class constructorKT-48435
JVM_IR ConstForLoopBenchmark performance regressionKT-48507
JVM_IR ForLoopBenchmark regressionsKT-48640
Performance regression in 'longDownToLoop' benchmarksKT-29822
Generate specialized bytecode for loops withIndex over unsigned arraysKT-48669
Generate optimizable counter loop for loops over indices of unsigned arraysKT-49444
Possible performance degradation with UInt downTo loopKT-48944
Possible performance regression with comparison of local KFunctionsKT-17111
Eliminate redundant store/load instructions when the value stored is simpleKT-36837
Generate more compact code for for-in-range loop in JVM_IRKT-48947
JVM / IR Possible performance regression with string templatesKT-48931
JVM / IR: Performance degradation with string concatenationKT-36654
Generate more compact bytecode for safe call in JVM_IR
Fixes
KT-24643
Prohibit using a type parameter declared for an extension property inside delegateKT-51747
MakeKtCallableDeclaration.getContextReceivers
default to preserve compatibilityKT-49658
NI: False negative TYPE_MISMATCH on nullable type withwhen
KT-43493
NI: @BuilderInference prevents compilation error of "Operator '==' cannot be applied to 'Long' and 'Int'"KT-51649
Kotlin/Native: reduce binary size of watchosArm32 and iosArm32 targets by limiting inlining of runtime functionsKT-48626
JVM IR: incorrect behavior for captured for-loop parameter since 1.6.20-dev-723KT-51036
JVM / IR: "NullPointerException: Parameter specified as non-null is null" with synchronized and companion objectKT-51471
Native: incorrect debug information when inheriting suspend fun invoke implementationKT-51352
"ClassCastException: class ScopeCoroutine cannot be cast to class Iterable" caused by coroutines and context receiversKT-51271
"ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3" with inlining of context functionKT-47084
JVM IR: "AssertionError: inconsistent parent function for CLASS LAMBDA_IMPL" with tailrec function default parameter nested inline lambdaKT-30616
Script: "Don't know how to generate outer expression" for top-level variable reference from static context (companion object, enum)KT-50520
"NPE: containingDeclaration.ac…lDeclarationType.REGULAR) must not be null" with implicit type on self-referencing lambda in a builderKT-51353
IncompatibleClassChangeError: Expected non-static field com.soywiz.korim.color.Colors.BLACKKT-48945
JVM IR: special bridge forget
is not generated in a Map subclassKT-48499
Interface call with an inline/value parameter generates AbstractMethodError after rebuilding the module, but NOT the file.KT-49998
JVM: missing default value for annotation parameter of an unsigned typeKT-49793
JVM:IncompatibleClassChangeError: Expected non-static field
when property delegation uses receiver of another delegated propertyKT-51302
Kotlin/Native 1.6.20-M1 compiler fails because of assertion in NativeAnnotationImplementationTransformerKT-51148
"AssertionError: At this stage there should be no remaining variables with proper constraints" caused by two type parametersKT-50970
Kotlin/Native: use arm instruction set instead of thumb-2 for iosArm32 and watchosArm32 targetsKT-50843
Kotlin/Native: LLVM constant merge pass does not work for Kotlin constantsKT-51157
JVM / IR: "IndexOutOfBoundsException: Index: 1, Size: 1" caused by interface hierarchy and UInt method parameterKT-50498
Exception after analysing an erroneous lambdaKT-50258
equals()
returnsfalse
on the same enum instances if we check it for the second time inwhen
KT-51062
Progressions resolve changing warning isn't reported for Java methodsKT-48544
JVM / IR: "UnsupportedOperationException: Unknown structure of ADAPTER_FOR_CALLABLE_REFERENCE" with callable reference::arrayOf
KT-50978
[Native] Error while building static cache: NoSuchElementException at IrTypeInlineClassesSupport.getInlinedClassUnderlyingType(InlineClasses.kt:341)KT-50977
[Native] Error while building static cache: IllegalStateException: Class CLASS ENUM_ENTRY is not found at KonanIrlinkerKt.findClass(KonanIrlinker.kt:229)KT-50976
[Native] Error while building static cache: IllegalStateException: No descriptor found at DescriptorByIdSignatureFinder.findDescriptorForPublicSignature(DescriptorByIdSignatureFinder.kt:157)KT-51040
Type inference fails on 1.6: "Cannot use 'CapturedType(*)' as reified type parameter" with EnumSet and elvis operatorKT-51080
Line number in mapping for the first instruction is lostKT-49526
JVM IR: Function reference with non-denotable intersection type argument is not inlined and is incorrectly approximatedKT-50399
Error: unexpected variance in super type argument: out@0
KT-50649
JVM IR: ClassCastException when returning Result as generic typeKT-50617
JVM IR: java.lang.IndexOutOfBoundsException "Empty list doesn't contain element at index 0" when class and interface have the same name and extension function is usedKT-50856
SAM conversion generates invalid bytecode for genericsKT-45693
False negative INCOMPATIBLE_TYPES withwhen
with generic subjectKT-49903
JVM IR: InlineOnly optimization leads to behavior change for println with mutating System.outKT-51022
Fix error messages for resolution ambiguity with stub typesKT-51035
PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression:" caused by recursive call of java functionKT-50797
Implement fix for false negative UPPER_BOUND_VIOLATED with generic typealias using not all type parameters as arguments for underlying typeKT-50878
Usage of contextual declarations from third-party library is allowed without-Xcontext-receivers
KT-49829
Wrong "cast can never succeed" diagnostic with builder inferenceKT-49828
Improve builder inference diagnostics with overload resolution ambiguityKT-50989
CCE cause by EmptySubstitutor in ResolutionWithStubTypesCheckerKT-49729
Implement deprecation warning for private constructors of sealed classesKT-49349
Implement deprecation for invalid if as expression in rhs of elvisKT-46285
[SEALED_SUPERTYPE_IN_LOCAL_CLASS] Error message isn't adopted to local objects and sealed interfacesKT-49002
Allow OptIn marker on override if base class has the same markerKT-48899
Report warnings on overrides with wrong types nullabilityKT-49461
Implement prohibitation of access to members of companion of enum class from initializers of entries of this enumKT-49754
Kotlin/JS:@JsExport
on enum class reports NON_EXPORTABLE_TYPE warningKT-49598
Misleading error message "Using @JvmRecord is only allowed with -jvm-target 15 and -Xjvm-enable-preview flag enabled"KT-44133
Inline classes: class literal in annotation arguments uses underlying typeKT-47703
ClassCastException: Programmatically created annotation can't hold Array<KClass<*>>KT-47549
JVM / IR: Null argument in ExpressionCodegen for parameter VALUE_PARAMETER CONTINUATION_CLASS caused by suspend function inside "fun interface" in another fileKT-50120
HMPP: False positive [NO_VALUE_FOR_PARAMETER] for expect function usagesKT-49864
JVM IR: NoSuchMethodError calling default interface method with inline class return type in -Xjvm-default=all modeKT-49812
JVM / IR: "java.lang.VerifyError: Bad return type" when using Result type attribute + extension function with same nameKT-49936
Extension property in a data class with the same name as the constructor parameter leads to incorrect component function being resolved and generatedKT-48181
"ISE: Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" on creating instance of kotlin.MetadataKT-50215
VerifyError caused by missing cast after is check in whenKT-49977
"Parameter specified as non-null is null" when inline class implements interface method with default parametersKT-50385
DUPLICATE_LABEL_IN_WHEN is reported on incorrect branchesKT-49092
JVM: ArrayIndexOutOfBoundsException on compiling call withif
expression and TODO() argumentsKT-48987
JVM / IR: Smartcast, which never succeed, crashes the compilerKT-50277
Invalid bytecode generated for inline lambda in suspend functionKT-50219
FIR DFA/CFA: no smart cast after null check and assignmentKT-44561
FIR DFA: extract non-null info from comparison against variable with initial constant valueKT-44560
FIR DFA: propagate non-null info to original variables in not-null assertion or cast expressionKT-50278
FIR: accidental resolve to inaccessible value parameterKT-47483
JVM IR: "NoSuchElementException: Sequence contains no element matching the predicate" on compiling Array instantiation with TODOKT-50304
EXC_BAD_ACCESS at IntrinsicsNative.kt starting coroutine on object with suspend fun as supertypeKT-49765
JVM: ClassCastException when trying to add object to EmptyListKT-46879
"AssertionError: Stack should be spilled before suspension call" with Flow and reified typeKT-50172
"AssertionError: Not a callable reflection type" on local function reference with the same name as local variableKT-49443
JVM IR, Script: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" with constructor call of class that has a top-level extension function callKT-50193
Garbage collection is not working the same way after jvm-ir-backend changeKT-19424
Compilation exception for script with property delegate calling operator invoke on an objectKT-43995
Script: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" if companion object initializer calls method on listKT-47000
Allow graceful migration to -Xjvm-default=all-compatibility by allowing to inherit from interfaces even in the old (-Xjvm-default=disable) modeKT-50180
FIR: not enough information to infer type variable for definitely not null typeKT-50163
FIR: ISE unsupported compile-time value BLOCK on complex annotationsKT-50171
JVM IR: "UninitializedPropertyAccessException: Parent not initialized: IrVariableImpl" on SAM-converted property setter reference with Double parameter inside lambdaKT-50140
Internal error on explicit string concatenation of generic type value with 'String' upper boundKT-49992
Anonymous object should not have access to private members from supertypesKT-49973
Check existing of default error message for all diagnosticsKT-50019
Property delegated to callable reference: "ISE: Local class should have its name computed in InventNamesForLocalClasses" with -Xno-optimized-callable-referencesKT-49645
JVM / IR: "IllegalStateException: Local class should have its name computed" caused by default suspend function in interface and value classKT-50028
Incorrect implicit casts from UnitKT-49615
JVM / IR: "Exception during IR lowering" with list of value classes with non-trivial constructor inside suspend lambdaKT-49127
FIR: smart cast is not performed after comparisonKT-48708
Incorrect cast from Unit to IntKT-48376
FIR: False positive UNITIALIZED_VARIABLE after try/finally with return from tryKT-48113
FIR: (false) positive EQUALITY_NOT_APPLICABLE for intersection with platform typeKT-48305
FIR: incorrect raw type castKT-48378
FIR: synthetic accessor lowering should not attempt to modify other filesKT-48634
FIR: false property-setter-function resolve cycleKT-48621
FIR: SyntheticAccessorLowering should not attempt to modify other files for protected JvmFieldKT-48381
Invalid LLVM module: verification failure of createInlineClassInArgumentPosition.ktKT-48527
Native: top-level properties in files with@Test
functions are initialized eagerly even if lazy initialization is enabledKT-48559
IllegalArgumentException: Unexpected super type argument: *@ 0
during IR loweringKT-48687
IR dump mismatch after deep copy with symbols in IR text testKT-44811
[FIR] Exception in body resolve of new contractsKT-48363
FIR behaves differently in case of resolution between classifier and top-level propertyKT-48801
"AssertionError: Stack should be spilled before suspension call" with Flow and crossinlineKT-46389
JVM / IR: "ClassCastException: class IrGetValueImpl cannot be cast to class IrConst" with inheritance of supertypes member functions with similar signaturesKT-47797
Regression during migration to 1.6 in compilerKT-47987
Can't infer a postponed type variable based on callable reference receiver typeKT-48446
"IllegalStateException: IrErrorType (getErasedUpperBound)" caused by suspend function referenceKT-48651
Collect intermediate annotations during type expandingKT-48754
JVM IR: in EnclosingMethod leads to IncompatibleClassChangeError on Android 5.0KT-45034
Use the new type inference for top-level callable referencesKT-49001
OptIn marker should spread from class to its members, taking into account real dispatch receiver typeKT-49038
Generics are discriminated during callable references resolution (false negative)KT-48954
JVM IR: IllegalAccessError when using Java method reference in constructorKT-48284
JVM / IR: "IllegalStateException: Function has no body: FUN STATIC_INLINE_CLASS_REPLACEMENT" caused by inline member toString of value class and string interpolationKT-49053
JVM / IR: "AssertionError: Unbound symbols not allowed" on inheriting a protected Java method that returns a package private class from a differently-named fileKT-49106
JVM: infinite recursion with overridden default suspend interface method where override calls superKT-45345
FIR DFA:FirDataFlowAnalyzer
seems to add wrong type constraints for type parametersKT-44513
FIR DFA: extract non-null info from x?.y!!KT-44559
FIR DFA: propagate non-null info from not-null assertion (!!)KT-49073
FIR: REDUNDANT_MODIFIER and DEPRECATED_MODIFIER_PAIR should be warningsKT-46371
FIR: Investigate FunctionType -> ExtensionFunctionType coercionKT-49078
FIR: false positive TYPE_VARIANCE_CONFLICTKT-47135
FIR: local class references does not compileKT-48600
NON_TAIL_RECURSIVE_CALL missing for calls inside lambdaKT-48602
NON_TAIL_RECURSIVE_CALL missing for calls with explicit dispatch receiver to a singletonKT-48982
JVM / IR: KotlinNothingValueException caused by function with local objectKT-49087
FIR: false positive REPEATED_ANNOTATIONKT-48648
JVM IR: "AssertionError: Should be primitive or nullable primitive type" with @JvmField generic property with Number upper boundKT-49069
FIR: False positive INAPPLICABLE_JVM_NAME on getterKT-49203
JVM IR: "AssertionError: Unbound symbols not allowed" with lateinit var andplusAssign
operator convention callKT-48993
JVM / IR: "IllegalStateException: Validation failed in file <multi-file facade ...>" using @JvmMultifileClass and one of the symbols in the file exposes a @JvmInline value classKT-48938
FIR: Investigate how priorities should work in case SAM-conversion + type parametersKT-49129
FIR: false positive of INNER_CLASS_OF_GENERIC_THROWABLE_SUBCLASSKT-49076
FIR: false positive "An annotation argument must be compile-time constant" on array of importsKT-49222
FIR: StackOverflow in MethodSignatureMapperKT-49083
FIR erroneously requires default value parameters for override calls when imported from objectKT-49135
FIR: ambiguity between type alias and functionKT-49134
FIR makes no difference between lambda with empty parameter list and without explicit parameter listKT-49301
FIR: Unresolved reference: for object inherited from inner classKT-49070
FIR: ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED with type parameter / class conflictKT-49133
FIR: protected java.lang.Throwable constructor is not availableKT-49407
JVM / IR: "java.lang.VerifyError: Bad local variable type" with "Int.mod" inside "Long.mod" and non-trivial argumentKT-44975
SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC: confusing error messageKT-38698
MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED error message: interface is called a "class"KT-45001
Confusing warning message "This class can only be used with the compiler argument" for@OptIn
annotationKT-49411
JVM / IR: NullPointerException during IR lowering with@JvmField
property in loop rangeKT-49260
FIR: make FirBasedSymbol hierarchy to correspond FirDeclaration hierarchyKT-49289
FIR: false positive "return required" for if/else with inlined return in branchKT-49316
JVM / IR: "AssertionError: SyntheticAccessorLowering should not attempt to modify other files!" caused by unreachable code which try to modifyval
from the other packageKT-45915
NoDescriptorForDeclarationException: Descriptor wasn't found for declaration FUN with circular module dependencies in JPSKT-49288
FIR2IR: consider generating all fake override calls properlyKT-42784
FIR2IR: first create fake overrides, then bind overridden to themKT-48816
Kotlin/Native Symbol for public platform.darwin/NSObject|null[100] is unboundKT-49372
JVM / IR: Incorrect work of the loop optimization for mutable variableKT-49356
Native: UnsupportedOperationException: RETURNABLE_BLOCK caused by nested return with boxing and inlineKT-49659
JVM IR: Missing value class mangling in SAM wrappers for fun interfaces from different modulesKT-47101
Incorrect scope for supertypes in companion objectsKT-49360
Invalid LLVM module: "inlinable function call in a function with debug info must have a !dbg location"KT-48430
JVM: ClassCastException with inline class as generic argument for type parameter used in a function typeKT-49575
IllegalArgumentException: Unhandled intrinsic in ExpressionCodegen with circular module dependencies in JPSKT-47669
IR inliner doesn't handle inner class functions referring outer thisKT-48668
JVM IR: "ISE: Value at CLASS must not be null for CLASS" for modules with a dependency cycleKT-49370
JVM / IR: "java.lang.VerifyError: Bad local variable type" with "fun Long.mod" and non-trivial argumentKT-46744
Memory Leaks in Kotlin daemonKT-48806
False-negative USED_AS_EXPRESSION for unreachable catch clausesKT-45972
FIR: type is incorrectly resolved to privateKT-46968
Remove FirCompositeScope from type resolveKT-49072
FIR: accidental resolve to private-in-file typeKT-34822
FIR scopes: deal with nested / inner classes and type parameter priorityKT-49702
Exception from RENDER_WHEN_MISSING_CASES diagnostic on malformed sealed class inheritorKT-49860
[FIR] Add smartcast expression to syntheticsubj
accessKT-49836
Inference fails on lambda and adjacent function expressions with receiverKT-49832
Inference fails on lambda for function types with extension parameterKT-44022
Excessive diagnostics range for DECLARATION_CANT_BE_INLINEDKT-48690
VERSION_REQUIREMENT_DEPRECATION_ERROR message: use current compiler version instead of language versionKT-49609
Incorrect grammar in DATA_CLASS_NOT_PROPERTY_PARAMETER error messageKT-49600
Misspelled error message for non-constructor properties with backing fields in @JvmRecord classKT-49339
Warn about synchronizing on value classesKT-49950
Compilation failed: An operation is not implemented: IrBasedTypeParameterDescriptorKT-43604
Problem with initialization orderKT-23890
Default arguments are not transferred from expect generic member functionsKT-48811
Expect/actual class with default constructor argument values can not be instantiated from a shared source set without passing arguments (with HMPP enabled)KT-48106
FIR: incorrect type inference in provideDelegate receiverKT-48325
Safe call operator prevents object from being garbage collected before leaving functionKT-50004
Linking kotlinx.serialization crashes on Native and JS IR backendsKT-49311
Missing FIR checker for unresolved references in import statementKT-48104
FIR does not see NotNull/Nullable annotations on type argumentsKT-46812
[FIR] Make FIR diagnostics not related to Diagnostics from FE 1.0KT-37374
[FIR] AddCheckInfixModifier
resolution stageKT-38351
FIR: SupportCheckOperatorModifier
resolution stageKT-39614
[FIR] Fix building CFG for different candidates of plus assign callKT-40197
[FIR] Strange Behaviour of Type ArgumentsKT-40362
[FIR] Match type arguments with type parameters of corresponding qualifierKT-40375
FIR: No transformation implicit type -> error type for function value parametersKT-40585
[FIR] Incorrect type for 1/1.0KT-42525
[FIR] Incorrect IR produced for java.lang.Byte.MAX_VALUEKT-43359
FIR: Check applicability type for callable reference with unbound receiverKT-43378
FIR: Support or prohibit via call checker callable references to member extensionsKT-43289
FIR: Correctly load irrelevant override for special built-insKT-44558
Annotation arguments const expr support is missing in FIRKT-45223
[FIR] Ambiguity between explicit and syntheticremoveAt
KT-42215
FIR: callable reference resolution with type constraints at call-sitesKT-45520
FIR: NONE_APPLICABLE for unsafe call to function with overloads instead of UNSAFE_CALLKT-46410
[FIR] Transform of FirAugmentedArraySetCall leaves erroneous nodes in control flow graphKT-46421
FIR: Investigate builder-inference casesKT-43948
FIR: hidden unresolved callable referenceKT-46558
FIR DFA: run once contract is not considered when analyzing lambdaKT-47125
FIR: Do not avoid trivial constraints if they aren't from upper boundsKT-43691
FIR: false positive VARIABLE_INITIALIZER_IS_REDUNDANT with usage in try...finallyKT-37311
[FIR] Support inference of callable references with type variable as expected typeKT-31972
Error type encountered: org.jetbrains.kotlin.types.ErrorUtils$UninferredParameterTypeConstructor@1f5b38c2
(ErrorType).KT-48761
Report NO_TAIL_CALLS_FOUND on 'tailrec' modifier, not on the whole function headerKT-47647
NI: Function reference to Java static method can't compile if passed directly as KFunction1 parameterKT-46995
Fix setters implicit types only resolved on full body resolveKT-46359
Kotlin 1.5 lambda is not Java-serializable by defaultKT-49282
FIR: suspend conversion does not work inside suspend lambdaKT-48953
FIR: implement diagnostic DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETERKT-38813
FIR: Report INSTANCE_ACCESS_BEFORE_SUPER_CALL diagnostic on receiver usages in secondary constructors headersKT-49657
FIR: accidental override with get:JvmNameKT-49655
FIR: smart cast is not performed after update of var to not-null value in branch
Docs & Examples
KT-50866
[Docs] [Kotlin/Native] Support non-NativeActivity Android executablesKT-50220
[Docs] [Kotlin/JVM] New @JvmDefaultWithCompatibility annotation and changes in -Xjvm-default arguments behaviorKT-50844
[Docs][K/JS] KJS / IR: Installation of NPM dependencies should be with ignore-scriptsKT-50831
[Docs][K/JS] Gradle, JS: Ability to persist / reuse yarn.lockKT-51086
[Docs] [Build Tools] Allow to configure additional jvm arguments for 'KaptWithoutKotlincTask`KT-50563
[Docs] [Build Tools] Deprecate kotlin.experimental.coroutines Gradle DSL option and kotlin.coroutines propertyKT-50580
[Docs] [Kotlin/Native] Support instantiation of annotation classes on NativeKT-50874
[Docs] [Language] Add ability to specify generic type parameters as not-nullKT-50564
[Docs] [K/JS] Ensure that @AfterTest is invoked after the @test function completes for asynchronous tests
IDE
New Features
KTIJ-20169
Link to What's new in a notification about new Kotlin version
Performance Improvements
KTIJ-20568
Optimize SubpackagesIndexService#hasSubpackages
Fixes
KTIJ-13020
New compiler settings are applied only after the project is reloadedKTIJ-21154
StackOverflowError on Companion.extractPotentiallyFixableTypesForExpectedType that causes "Syntax highlighting has been temporarily turned off"KTIJ-20129
Load "@NotNull
T" types from libraries as definitely non-nullable if any module in project loads such types as definitely non-nullableKTIJ-9793
UAST: KotlinAbstractUElement.equals fails for psi-less elementsKTIJ-16203
UAST: Annotating assignment expression sometimes leads to UnknownKotlinExpressionKTIJ-18720
UAST:@Deprecated(level=DeprecationLevel.HIDDEN)
makes method visibility be droppedKTIJ-18039
@Deprecated(level=HIDDEN)
elements return false for isDeprecated()KTIJ-18716
KotlinUMethodWithFakeLightDelegate.hasAnnotation() doesn't find annotationsKTIJ-20220
Kotlin plugin crashes very oftenKTIJ-20308
Syntax highlighting is temporary suspended for file ... due to internal errorKTIJ-6085
ExceptionIncorrect CachedValue...
with KtUltraLightMethodForSourceDeclarationKTIJ-18977
Do not show warningOutdated bundled kotlin compiler
if there are no compatible plugin with newer compilerKTIJ-20253
Consider supporting special highlighting for definitely non-null typesKT-42194
OOME: Java heap space from incremental compilationKTIJ-13019
"Add '-Xopt-in=kotlin.io.path.ExperimentalPathApi' to module untitled1 compiler arguments" only works until the project is reloaded
IDE. Completion
KTIJ-20095
Optimize FilterOutKotlinSourceFilesScope#containsKTIJ-16250
Completion of override with return type annotated with TYPE_USE-targeted annotation suggests two duplicate entries
IDE. Debugger
KTIJ-20716
JVM Debugger in common code can't get JVM-specific view on common code and failsKTIJ-18562
JVM debugger: coroutineContext.job causes "Failed to generate expression: KtNameReferenceExpression"KTIJ-20019
MPP Debugger: NSFE “Field not found” on accessing property with explicit getter from common code in Evaluate expression/WatcherKTIJ-19990
MPP Debugger: Evaluate expression for some stdlib in common source set fails with Method threw 'java.lang.ClassNotFoundException' exception.KTIJ-20929
MPP Debugger: in a project with single JVM target evaluation of expect function fails with 'NoSuchMethodError' exception in common contextKTIJ-20956
Debugger: coroutine debugger fails to load sometimesKTIJ-20775
MPP Debugger: Evaluate expression for actual typealiases in jvm source set fails with Method threw 'java.lang.ClassNotFoundException' exception.KTIJ-20712
MPP Debugger: evaluator fails when evaluating expect functionKTIJ-19344
K/N debugger shows all types as ObjHeader in variable view.
IDE. Gradle Integration
KTIJ-20097
HMPP+Android Project that depends on pure Android Lib fails to import in IDEAKTIJ-20756
MPP targeting Android and JVM reports 'The feature "multi platform projects" is experimental and should be enabled explicitly'KTIJ-20745
Gradle: NSEE “Key main is missing in the map.” on project import in AS 212 + Kotlin 1.6.20KT-47570
MPP, IDE: kotlin-test-common leaks into dependencies of platform-specific source setsKTIJ-19541
IDE: Kotlin Facets aren't created for Gradle projects added viaincludeBuild
KT-48882
MPP IDE import: Failing cinterop Gradle tasks shall not fail importKTIJ-18135
MPP, IDE: False positive "No value passed for parameter" in CommonTest when expect declaration has default value and actual does not
IDE. Inspections and Intentions
New Features
KTIJ-12437
Add inspection to detect redundant (obsolete, unused)@OptIn
annotationsKTIJ-15780
Add quickfix for migration of Experimental -> RequiresOptInKTIJ-18865
Provide quick fixes for OptIn markers on forbidden targetsKTIJ-18439
Make suggestions for applying opt-in quickfixes more distinctKTIJ-19985
Provide quickfix for SAFE_CALL_WILL_CHANGE_NULLABILITY diagnostic
Fixes
KTIJ-20550
False positives in "Unnecessary@OptIn
annotation" inspectionKTIJ-20993
Quick-fix for NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS leads to unreachable codeKTIJ-20557
Quick fix to addAny
as an upper bound for type parameter to make it non-nullableKTIJ-20827
Process type mismatch compiler warnings to provide a corresponding quick fixKTIJ-12578
"Make abstract" quick fix for missing abstract members implementations could warn of potentially broken inheritanceKTIJ-20425
Quick fix to replace@NotNull
parameter typeT
with a definitely non-nullable typeT & Any
KTIJ-19997
Inspection "Possibly blocking call in non-blocking context could lead to thread starvation" suggests "Wrap call in 'withContext'" resulting in red codeKTIJ-18291
Quickfix "Add@OptIn()
annotation" adds the annotation to primary constructor when invoked on primary constructor parameterKTIJ-19512
Implement IDE support for new rules of deprecation inheritanceKTIJ-20156
Exception when applying 'Convert to with'KTIJ-20290
Forbid "move to constructor" intention if class contains secondary constructorKTIJ-20288
Forbid "move to constructor" intention for actual classes with actual constructorKT-49736
Introduce import alias fails when qualifier is unresolvedKTIJ-18743
"Redundant nullable return type" applied onactual
method doesn't change the signature ofexpect
KTIJ-12343
Inspection "Sealed sub-class has no state and no overridden equals" is applied incorrectly to expect/actual declarations of sealed classes with nested subclassesKTIJ-19406
The "Add@OptIn(...)
" quick fix does not shorten the annotation when adding an argument to the existing annotationKTIJ-12351
generate equals & hashCode() by identity
intention generates incompilable code for multiplatform project modulesKTIJ-13227
Forbid "move property to constructor" for actual classes with actual constructor having at least one parameter alreadyKTIJ-11328
No quick fixes are suggested for annotation from experimental API used with file targetKTIJ-14427
Meta-annotation value isn't updated for all the corresponding parts of a multiplatform annotationKTIJ-19735
NSME org.jetbrains.kotlin.idea.quickfix.KotlinSingleIntentionActionFactory org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix on IJ212 + Kotlin master
IDE. Navigation
KTIJ-18145
IDE freeze on 'Show Usage'
IDE. Refactorings. Extract Function
KTIJ-10026
Refactor / Extract function: Adds unnecessary nullability annotations for parameters coming fromNotNull
orNullable
Java methodsKTIJ-15823
Refactor / Extract Function: resulted declaration gets no@OptIn
from original function when necessary
IDE. Refactorings. Move
KTIJ-5661
[Tests] MoveRefactoring: Fix ignored incorrect tests of crossmodule declaration moving
IDE. Wizards
KTIJ-19232
New project wizard: delete MPP Mobile-Library and Application templatesKTIJ-20878
Unable to create project with Kotlin Project Wizard when JDK 17 is used.KTIJ-20244
Compose MPP project from wizard requires minCompileSdk=31KTIJ-20781
Update kotlin-wrappers version in wizard
JS. Tools
KT-47387
KJS: Support Apple Silicon for node distrib download
JavaScript
New Features
KT-44494
KJS / IR: Allow enum classes to be exportedKT-43224
KJS: Allow using inline classes in external typesKT-35100
Make Char inline class in K/JSKT-42936
KJS IR: Support js-code test directives similar to legacyKT-47525
KJS / IR: Support protected members in d.ts generationKT-50110
KJS / IR: Enable properties lazy initialization by default
Performance Improvements
KT-46443
KJS / IR: ImproveCharArray
andChar
performanceKT-45665
KJS / IR:equals
on inline value classes is boxedKT-43644
KJS / IR: Avoid creating lambda classes
Fixes
KT-51685
KJS / IR: TypeError: collection.iterator_jk1svi_k$ regression in Kotlin 1.6.20-RC2KT-51523
KJS IR: "Uncaught TypeError: a._get_length__2347802853_w7ahp7_k$ is not a function"KT-51700
KJS / IR: Compiler uses wrong function with ListKT-51222
KJS / IR: "RangeError: Maximum call stack size exceeded": Default function overloads marked with @JsExport are brokenKT-45054
KJS: Export secondary constructors as class static methodsKT-37916
KJS: .d.ts generation not working for enum classesKT-48199
KJS / IR: Improve error message for linkage problemsKT-51030
KJS / IR: internal class that implements public interface is missing gettersKT-45434
KJS: "WRONG_EXPORTED_DECLARATION" when usingJsExport
on interfacesKT-50934
KJS / IR: Re-export all JS-exports from the main module for the multi-module modeKT-45620
KJS / IR: Remainder of division ofInt.MIN_VALUE
by -1 is negative zero (-0)KT-44981
KJS / IR crashes onkotlin.js.js
calls with complex constexprKT-41964
KJS IR: Reference to local variable and parameter from js fun could be broken unexpectedlyKT-50682
Kotlin/JS: IR + IC: TypeError "Cannot read properties of undefined" when properties from different sources refer one another in initializersKT-50175
Kotlin/JS, IR: with incremental compilation top level properties initialization is not lazyKT-40236
KJS: IR. Invalid override for external field with@JsName
KT-46525
KJS / IR: Generate context-dependent names for lambdas and object expressionsKT-49779
KJS / IR: Exported abstract class implementing interface not export interfaces member in d.tsKT-49773
KJS / IR: Exported enum implementing interfaceKT-41912
KJS / IR: generates invalid defineProperty methods for class hierarchiesKT-46225
KJS IR: tailrec function with capturing lambda in default parameter value leads to UninitializedPropertyAccessException at compile timeKT-50528
Kotlin/JS: IR + IC: TypeError: "combined.get_icpjjy_k$ is not a function" for code callingGlobalScope.launch {}
KT-50512
KJS / IR: IC failed with const val in inline funKT-49738
Ensure that @AfterTest is invoked after the@Test
function completes for asynchronous testsKT-45542
KJS / IR: "IllegalStateException" for method with default argument in expect classKT-50464
KJS IR: Functions with optional parameters and stable names are exported without@JsExport
KT-43374
KJS / IR: "class org.jetbrains.kotlin.js.backend.ast.JsIf cannot be cast to class org.jetbrains.kotlin.js.backend.ast.JsExpressionStatement" caused byif-else
expression insidewhen
KT-20791
ushr Behavior differs in Javascript and Java targetsKT-49844
KJS / IR: "IllegalStateException: IrSimpleFunctionSymbolImpl is already bound" with callable referenceKT-46961
KJS / IR: "IllegalStateException: Can't find name for declaration" when external object contains enum classKT-43191
KJS / IR: static companion field is not static in d.tsKT-39891
[KJS / IR] String interpolation and byte shift round Long valueKT-50040
JS IR: "Function must be an accessor of corresponding property" exception on private properties with getter in an exported classKT-49878
Kotlin/JS, IR: incremental compilation fails with CCE: "class StageController cannot be cast to class WholeWorldStageController"KT-46202
KJS / IR: "IllegalStateException" on exported value classKT-42039
KJS / IR: JsQualifier annotation can cause conflicts with built-in functionsKT-39364
KJS: Can't export sealed class/object with subclasses inside the body to typescript definitionKT-47360
KJS / IR:js()
function with string valKT-47376
KJS / IR: Incorrectd.ts
generation for sealed classesKT-47767
KJS / IR: "IllegalStateException" with inline function with several lambda invocation declared through typealiasKT-47342
KJS / IR: "StackOverflowError" onInlinerTypeRemapper.remapTypeArguments
KT-46218
KJS / IR: Incorrect result for localtailrec
function called from capturing inline lambdaKT-45056
KJS / IR: Inconsistentordinal
property value for enum classesKT-47096
KJS / IR:Console.log
introduces spaces between each characterKT-47516
KJS / IR: Wrong behavior when trying to access property in enum entryKT-47806
KJS / IR: "IllegalStateException" with invocation of extension function with generic and lambda parameter onString.Companion
KT-49225
KJS: Default value for value class parameter is not consideredKT-49326
KJS / IR: Overridden properties should not be exportedKT-49363
KJS / IR: Nested declarations inside exported object are not exportedKT-49300
KJS: Source map generator leaks source files descriptors when source embedding is enabledKT-40525
KJS IR: investigate issues with using kotlin-wrappersKT-50197
KJS IR: using APIs in different packages but with same method name generates clashesKT-45958
KJS: Line breaks are missing injs
files after If-expressionKT-40213
KJS: fix and "unmute" cases from .../nonReifiedTypeParameters/ "muted" while fixing KT-38771KT-50152
Kotlin/JS: with incremental compilation browserRun / nodeRun produce no outputKT-50315
Kotlin/JS: building project with some dependencies fails: IAE: "Duplicate definition"KT-50203
JS IR BE: new IC for loweringsKT-43250
KJS / IR: "Can't find name for declaration FUN" with Json#encodeToString as function referenceKT-46992
KJS / IR: Incorrect boxing of inline classes returned by crossinline suspend lambdasKT-49776
KJS / IR: inliner doesn't handle inner class functions referring outer thisKT-49849
KJS / IR: Access of exported member properties should be by its stable nameKT-49850
KJS / IR: Member properties in exported class should be getter/setter in d.ts
Language Design
KT-19423
Script: reference from class to script top-level member is incompilableKT-21197
Support cross platform common implementationsKT-42435
Prototype multiple receiversKT-48385
Deprecate confusing grammar in when-with-subjectKT-49542
FIR: Smart cast may lead to inconsistent inference resultKT-23727
Internal declarations from other module in star imports should have lower priority than public declarations from default importsKT-50251
Support language version 1.3 in Kotlin 1.6.20KT-17765
Ambiguity between SAM adapters when one SAM interface is sub type of anotherKT-10926
False overload resolution ambiguity when both vararg and collection matchKT-41214
JDK 17: Emit PermittedSubclasses attribute when compiling sealed classes
Libraries
KT-44089
Java version checking doesn't work on AndroidKT-50033
Some packages of kotlin-stdlib with public API are not exported in module-infoKT-48367
Usingsynchronized
on captured object leads to slow JVM executionKT-49721
KJS: Regex("\b").findAll yields infinite sequence when a zero length match is found before a surrogate pair (e.g. emoji)
Native
New Features
KT-49463
--dry-run flag for llvm_builder/package.py
Fixes
KT-51359
Native: the compiler doesn't work on macOS 12.3 BetaKT-49144
Kotlin/Native executable early segmentation faultKT-49348
KONAN_NO_64BIT_ATOMIC does not guard Kotlin_AtomicLong_addAndGetKT-42500
KLIB: K/N compiler cannot link with a library with incorrect symbol in the name or the pathKT-49395
K/N: After 1.5.20, compiling code includingKSuspendFunction3
to framework leads to "Assertion failed at parametersAssociated"KT-49967
Kotlin iOS regex issueKT-49873
Native does not sort Strings correctlyKT-49347
androidNativeArm32 binaries crash when using atomic operationsKT-49597
Kotlin/Native: Exporting the Arrow library into the framework causes StackOverflowError in the Devirtualization phaseKT-49790
"Undefined symbols" error when linking project with kotest 5.0.0.RC and Kotlin 1.6
Native. Build Infrastructure
KT-48625
Native: distribution doesn't contain sources for kotlin.test
Native. C Export
KT-47828
Kotlin/Native: Kotlin exception is not filtered out on interop border when producing a dynamic library with compiler caches enabled
Native. C and ObjC Import
KT-35059
Better "could not build module" cinterop reportKT-49768
Kotlin/Native: Add -Xoverride-konan-properties to cinterop.
Native. ObjC Export
KT-47399
Kotlin Native - Objective-C with Swift 5.5 Async Function Needs Returning KotlinUnitKT-48282
Kotlin sealed class roots and abstract classes within sealed hierarchies have their constructors exposed to Objective-C/SwiftKT-46866
Memory consumption / performance of Kotlin classes with String property in KMP project on iOS Swift
Native. Platform Libraries
KT-50045
Kotlin/Native: Re-enable disabled Hypervisor frameworkKT-47331
Kotlin/Native: support Xcode 13 SDKs
Native. Platforms
KT-48078
Native: Support non-NativeActivity Android executables
Native. Runtime
KT-48424
Support resolving source locations using libbacktraceKT-51586
SIGSEGV on worker7 testKT-50491
Kotlin/Native: Deadlock in the Ktor server tests with the new memory manager
Native. Runtime. Memory
KT-50879
Kotlin/Native: Stabilize Concurrent Sweep GCKT-50948
Kotlin/Native: Concurrent Sweep GC hangs on Windows in GCStateHolder::waitEpochFinished/waitScheduledKT-49497
iOS Swift "runtime assert: Must be positive" and "runtime assert: cycle collector shall only work with single object containers"KT-50026
Kotlin/Native: Make AtomicReference behave like FreezableAtomicReference with the new MMKT-49013
Kotlin/Native: Correctly switch thread state to native for spin locks
Native. Testing
KT-48561
Test sideEffectInTopLevelInitializerMultiModule fails with new MM
Reflection
KT-50198
Reflection: NPE fromkotlin.jvm.internal.Intrinsics.areEqual
with Spock
Tools. Android Extensions
KT-50784
kotlin-android-extensions produces unbound symbol under_$_findViewCache
KT-50627
NullPointerException when using kotlin-android-extensions synthetic after updating Kotlin to 1.6.10KT-50887
kotlin-android-extensions plugin breaks whenpackage
attribute missing from AndroidManifest.xml
Tools. CLI
KT-51309
Add JVM target bytecode version 18KT-48027
"Module ... cannot be found in the module graph" with module-info in META-INF/versionsKT-50695
Compiling into IR backends with language version 1.3 is not rejectedKT-46329
Deprecated-Xjvm-default
values are not reportedKT-51025
JVM CLI compiler takes class file from classpath instead of input java source fileKT-50889
AnalysisHandlerExtension multiple round execution is broken on Kotlin/MultiPlatform withexpectActualLinker=true
flagKT-48417
CLI: boolean -X arguments accept a value after '=' which is ignoredKT-11164
Allow running class files with '.class' extension in 'kotlin' scriptKT-46171
NoClassDefFoundError produced when running kotlin script
Tools. Commonizer
KT-48568
[Commonizer] timespec properties are not commonized in kotlinx.coroutinesKT-46257
MPP: Stdlib included more than once for an enabled hierarchical commonizationKT-49735
[Commonizer] :commonizeNativeDistribution fails for projects with two or more same native targetsKT-48856
MPP: Unable to resolve c-interop dependency for test compilation in an intermediate source set with the only platformKT-48288
[Commonizer] platform.posix.timespec.tv_sec not commonized in OKIOKT-47574
[Commonizer] TypeAliasTypeCommonization: Properly substitute underlying type argumentsKT-48221
MPP: Too few targets specified if platform test source set depends on mainKT-47100
[Commonizer] Commonize underlying type-alias types
Tools. Compiler Plugins
KT-50718
Unable to serialize an object with a generic fieldKT-50764
Kotlin 1.6.10 custom serializers for a generic type receive the unit serializer on jvmKT-46444
JVM IR, serialization: "AssertionError: No such value argument slot in IrConstructorCallImpl: 0" with KSerializer of ClosedRange
Tools. Daemon
KT-47522
Provide reasonable resolution strategy for OutOfMemoryError during compilationKT-51116
OOM user-friendly message isn't displayed if there is main exception caused by out of memory
Tools. Gradle
New Features
KT-48620
Add build information into Gradle build scanKT-41689
Support statistics for Configuration CacheKT-49299
Add more flexible way for defining Kotlin compiler execution strategyKT-21056
Kotlin Gradle Plugin tasks execution should be parallelized by default
Performance Improvements
KT-50664
Compile speed regression going from Kotlin 1.5.31 to 1.6.10 for incremental changes when Java class in a dependent child module w/ kapt is modified w/o a method/class signature changeKT-48884
Configuration performance regression in Kotlin Gradle plugin 1.5.30KT-49782
Improve compilation task outputs snapshot performance
Fixes
KT-51501
Gradle: 'java.lang.NoClassDefFoundError: com/gradle/scan/plugin/BuildScanExtension' on 1.6.0-RC when applying Enterprise Plugin from initscriptKT-51588
Restoring from build cache breaks Kotlin incremental compilationKT-50620
Gradle Kotlin Plugin crashes in CI due to hostname resolving issueKT-49921
Setup basic release performance regression testsKT-51177
After updating from KGP 1.5.30 to 1.6.10, KotlinCompile is non-incremental given an Android resource changeKT-48134
Debug log level causes build cache missKT-50719
Kotlin Gradle Plugin may hang on writing statisticsKT-48849
Cache miss due to empty directories inKotlinCompile
inputsKT-49014
Disable Explicit API is not possibleKT-48408
Build may fail with strict JVM target validation mode when project has no Kotlin sourcesKT-49107
Configuration cache: undeclared kotlin.caching.enabled system property readKT-50369
Deprecate kotlin.experimental.coroutines Gradle DSL option and kotlin.coroutines propertyKT-48046
Gradle Throws Exception From Kotlin Plugin:destinationDir must not be null
KT-50037
Kotlin compile task registers more than one task action and their order of execution is counter-intuitiveKT-49772
Kotlin in-process compilation does not release file handlesKT-47215
KJS: "UninitializedPropertyAccessException: lateinit property fileHasher has not been initialized" when runningkotlinNpmInstall
orrootPackageJson
locallyKT-46406
Remove 'kotlin.parallel.tasks.in.project' build property
Tools. Gradle. JS
Performance Improvements
KT-49037
KJS / Gradle: Configuration cache usage on large projects lead to high memory consumption by Gradle daemon
Fixes
KT-51060
KJS / IR: Incorrect order of libraries with ICKT-49061
KJS / Gradle: Custom package.json handlers break configuration cacheKT-35640
Kotlin/JS: Gradle: DCEdevMode = true
setting has no effect on incremental buildKT-49095
KJS / Gradle: KotlinJsTest tasks increase configuration cache state size depending on number of modules in projectKT-49253
KJS / Gradle: Error while evaluating property 'filteredArgumentsMap' of task ':compileProductionExecutableKotlinJs'KT-49902
Kotlin/JS: Gradle: with --debug it still runs yarn without --ignore-scriptsKT-49808
KJS / Gradle: NPE when running node.js Mocha tests with configuration cache reuseKT-49530
KJS: Update Node.JS and YarnKT-50930
KJS / IR: Incremental compilation cache building not consider multiple artifactsKT-50485
KJS / IR: Enable per-module by defaultKT-49445
KJS / IR: "AssertionError: Built-in class kotlin.Unit is not found" 1.5.31 fails on consuming artifacts built with 1.6.0KT-38040
Make Chrome Headless use "--no-sandbox" (configurable) - for Docker
Tools. Gradle. Multiplatform
KT-46198
[Commonizer] c-interop commonization: Support publishing libraries compiled with commonized c-interop librariesKT-41641
MPP: NoSuchElementException: "Collection is empty" when android library is added butandroid()
source set isn'tKT-50567
commonizeNativeDistribution fails when enableGranularSourceSetsMetadata is set to trueKT-50592
[Gradle][MPP] Mitigate isolated KGP classpath issuesKT-51176
CInteropCommonization: Warn users about disabled cinterop commonization when cinterops are present in hmppKT-49089
An annotation class annotated with @OptionalExpectation can not be used in another module with HMPP enabledKT-48818
False positive warning about usedenableDependencyPropagation
flag with enabled hierarchical mpp by defaultKT-49596
Composite Metadata Jar: Read location of cinterops from KotlinProjectStructureMetadata fileKT-41823
Default arguments not work in iosMain metadata with enableGranularSourceSetsMetadataKT-50574
Only enable cinterop metadata transformation when 'kotlin.mpp.enableCInteropCommonization' is set
Tools. Gradle. Native
New Features
KT-47633
Accept version when configuring cocoapods for kotlin/nativeKT-42630
CocoaPods Gradle plugin: Allow customization of podspec propertiesKT-48553
Kotlin/Native: use Gradle Shared Build Service to read konan.propertiesKT-47529
Read list of opt-in cacheable native targets from konan.properties
Fixes
KT-49330
commonizeNativeDistribution: "ClassCastException: KotlinJvmProjectExtension_Decorated cannot be cast to class org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension"KT-49484
Kotlin/Native: XCFramework should include dSYM files for release artifactsKT-47768
Gradle MPP plugin: K/N targets break task configuration avoidance for assemble taskKT-49971
Make 'embedAndSignAppleFrameworkForXcode' task visible for usersKT-43815
[CocoaPods Plugin] Pod name cannot be changedKT-50105
Usage of XCFramework and cocoapods plugin leads to error in prepareKotlinBuildScriptModel taskKT-42105
Multiplatform Cocoapod kotlin plugin doesn't support repo distributionKT-48808
XCFramework task fails when using static debug frameworksKT-42755
Cocoapods plugin using backslashes on Windows
Tools. JPS
KT-51434
Language version 1.7 is absent in Kotlin Compiler settingsKT-48399
Internal Error: Unknown version of LookupSymbolKeyDescriptor=-6KT-49177
JPS: Kotlin compiler doesn't recompile file that references Java constant in class bodyKT-46506
JPS: Kotlin compiler doesn't recompile file that references Java constantKT-47909
UtilsKt.recordPackageLookup is slowKT-47857
Class loaders clash when building kotlin project with FIR with JPS without daemonKT-45773
Improve quality of JPS incremental compilation
Tools. Kapt
KT-41456
Kotlin compilation failure after successful kapt causes invalid incremental buildsKT-48402
Kapt throws "Fatal Error: Unable to find package java.lang in classpath or bootclasspath" with JDK 16 and Kotlin 1.5.30KT-48617
Cache miss due to empty directories in KaptGenerateStubsTask inputsKT-48450
Allow to configure additional jvm arguments for 'KaptWithoutKotlincTask`KT-32596
kapt replaces class generated by annotation processor with error.NonExistentClass when the class is used as an annotationKT-48826
Deprecate 'kapt.use.worker.api' propertyKT-47002
Kapt: warning mentions non-effective propertykapt.includeCompileClasspath
Tools. Maven
KT-50306
Configured plugin dependencies should be available in kotlin-maven-plugin scripts
Tools. Parcelize
KT-19853
Parcelize: CREATOR field should be available from code
Tools. REPL
KT-20488
REPL: java.lang.InternalError: "Enclosing constructor not found" for class reference on an anonymous object literal
Tools. Scripts
KT-48758
Kotlin scripting: introduce a link from evaluation configuration to the compilation oneKT-48414
Script: get location of the script.main.kts fileKT-40497
“Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6.” for running script without specified jvm-targetKT-49329
Kotlin scripts are compiled with jvmTarget 1.8 by default and in many scenarios there is no way to redefine it, which lead to inlining errors e.g. with JDK 17
Tools. Wasm
KT-49893
Don't publish wasm targets withorg.jetbrains.kotlin.js.compiler
attribute
File | Sha256 |
---|---|
kotlin-compiler-1.6.20.zip | daf17db1c194f4205f3af67129367a69b388f819177963dc53a7b4b2c4d8ce22 |
kotlin-native-linux-x86_64-1.6.20.tar.gz | a9b5f2bc24c6a912b49826afe848b5dbccb53a4d6f7d9d68d21699f8c2639814 |
kotlin-native-macos-x86_64-1.6.20.tar.gz | 720113d738e4d78fe8dc41ffd6dee37c27d71f07237c000d286fb2c6941c70c7 |
kotlin-native-macos-aarch64-1.6.20.tar.gz | 35bff952b36720e248fb93dd5d7e057e152f08286b7d44e48da312ee737f7868 |
kotlin-native-windows-x86_64-1.6.20.zip | 376f5d66e4746f47987551d540d5bc956ed6e5f49faadd028c9dfd12cf7ccf63 |