Update kotlin_version to v1.5.31 #14
Merged
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.3.72->1.5.311.3.72->1.5.31Release Notes
JetBrains/kotlin
v1.5.31Changelog
Compiler
Fixes
KT-48659JVM / IR: Referential equality returns true for different instancesKT-48613Kotlin/Native fails to compile debug binaries for watchosArm64 targetKT-48316"No value passed for parameter" regression with Java annotation default values with JSR-305KT-48343Mistake in an error message for uninferred type variable without unrestricted builder inferenceKT-48543Native compiler crashes because of bridges for $default stubsKT-48349OptIn markers are forbidden on local variable / value parameter / property getter only in presence of explicit Target annotationKT-48295JVM / IR: VerifyError: Bad access to protected data in getfieldKT-48551JVM / IR: "IllegalStateException: Inline class has no primary constructor" caused by inline class from one module andfun interfacefrom anotherKT-47917JVM: "UTF8 string too large" caused by a big stringKT-48440JVM IR: Missing checkcast in generated bytecode causes VerifyError in Kotlin 1.5.30KT-48361INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in some positionsKT-48267JVM IR: CCE on callable reference to Array constructor passed to inline functionIDE
KTIJ-15744Reopening build.gradle.kts-based project reports MISSING_SCRIPT_BASE_CLASS KotlinBuildScript until re-importKTIJ-19005JDK 17: "PermittedSubclasses requires ASM9" exception multiple times per second during analysisKTIJ-19504IDE highlighting: Kotlin plugin 1.5.30 started showing some valid classes from multiplatform libraries as not existingNative
KT-48591Kotlin/Native: Char.isHighSurrogate and Char.isLowSurrogate return wrong result for macosArm64 and iosArm64 with compiler cache enabledKT-48491CInterop broke in Kotlin 1.5.30Checksums
v1.5.30Backend. Native. Debug
KT-47405Incorrect path from inlined method in stacktrace on iOS-simulator ARM64KT-47408Incorrect line number of inlined method on iOS-simulator ARM64Compiler
New Features
KT-44261Support RxJava 3 nullability annotationsKT-32443Experimental declarations should be contagious even when they are not explicitly usedKT-45844Forbid using experimental markers on override declarationsKT-45845Forbid using experimental markers on getterKT-46644Resolve overrides for IrProperty on deserializationKT-46967Support class type parameters annotations in FIRKT-47402Native: optimize access to object declarations that have only const vals and no init blocksKT-47709Make when statements with enum, sealed, and Boolean subjects exhaustive by defaultKT-47699Support programmatic creation of class annotations and corresponding feature flag on JVMPerformance Improvements
KT-45103Direct invoke optimizationKT-47785Compilation time increased when trying to compile AssertJ DB expression in 1.5.21Fixes
KT-48361INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in some positionsKT-48180JVM / IR: AssertionError: "Lambda with offset already exists" caused by calling inline function with default lambda parameterKT-47328JVM / IR: NoSuchFieldError with missing CHECKCASTKT-48172"IllegalStateException: Cannot serialize error type: [ERROR : ]" in 1.5.21 with java kotlin interopKT-48230JVM IR: CCE for multiple receivers caseKT-48262"Inconsistent type" with JSpecify @NullMarkedKT-48167JVM / IR: If Map#entrySet is implemented in an interface, Kotlin compiler generates incorrect code for its implementationKT-47988JVM / IR: "VerifyError: Bad type on operand stack" when invoking apply with a local method referenceKT-48163JVM / IR: "VerifyError: Bad type on operand stack" when throwing result of smartcastKT-47833False positive "Type argument is not within its bounds " with upcasting in 1.5.30-M1KT-47830Some code doesn't compile with unrestricted builder inferenceKT-39883Deprecate computing constant values if complex boolean expressions in when condition branches and conditions of loopsKT-47037Eliminate builder inference restrictionsKT-46726IR + BuilderInference: AssertionError: Unbound private symbol on usage of this in a BuilderInference lambdaKT-43855Support gradual introduction of new nullability annotationsKT-43142FIR: Check UPPER_BOUND_VIOLATED for type alias constructors properlyKT-45228Leaking builder inference type variables though callable referencesKT-42270NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for BuilderInference with extension functionsKT-46029JVM / IR: "Unbound private symbol: " when trying to save SequenceScope in propertyKT-45258Wrong CST between types which contain stub typeKT-45224Type safety problem through leaking of the builder inference scopeKT-22852Report diagnostics on implicit usages of experimental APIKT-22941Experimental marker annotation with SOURCE retention is compiled without errorKT-24993Inference for buildSequence/yield doesn't work for labeled lambdasKT-31728Incorrect EXPERIMENTAL_OVERRIDE_ERROR for override of experimental function in anonymous objectKT-33364Kotlin/Native debugger: execution stops only at next line for breakpoint at when expression without parameterKT-42139NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for emptyList / listOf (with no arguments) / emptyMap / mapOf (with no arguments) inside if block insidesequenceblockKT-44241NI: BuilderInference regressionKT-44372FIR: KClass::java cannot be resolved as callable referenceKT-44547Native: wrong RTTI when overriding functions with equal signatures but different type argumentsKT-44571Segfault on unnecessary int unboxingKT-45083Problem with property reference in builder inferenceKT-45315Deprecate (V)::a reference resolution to companion in FE 1.0KT-46393AE: "1 trailing arguments were found in Any type" for private function with implicit anonymous return type inside generic classKT-46661FIR: Investigate inference issue with self-types and star projectionKT-46775[Native] [IR] Support multiple suspend lambdas as class supertypesKT-46836Error: Invalid LLVM module on inlineClasses external testsKT-46838NullPointerException: Parameter specified as non-null is null in CollectionsKt.joinToString()KT-46896Native IR: NPE when using irBuiltIns.suspendFunctionKT-46996FIR: INFERENCE_NO_INFORMATION_FOR_PARAMETER on type aliases with non-trivial expansionsKT-47034KtValueArgument.getArgumentExpression could lead to StubBasedPsiElementBase.notBoundInExistingAstKT-47052BuilderInference case with flatMapTo doesn't work properlyKT-47082Stub type variable is leaked (reproduces with K/N during deserialization)KT-47143ClassicTypeSystemContext couldn't handle: Captured(*) in Kotlin 1.5.0KT-47148Type mismatch: inferred type is Any? but T? was expectedKT-47180Forbid using OptIn markers on local variable, value parameter or fieldKT-47181Forbid using OptIn markers on types or type parametersKT-47183Segfault on int unboxingKT-47208Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMemberKT-47276Nullability annotations without target are ignored if type enhancement improvements are enabledKT-47450StackOverflowException in psi2ir with many chained binary expressionsKT-47462K/N: AssertionError: Unbound private symbol org.jetbrains.kotlin.ir.symbols.impl.IrClassSymbolImpl@6cb748d(NON-PUBLIC API): deserialized class CompanionKT-47941"IllegalStateException: Expected some types" on a call with several excepted type constraintsKT-47854"IllegalArgumentException: Type is inconsistent" with Android's @Nullable annotation starting in Kotlin 1.5.20KT-47899"AssertionError: Intersection type should not be marked nullable" with 1.5.21KT-47846Stack overflow when handling enhanced recursive type parameterKT-47747Introduce specific error for calls which could be resolved only with unrestricted builder inferenceKT-47739JVM / IR: NoSuchFieldError with generic sealed classesKT-47422-Xjspecify-annotations: If a class has a @Nullable type-parameter bound, Kotlin should still treat some users' type arguments as platform typesKT-47437Type inference failure with raw types under -Xjspecify-annotations=strictKT-47396<?> in @NullMarked code should permit nullable typesKT-47729False positive INTEGER_OPERATOR_RESOLVE_WILL_CHANGE warning: "expression will be resolved to Int in future releases"KT-47333Xcode 13: Compilation for iOS simulator failsKT-47772False negative WRONG_ANNOTATION_TARGET on type argument to function callKT-47467JVM / IR: "AssertionError: Annotation class expected: deserialized class Array" caused by java annotation as a parameter of another annotationKT-47744UninitializedPropertyAccessException compiler exception on nested builder inference callsKT-47724Type inference: False positive "Returning type parameter has been inferred to Nothing implicitly"KT-47660JVM / IR: Mockito verification fails when named parameters are ordered differentlyKT-47589Using RequiresOptIn annotation on constructor property results in error even if the annotation has no VALUE_PARAMETER targetDocs & Examples
KT-47649Important note about KJS IR compiler and stdlib compatibility in 1.5.30IDE
KT-44643ISE: Could not generate LightClass for some declared in on initialisation bylazyin a JVM module of a multiplatform projectKT-47947Add language version 1.6 to the compiler configuration preferencesIDE. Gradle Integration
KT-47163KJS / Gradle:Could not resolve <artifact>despite being resolvable & project buildableIDE. JS
KT-46548KJS: Create an IDE plugin to help with migration to and keeping compatibility with JS IR BEKT-47557KJS: With NPM dependency IDEA import fails when performed before Gradle buildJavaScript
KT-46204KJS / IR: SupportSuspendFunctionNas super typeKT-38363JS IR BE: support IC for loweringsKT-41651JS IR BE: DCE removesrendermethod from react components passed to the kotlinx.reactKT-46520KJS / IR: ISE "Can't find name for declaration FUN name:CharArray_init_$Create$" on callable reference to Array constructorKT-45738KJS / IR: Wrong generated code forwhenstatementKT-46551KJS / IR: Add a basic sourcemap generationLibraries
KT-47477Could not resolve kotlin-test during project import in case of multiplatform with only JVM target platformKT-47675Converting Double to Duration may expose inexactnessKT-47419Remove method of the MapBuilder iterator throws IOOBE instead of IllegalStateExceptionKT-47211Kotlin Native - AbstractMutableList.addAll (with index) does not throw IndexOutOfBoundsException if elements is emptyKT-23351Regex.splitToSequence, CharSequence.splitToSequence(Regex)KT-42851kotlin.time.Duration toString() shows wrong result for secondsKT-45325Parsing Duration from StringKT-34021Regex.matchAt / matchesAtNative
KT-35001warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 2]'KT-43475Kotlin/Native compiler: Including a static C library increased cross-compilation time from 3.5minutes to 1 hour 40 minutesKT-44148Escape analysis failure: Heap space out of memoryNative. C and ObjC Import
KT-46711platform.windows._LARGE_INTEGER cannot be passed by valueNative. ObjC Export
KT-43780Improve Swift/Obj-C ergonomics for object and companion objectKT-46431KMP accessing a property of an anonymous inner class that inherits from an abstract class causes a 'NSGenericException', reason: '[Shared_kobjcc0 ] is abstract' exception.KT-47042Kotlin/Native: Concurrency Interoperability with Objective-C (Swift 5.5)Native. Stdlib
KT-47915Kotlin/Native: Provide access to test cases generated by the compilerNative. Platforms
KT-44321Support Apple Silicon without Rosetta 2Reflection
KT-18277InvalidProtocolBufferException: Stream closed on multithreaded access to built-ins data in reflectionKT-44977Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes accessKT-47650KClass::nestedClasses throws ClassCastException for script classes with type aliasesTools. CLI
KT-47623Deprecate -Xuse-experimentalKT-30778kotlin-compiler.jar contains shaded but not relocated kotlinx.coroutinesKT-40979CLI: Executing "kotlinc.bat" at a root path, errors are not reported with a correct filepathKT-40994CLI: Add documentation for -J argument inkotlinc -helpKT-46764CLI: Java record defined in a single file root is not resolvedTools. Commonizer
KT-47433[Commonizer] Commonize functions/properties with TA/Class types in signatureKT-47691[Commonizer] CommonizevarandvalpropertiesKT-47434[Commonizer] Commonize parameterized (type-alias + class) typesKT-47432[Commonizer] Commonize (type-alias + class) types used in functionsKT-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-47133Forbid cinterop commonization with hierarchical commonization turned offKT-47301[Commonizer] Associative commonizationTools. Compiler Plugins
KT-46723Kotlin Lombok: JPS: config file is searched in directory relative to compiler daemonKT-46739@SerialInfo NPE with default parameterTools. Daemon
KT-47152Incremental Compilation with Kotlin compile daemon and JDK 17 fails with IllegalAccessExceptionTools. Gradle
New Features
KT-45757Add an easier way to explicitly set Kotlin daemon jvm argumentsFixes
v1.5.21Compiler
KT-47320"StringConcatException: Mismatched number of concat arguments" String concatenation fails when template contains special characterKT-47445"definitely not null type parameters is only available since language version 1.6" error in cast expressionKT-47446Improve warning message INTEGER_OPERATOR_RESOLVE_WILL_CHANGEKT-47447False positive INTEGER_OPERATOR_RESOLVE_WILL_CHANGE warning: "expression will be resolved to Int in future releases"KT-47449JVM / IR: ClassCastException IrStarProjectionImpl cannot be cast to IrTypeProjectionKT-47459"IndexOutOfBoundsException: Index 0 out of bounds for length 0" caused by MarkertManager dependencyKT-47480StackOverflowError: Recursion on erasion of raw type with interdependent type parametersTools. Compiler Plugins
KT-47161Serializable class can't be inherited from serializable class in other module with: e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't transform method node: write$SelfKT-47455Kotlin lombok plugin NullPointerExceptionKT-47513Lombok compiler plugin failed with 'Recursion detected in a lazy value under LockBasedStorageManager@1c21db6(TopDownAnalyzer for JVM)'Tools. Gradle
KT-47444Gradle Plugin: Publishing project with "maven-publish" fails when dependency versions are omitted (NPE in MppDependencyRewritingUtilsKt.associateDependenciesWithActualModuleDependencies)Tools. kapt
KT-47416Kapt Gradle DSL ignores javaCompilerOptions in 1.5.20v1.5.20Compiler
New Features
KT-43262No error for Java generic class @NotNull type parameter used in Kotlin with nullable type argumentKT-44373FIR: support error / warning suppressionKT-45189Support nullability annotations at module levelKT-45284Emit warnings based on jspecify annotationsKT-45525Allow to omit JvmInline annotation for expect value classesKT-46545Emit annotations on function type parameters into bytecode for -jvm-target 1.8 and abovePerformance Improvements
KT-36646Don't box primitive values in equality comparison with objects in JVM_IRFixes
KT-8325Unresolved annotation should be an errorKT-19455Type annotation unresolved on a type parameter of a supertype in anonymous object expressionKT-24643Prohibit using a type parameter declared for an extension property inside delegateKT-25876Annotations on return types and supertypes are not analyzedKT-28449Annotation target is not analyzed in several cases for type annotationsKT-36770Prohibit unsafe calls with expected @NotNull T and given Kotlin generic parameter with nullable boundKT-36880K/N IR: Reference to expect property in actual declaration is not remappedKT-38325IllegalStateException: No parameter with index 0-0 when iterating Scala 2.12.11 ListKT-38342FIR: Consider renaming diagnostic from AMBIGUITY to OVERLOAD_RESOLUTION_AMBIGUITYKT-38476[FIR] Forgotten type approximationKT-38540Kotlin/Native Set.contains fails with specific enum setupKT-40425IrGenerationExtension. Support simple reporting to compiler output (for development/debug)KT-41620ClassCastException: Class cannot be cast to java.lang.VoidKT-41679NI: TYPE_MISMATCH wrong type inference of collection with type Any and integer literalKT-41818NI: False positive IMPLICIT_NOTHING_TYPE_ARGUMENT_IN_RETURN_POSITION leads to NothingValueException on delegated propertiesKT-42239IR: Report compilation error instead of throwing an exception (effectively crash compiler) when some declaration wasn't found while deserializationKT-42631ArrayIndexOutOfBoundsException was thrown during IR loweringKT-43258NI: False positive "Suspend function 'invoke' should be called only from a coroutine or another suspend function" when calling suspend operator fun on object property from last expression of a crossinlined suspend lambdaKT-44036Enum initialization orderKT-44511FIR DFA: smartcast afterif (nullable ?: boolean)KT-44554RAW FIR: NPE in RawFirBuilderKT-44682raw FIR: incorrect source for qualified accessKT-44695*_TYPE_MISMATCH_ON_OVERRIDE checkers do not work for anonymous objectsKT-44699FIR: incorrect lambda return type (led to a false alarm: PROPERTY_TYPE_MISMATCH_ON_OVERRIDE)KT-44802FIR bootstrap: trying to access package private classKT-44813FIR bootstrap: various errors in collection-like classesKT-44814FIR bootstrap: incorrect cast in when branchKT-44942[FIR] ClassCastException in boostrap testsKT-44995FIR: false positive for ANNOTATION_ARGUMENT_MUST_BE_CONSTKT-45010FIR: lambda arguments of inapplicable call is not resolvedKT-45048FIR bootstrap: VerifyError on KtUltraLightClassKT-45052FIR bootstrap: inapplicable candidate in GenerateSpecTests.ktKT-45121FIR IDE: redundant vararg parameter type transformationKT-45136Native: dividing Int.MIN_VALUE by -1 crashes or hangsKT-45236JVM / IR: "IllegalStateException: Symbol with IrTypeParameterSymbolImpl is unbound" caused by contracts and sealed classKT-45308Psi2ir: "AssertionError: TypeAliasDescriptor expected" caused by using typealias from one module as a type in another module without a transitive dependencyKT-45316[FIR] Ambiguity between two implicit invokes with receiverKT-45344FIR: Wrong inferred type for nullable type parameterKT-45385FIR: false positive MUST_BE_INITIALIZED_OR_BE_ABSTRACT after rethrowKT-45475[FIR] No smartcast after throw in if inside try blockKT-45508False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class memberKT-45578REPL: Unresolved imports are cached for the subsequent compilationsKT-45685JVM IR: capturing a variable into crossinline suspend lambda makes the function inside inline function no longer unbox ResultKT-45584[FIR] Fix overriding property and java function in java classKT-45697JVM IR: ISE "Function has no body" on getter of private field in a class present both in sources and dependenciesKT-45842Compiler doesn't allow a shared class to inherit a platform-specific sealed classKT-45848False negative [SEALED_INHERITOR_IN_DIFFERENT_MODULE] error in compiler for a platform-specific inheritor of a shared sealed classKT-45931There is no warning based on nullability java annotationKT-45998JVM IR: AE when an accessor to a protected companion object member is being generated in child classKT-46048Enum entries init order in companion objectKT-46074FIR: private-in-file fun interface is considered invisible in this fileKT-46173No error reporting on annotations on target type ofasexpression in returnKT-46235JVM IR: Stack overflow error on large expressionsKT-46270[FIR] Support@PublishedAPIin inline checkerKT-46539Generate annotations on type parameters bounds in bytecodeKT-46578JVM IR: IllegalAccessError accessing property delegated to java super class protected field referenceKT-46597JVM IR: AssertionError: SyntheticAccessorLowering should not attempt to modify other files - crossinline accessorKT-46601JVM / IR: IllegalStateException: "Can't find method 'invokeinvoke`" when default lambda takes inline class parametersKT-46670StackOverflowError on inheritance from raw type where class has protobuf-like recursive genericsKT-46715JVM / IR: "AssertionError: Unbound symbols not allowed IrConstructorSymbolImpl" with enum classes with the same name in test and src foldersKT-46759JVM IR: CCE in LateinitUsageLowering on @JvmStatic lateinit property in objectKT-46777[Native] [IR] Support suspend function as super typeKT-46802JVM / IR: "UnsupportedOperationException: Unknown structure of ADAPTER_FOR_CALLABLE_REFERENCE" caused by function reference on @JvmStatic function with unused default parametersKT-46813JVM / IR: "ClassCastException: Integer cannot be cast to class Result" with Flow andfoldmethodKT-46822JVM IR: StackOverflowError on compiling a large data classKT-46837Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMemberKT-46921JVM / IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" caused by crossinline parameter and label returnKT-46984Type parameter bounds aren't used to report corresponding mismatch warningsKT-46985There aren't warnings by java nullability annotationsKT-46986There aren't warnings by java nullability annotationsKT-46989There aren't warnings by java nullability annotationsKT-46990There aren't warnings by java nullability annotations on method's violated type argumentsKT-47019K/N: IrProperty.overriddenSymbols can't be used in common IR backend modules yet because it doesn't fully work in NativeDocs & Examples
KT-33783Document when a range created with rangeTo is emptyIDE
KT-44638clone()call is unresolved in JVM module of a multiplatform projectKT-45629[ULC] KtUltraLightFieldForSourceDeclaration.nameIdentifier returns nullKT-44825Can't open Kotlin compiler settings in newly created projectKT-45908Reproduciable 'org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtNameReferenceExpression'IDE. FIR
KT-45175FIR IDE: Exception with local property ininitblockKT-45199FIR IDE: Error while collecting diagnostic on stale element after replacing element in quickfixKT-45312FIR IDE: FIR plugin throws exception on synthetic functionIDE. Gradle Integration
KT-34401KotlinGradleModelBuilder builds models for non-kotlin modules and always trigger full task configuration.KT-45277Wrong jvm target in gradle module in IDEAKT-46488Import of a multiplatform project with MPP module depending on Kotlin/JVM one failsIDE. Inspections and Intentions
KT-45075Inspection: Redundant creation of Json formatKT-45347Sealed interfaces: quickfix to move to package/module of sealed class/interface should not be shown in case of read-only declarationKT-45348Sealed interfaces: show error for usage of sealed class/interface from a library in Java source codeKT-46063In multiplatform code, suggest to generate remainingwhenbranches at least for shared sealed classesIDE. Refactorings
KT-44431Quickfix to move class/interface to proper location: it is allowed to choose test source in JPS project while compiler does not allow itIDE. Native
KT-39320[Commonizer] Reduce memory consumptionJavaScript
KT-40235KJS: IR. Broken support for external interface companionKT-40689KJS / IR: strange and slow code for kotlin.math.max and kotlin.math.min for DoubleKT-44138KJS / IR: Constant folding works incorrectly with unsigned arithmeticKT-44394KJS / IR:nullcompanion object for existed stdlib interfacesNodeFilterandSVGUnitTypesKT-44950KJS / IR: "IllegalStateException: Can't find name for declaration" in case of extending export declared class without @JsExport annotationKT-45057KJS / IR: "ClassCastException" when usingjsfunction in init blockKT-45361KJS / IR:IrConstructorCallrepresenting annotation always returnsUnitKT-46608KJS: "Could not load content..." for source mapsKT-45655KJS: "REINTERPRET_CAST" is not copyableKT-45866Default parameter with generic in expect-actual declarationsKT-46859Exception during IR lowering: NullPointerException was thrown at: optimizations.FoldConstantLowering.tryFoldingUnaryOpsKMM Plugin
KT-43899KMM: Fix "stale framework" usage by XCode & AppCode in default build scriptLibraries
KT-43701Stdlib: Expand KDoc of inc() and dec() for operatorsKT-46002Support all Unicode digit chars in digitToInt (JS and Native)KT-46183Add default value for ignoreCase in K/N String.replace/replaceFirstKT-46184Equivalize isLowerCase and isUpperCase behavior in all platformsNative
KT-33175IR: String constants with incorrect surrogate pairs aren't preserved during serialization/deserializationKT-44799Different behavior with functional interfaces in Kotlin/Native on iOSNative. C Export
KT-42796[Reverse C Interop] Package with no public methods generate empty struct in the header, leading to an errorNative. ObjC Export
KT-38600Kotlin MP iOS Target doesn't contain kdoc commentsKT-45127KMM: hard to pass an error to Kotlin code from implementation of Kotlin method in Swift codeNative. Runtime. Memory
KT-45063Profiling indicates that a lot of time is spent on updateHeapRef on Apple platforms when running KMP codeReflection
KT-10838Provide sensible toString() for property accessors in reflectionKT-13490Equality doesn't work for KProperty.Accessor implementationsTools. CLI
KT-14772ISE (FNFE "Not a directory") on compilation with destination argument clashing with an existing file which is not a directoryKT-18184CompileEnvironmentException: Invalid jar path on "-d" with .jar in non-existing directoryKT-40977Report a readable diagnostic on empty -J argument in CLITools. Commonizer
KT-45497[Commonizer] c-interop commonization: Dependency commonizationKT-46077[Commonizer] Addcommonizer_targetto commonized klib's manifestKT-46107[Commonizer] CInteropCommonizerTask receives faulty dependencies in multi module projects containing multiple c-interopsKT-46248MPP: Compile KotlinMetadata fails with Unresolved reference if only one native platform from shared source set is availableKT-46856[Commonizer] Many targets can fail with 'filename too long'Tools. Compiler Plugins
KT-7112Support calling Lombok-generated methods within same moduleKT-45538Serialization, JVM IR: "AssertionError: No such type argument slot in IrConstructorCallImpl" with inner classesKT-45541JVM / IR / Serialization: NullPointerException caused by "Serializable" annotation and local data classKT-46469Kotlin Lombok: accessors withAccessLevel.MODULEfail to resolveKT-46529Kotlin Lombok: with@Accessorswithout explicitprefixthe prefix from lombok.config is not taken into accountKT-46531Kotlin Lombok:lombok.getter.noIsPrefixis processed depending on character caseKT-46920NullPointerException in CodeGeneratorVisitor when packing for xcodeTools. Gradle
KT-24533Kapt should not run when annotation processors are not configuredKT-43988Enable plugin validation during buildKT-45301Gradle: Emptybuild/kotlindir with custom build directoryKT-45519loadAndroidPluginVersion() impacts performance negatively and noticeably in multimodule Android buildKT-45744Create Kotlin Gradle Plugin JUnit5 basic test setupKT-45834Gradle Plugin read system property related to kotlinCompilerClasspath breaks use of configuration cacheKT-46401Deprecate 'kotlin.parallel.tasks.in.project' build propertyKT-46820Gradle: kotlinc (1.5.0) race condition causes a NullPointerExceptionKT-47317Restore 'kotlinPluginVersion' property in 'KotlinBasePluginWrapper'Tools. Gradle. JS
KT-42911Support Gradle configuration cache for K/JS tasksKT-45294KJS / Gradle: Number of modules in project affects JS tasks configuration cache state sizeKT-45754KJS / IR: Remove adding option of source maps in Gradle pluginKT-46178KJS / Dukat: Added as a dependency always without conditionKT-46976KJS: Broken support for dynamically createdwebpack.config.dKT-47045[Gradle, JS] Task requirements are added to all compilations with same nameTools. Gradle. Multiplatform
KT-36679MPP Gradle plugin: Improve messaging for the commonizerKT-45832CInteropCommonization: Filter out illegal dependenciesKT-46394Multiplatform: Gradle 7 supportKT-46517Add kotlin-project-model as api dependency to kotlin-gradle-plugin-apiTools. Gradle. Native
KT-27240MPP Gradle plugin: Provide a framework packing task for Kotlin/NativeKT-39016Missing stdlib when the downloading process was abortedKT-40907Xcode error after switching between device and simulator: Building for iOS, but the linked and embedded framework was built for iOS Simulator.KT-44059iosSimTest tasks are never up-to-dateKT-45801compileIosMainKotlinMetadata compilation property of gradle task is not initialized and fails withExecution failed for task ':shared:generateProjectStructureMetadata'KT-46680Register concrete "embedAndSign" tasks instead umbrellaKT-46892Kotlin Multiplatform Gradle Plugin: EmbedAndSign task always contains a default framework nameTools. Incremental Compile
KT-44741Incremental compilation: inspectClassesForKotlinIC doesn't determine changes with imported constantTools. JPS
KT-34351KotlinTargetsIndex creation takes too long even if project doesn't have any kotlinKT-45191[JPS] Marking method as "default" in Java SAM interface doesn't affect dependenciesKT-46242Support Lombok kotlin plugin in JPS and mavenTools. kapt
Performance Improvements
KT-28901Consider caching annotation processors classloadersFixes
KT-27123kapt: missing space in error log makes location non-clickableKT-29929[Kapt] Stub generator uses constant value in method annotation instead of constant name 2.KT-31146kapt: executableElement.getAnnotation(JvmOverloads::class.java) returns nullKT-32202Gradle task kaptKotlin fails: "module not found" in Java 11 modular applicationKT-34838Kapt: 'cannot find symbol' for a top-level property with anonymous delegateKT-35104Support @JvmStatic in KAPT stubsKT-35167Kapt Gradle plugin doesn't handle --module-path javac argumentKT-37586KAPT: When delegated property use an unknown type (to-be-generated class),correctTypeErrorwill mess up the$delegatefield typeKT-39060Kapt: correctErrorTypes don't retain return type of getter in Java stubKT-39715KaptGenerateStubsTask resolves annotation processor options too early (before execution time)KT-41581Kapt doesn't have line breaks between warningsKT-43804Kapt fails to preserve parameter names in open suspend functionsKT-43686KaptWithoutKotlincTask should use@CompileClasspathforkotlinStdlibClasspathfor cache relocateability.KT-45032Kapt: NullPointerException: insnList.first must not be nullKT-46176Kapt: "java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 3" with delegation and property referencev1.5.10Compiler
Fixes
KT-41078Incorrect type substitution in contracts with type parametersKT-44770JVM / IR: "IllegalArgumentException: Unrecognized Type: [null]" Jackson doesn't recognize typeKT-45084JVM IR: "NoSuchElementException: Sequence contains no element matching the predicate" when inline class is passed to lambda with >22 parametersKT-45779JVM / IR: java.lang.NoSuchMethodError: 'int java.lang.Integer.plus(int)' caused by function referenceKT-45941JVM IR: local functions use generic type parameters of the outer class in the bytecode, which breaks Bytebuddy and MockKKT-46149Generate synthetic classes for SAM adapters with erased instead of generic supertypeKT-46189JVM IR: tailrec function with capturing lambda in default parameter value leads to NoSuchMethodError at runtimeKT-46214JVM / IR: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" on a suspend function in an inner classKT-46238JVM IR: BootstrapMethodError in JDK 11+ on intersection type passed in arguments of SAM adapter where SAM interface's type parameter has a non-trivial upper boundKT-46259JVM IR: local function for adapted function reference is not declared as ACC_SYNTHETICKT-46284JVM IR: "Unbound private symbol IrClassSymbol" on class reference to script classKT-46402IllegalAccessError: "CapturedLambdaInterpreter (in unnamed module @0x71b06418) cannot access class jdk.internal.org.objectweb.asm.Type" caused by inline function with a suspend parameter in Maven projectKT-46408JVM IR: BootstrapMethodError due to missing bridge for subclass of generic Java interfaceKT-46426JVM IR: Corrupted .class file when passing Array constructor reference as (inline) lambdaKT-46455OOM on parsing invalid code with string interpolationKT-46503JVM IR: "AssertionError: Unexpected variance in super type argument: out @1"KT-46505JVM IR: NullPointerException caused by a callable reference with nullable inline value class parameterKT-46512JVM / IR: NoSuchMethodError on SAM conversion of a function referenceKT-46515IndexOutOfBoundsException: "Empty list doesn't contain element at index 0." on bad variable name in 1.5.0KT-46516JVM IR: "AnalyzerException: Expected I, but found R" on subclassing AbstractMutableListKT-46524Cannot use unsigned literals with api-version < 1.5 even with opt-inKT-46537JVM / IR: "IllegalStateException: No noarg super constructor for CLASS" caused by "No-arg" plugin with annotation on child classKT-46540JVM / IR: AnalyzerException: Expected an object reference, but found J caused by java.function.SupplierKT-46554JVM IR: "IllegalStateException: No mapping for symbol: VAR IR_TEMPORARY_VARIABLE" with value class constructor delegation callKT-46555JVM IR: IllegalAccessError when using Java method referenceKT-46562Kotlin 1.5.0 generates non-serializable lambdas when they should be serializableKT-46568JVM IR: "AssertionError: IrCall expected inside JvmStatic wrapper" on compiling protected static function with return type Nothing inside companion object of abstract classKT-46574JVM / IR: ClassCastException caused by runBlocking awaiting call while returning Kotlin.Result type.KT-46579JVM IR: "IllegalArgumentException: Sequence contains more than one matching element" for Java enum with overloConfiguration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.