Changelog
Compiler
New Features
KT-32443
Experimental declarations should be contagious even when they are not explicitly usedKT-45844
Forbid using experimental markers on override declarationsKT-45845
Forbid using experimental markers on getterKT-46644
Resolve overrides for IrProperty on deserializationKT-46967
Support class type parameters annotations in FIRKT-47402
Native: optimize access to object declarations that have only const vals and no init blocks
Fixes
KT-22852
Report diagnostics on implicit usages of experimental APIKT-22941
Experimental marker annotation with SOURCE retention is compiled without errorKT-24993
Inference for buildSequence/yield doesn't work for labeled lambdasKT-31728
Incorrect EXPERIMENTAL_OVERRIDE_ERROR for override of experimental function in anonymous objectKT-33364
Kotlin/Native debugger: execution stops only at next line for breakpoint at when expression without parameterKT-42139
NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for emptyList / listOf (with no arguments) / emptyMap / mapOf (with no arguments) inside if block insidesequence
blockKT-44241
NI: BuilderInference regressionKT-44372
FIR: KClass::java cannot be resolved as callable referenceKT-44547
Native: wrong RTTI when overriding functions with equal signatures but different type argumentsKT-44571
Segfault on unnecessary int unboxingKT-45083
Problem with property reference in builder inferenceKT-45315
Deprecate (V)::a reference resolution to companion in FE 1.0KT-46393
AE: "1 trailing arguments were found in Any type" for private function with implicit anonymous return type inside generic classKT-46661
FIR: Investigate inference issue with self-types and star projectionKT-46775
[Native] [IR] Support multiple suspend lambdas as class supertypesKT-46836
Error: Invalid LLVM module on inlineClasses external testsKT-46838
NullPointerException: Parameter specified as non-null is null in CollectionsKt.joinToString()KT-46896
Native IR: NPE when using irBuiltIns.suspendFunctionKT-46996
FIR: INFERENCE_NO_INFORMATION_FOR_PARAMETER on type aliases with non-trivial expansionsKT-47034
KtValueArgument.getArgumentExpression could lead to StubBasedPsiElementBase.notBoundInExistingAstKT-47052
BuilderInference case with flatMapTo doesn't work properlyKT-47082
Stub type variable is leaked (reproduces with K/N during deserialization)KT-47143
ClassicTypeSystemContext couldn't handle: Captured(*) in Kotlin 1.5.0KT-47148
Type mismatch: inferred type is Any? but T? was expectedKT-47180
Forbid using OptIn markers on local variable, value parameter or fieldKT-47181
Forbid using OptIn markers on types or type parametersKT-47183
Segfault on int unboxingKT-47208
Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMemberKT-47276
Nullability annotations without target are ignored if type enhancement improvements are enabledKT-47450
StackOverflowException in psi2ir with many chained binary expressionsKT-47462
K/N: AssertionError: Unbound private symbol org.jetbrains.kotlin.ir.symbols.impl.IrClassSymbolImpl@6cb748db (NON-PUBLIC API): deserialized class Companion
IDE
KT-44643
ISE: Could not generate LightClass for some declared in on initialisation bylazy
in a JVM module of a multiplatform project
IDE. Gradle Integration
KT-47163
KJS / Gradle:Could not resolve <artifact>
despite being resolvable & project buildable
IDE. JS
KT-47557
KJS: With NPM dependency IDEA import fails when performed before Gradle build
JavaScript
KT-38363
JS IR BE: support IC for loweringsKT-45738
KJS / IR: Wrong generated code forwhen
statementKT-46520
KJS / IR: ISE "Can't find name for declaration FUN name:CharArray_init_$Create$" on callable reference to Array constructorKT-46551
KJS / IR: Add a basic sourcemap generation
Libraries
KT-47477
Could not resolve kotlin-test during project import in case of multiplatform with only JVM target platform
Native
KT-35001
warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 2]'KT-43475
Kotlin/Native compiler: Including a static C library increased cross-compilation time from 3.5minutes to 1 hour 40 minutesKT-44148
Escape analysis failure: Heap space out of memory
Native. C and ObjC Import
KT-46711
platform.windows._LARGE_INTEGER cannot be passed by value
Native. ObjC Export
KT-43780
Improve Swift/Obj-C ergonomics for object and companion objectKT-46431
KMP accessing a property of an anonymous inner class that inherits from an abstract class causes a 'NSGenericException', reason: '[Shared_kobjcc0 ] is abstract' exception.KT-47042
Kotlin/Native: Concurrency Interoperability with Objective-C (Swift 5.5)
Native. Platforms
KT-44321
Support Apple Silicon without Rosetta 2
Reflection
KT-18277
InvalidProtocolBufferException: Stream closed on multithreaded access to built-ins data in reflectionKT-44977
Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes access
Tools. CLI
KT-40979
CLI: Executing "kotlinc.bat" at a root path, errors are not reported with a correct filepathKT-40994
CLI: Add documentation for -J argument inkotlinc -help
KT-46764
CLI: Java record defined in a single file root is not resolved
Tools. Commonizer
KT-45992
[Commonizer] Allow commonization of TypeAlias and Class with same nameKT-46716
[Commonizer] Analyze leaf source sets with original platform librariesKT-46957
[Commonizer] Unresolved classifier: platform/posix/ptrdiff_t for linuxMips32KT-47133
Forbid cinterop commonization with hierarchical commonization turned offKT-47301
[Commonizer] Associative commonization
Tools. Compiler Plugins
KT-46723
Kotlin Lombok: JPS: config file is searched in directory relative to compiler daemonKT-46739
@SerialInfo NPE with default parameter
Tools. Gradle
KT-13258
Kotlin compiler doesn't respect Gradle's "sourceCompatibility" and "targetCompatibility"KT-43095
Add support for Java Toolchain to the Gradle pluginKT-45611
KGP should declare JDK version as inputKT-47185
Migrate Gradle Integration tests to use cache redirector
Tools. Gradle. JS
KT-47176
KJS: Actualize NPM dependenciesKT-47154
KJS / Gradle: Compile task reads dependencies metadata from filesystem too long on large projectsKT-47114
KJS / IR: Could not resolvecoroutines-core-js
KT-43379
KJS / Gradle: On windows, an invalid regex is generated for Webpack ProgressPlugin
Tools. Gradle. Multiplatform
KT-47126
ios() target shortcuts should not include Apple Silicon by default
Tools. Gradle. Native
KT-42023
Kotlin Native Cocoapods plugin fails when Xcode project has custom CONFIGURATION names
Tools. Incremental Compile
KT-27660
JS Incremental compilation fails with java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
Tools. JPS
KT-45763
Failing tests in KotlinIDE
Tools. Scripts
KT-46646
Scripts: ArrayIndexOutOfBoundsException on an empty script running
Checksums
File | Sha256 |
---|---|
kotlin-compiler-1.5.30-M1.zip | 63cf21ed7a642926786541aeb964bbe0c5a76025ed6c37ef57d145c795921575 |
kotlin-native-linux-x86_64-1.5.30-M1.tar.gz | 88f021688d36a29062081274e18101b2cc619b9bdd6e726ba869010cc2ee1b27 |
kotlin-native-macos-x86_64-1.5.30-M1.tar.gz | f0401b6bc6c15794c3776a9752e9dc39ccab27c9a31fadfd41ba40a3b9615f86 |
kotlin-native-macos-aarch64-1.5.30-M1.tar.gz | 1df2da185c8d4312c5020766e1b635fb37c840a20e9b3809435a8732c31e8815 |
kotlin-native-windows-x86_64-1.5.30-M1.zip | b71405030f2f4ca59452eee97792179731af9545ecff1da23408326815363e9e |