node-auth-flutter-BLoC-pattern-RxDart
node-auth-flutter-BLoC-pattern-RxDart copied to clipboard
fix(deps): update kotlin_version to v1.7.20
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.jetbrains.kotlin:kotlin-stdlib-jdk7 (source) | 1.6.10 -> 1.7.20 |
||||
| org.jetbrains.kotlin:kotlin-gradle-plugin (source) | 1.6.10 -> 1.7.20 |
Release Notes
JetBrains/kotlin
v1.7.20
Analysis API
KT-52667FIR IDE: fun interfaces (SAM interfaces) are not properly resolvedKT-52136FIR: Implicit type declaration from the other module cannot be used for overloading
Analysis API. FE1.0
KT-51962Analysis API: Finish Analysis API for FE1.0
Analysis API. FIR
KT-52779FIR IDE: Import Optimizer cannot handle generic type qualifiersKT-50236Fix OOB modification trackers for non-Kotlin codeKT-51240Analysis API: KtAnalysisSession for a specific module cannot create a symbol for PSI that cannot be seen from that module.KT-50868Analysis API: decompiled type aliases are not resolved
Compiler
KT-53739Builder inference, extension hides membersKT-53733Kotlin/Native: update source documentation for the new default memory managerKT-53667Compiler crashes on attempt to alloc a string on the stack in new MMKT-53480Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$stringKT-52843Compose: NPE at Parameters.getParameterByDeclarationSlot if inline function with default arguments takes a lambda which captures value class represented by LongKT-53475Kotlin/Native for iOS: "IllegalArgumentException: Sequence has more than one element"
New Features
KT-52495Support until operator in back-endsKT-52420Implement resolve of until operatorKT-52419Implement until operator in the parserKT-33755Kotlin/Native: Provide a way to customize a bundle Identifier of a generated frameworkKT-51665FIR: implement label resolve for "typed this" caseKT-52361Report warning on potentially empty intersection types
Performance Improvements
KT-47816Disable script discovery for non-script environmentsKT-48635JVM IR: Double/Float values are boxed when comparing for equality in equals method of data/value classesKT-23397Optimize out field for property delegate when it's safe (JVM)
Fixes
KT-53272Backend Internal error: Exception during IR lowering / No such value argument slot: 2KT-53124Receiver type mismatch when combining extension properties, type projections, Java sources, and F-bounded type-variablesKT-51868JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interfaceKT-36770Prohibit unsafe calls with expected@NotNullT and given Kotlin generic parameter with nullable boundKT-52974"IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP projectKT-53007JVM: "Bad invokespecial instruction: current class isn't assignable to reference class" when call superclass of outer class method from inner classKT-53019K2: cannot cast callable reference to Function1 in runtimeKT-53031K2 compiler crashes with IllegalStateException: No type in ProtoBuf.ValueParameterKT-29168Prohibit upper bounds violation with generic typealias using not all type parameters as arguments for underlying type in supertypesKT-52432Using the IDE compiled with K2 (useFir) throws VerifyError exceptionKT-52327False negative: TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM isn't reportedKT-49682Support JVM IR in KAPT stub generationKT-24643Prohibit using a type parameter declared for an extension property inside delegateKT-51972FIR, Gradle: "Symbol is invisible" compilation error with enabled Kotlin Lombok compiler pluginKT-52011[FIR] All-open compiler plugin isn't supportedKT-51950JVM IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" with crossinline lambdas and interface delegationKT-52540Native: kotlin.NotImplementedError with Arrow libraryKT-48031"IllegalStateException: Type variable TypeVariable(T) should not be fixed!"KT-47708RequiresOptIn check does not flag experimental method usage in SAM lambda expressionsKT-52913JVM / IR: "IllegalArgumentException: Inline class types should have the same representation" when trying to down cast cast a value classKT-50771IR partial linkage: Removed abstract callable members are not supportedKT-52994Enable generic inline classes as experimental featureKT-52742CYCLE_IN_ANNOTATION_PARAMETER_ERROR false positive on annotations with default valuesKT-52743Non-null generic functions throws NPE when assigned to valKT-52745Frontend / K2: "IncompatibleClassChangeError: class A$B overrides final method A.length()I" caused by delegation in a sealed classKT-52832Tree-generator's method FirExpression::isFirType returns true and false for different field names; it should always be trueKT-52403IncompatibleClassChangeError when inlining suspend funsKT-50107Missed USAGE_IS_NOT_INLINABLE diagnostic: Leaking inline lambda parameter through extension receiverKT-47965Missed USAGE_IS_NOT_INLINABLE diagnostic on inline lambda parameter usage as receiver of .let callKT-25787No error on crossinline usage of receiver parameter of functional type in an inline functionKT-52762Frontend / K2: Named arguments for Java classes lead to "Cannot find a parameter with this name"KT-52680K2: overload resolution ambiguity ifthisis casted in a different methodKT-52676K2: Unsupported compile-time value IrGetFieldImpl instead of IrConst in AnnotationCodegen for constant from JavaKT-50293False positive: USELESS_CAST on stub typesKT-52175WRONG_ANNOTATION_TARGET for annotation that used inside ifKT-52338"IncompatibleClassChangeError: Expected non-static field" with Kotlin class with same-named companion object property as base Java class fieldKT-49507JVM: "IllegalAccessError: class X tried to access private field" with same-named Kotlin property and Java base class fieldKT-44512FIR DFA: incorrect smartcast after null assignment inside a lambdaKT-49200FIR/FE 1.0: different behavior with multiple matching star importsKT-52718declaringClass deprecation message mentions the wrong replacement in 1.7KT-52190FIR2IR: Unexpected IrErrorTypeImpl type for put method inside buildMapKT-52197Incorrect inference of var type inside lambda that passed to extension function with type parameters that defined inside this lambdaKT-52057Unsupported compile-time value STRING_CONCATENATION and GET_FIELD in annotation argumentsKT-47823JVM IR: "IllegalArgumentException: Inline class types should have the same representation" withbreakusage in the loop rangeKT-51883Kotlin 1.6.20 generates "-" in type names around lambdas and inline extension function with reified type which breaks Apache BeamKT-52684Syntax error regression on complicated combination of LT and GTEQKT-52417Reflection: Can't reflect on type parameters captured by SAM converted lambdaKT-46797JVM IR: suspendImpl has no generic signature, breaking reified types in anonymous object supertypes when using the type token patternKT-51464FIR: Unable to infer type in coroutines flow codeKT-52163JVM IR: Double.compareTo(Int) compiled to integer comparisonKT-41980FIR: erroneous scope during annotation resolveKT-47159KtPsiUtils.areParenthesesUseless()is returning a false positive on expressions for interface delegationKT-51418Substitute anonymous type's supertypesKT-35544kotlin.TypeCastException has no message on NativeKT-52386StackOverflowError during Kotlin/Native gradle buildKT-52592NPE from KProperty.getExtensionDelegate on property delegated to another propertyKT-52551Delegating to object property reference does not invoke object's initializerKT-51704Contracts: "AssertionError: Arguments and parameters size mismatch" with companion objectKT-25527False positive UNUSED_VALUE for delegated property/variableKT-51002[FIR] Hidden declaration hides visible oneKT-51008[FIR] Star import does not work for nested calssifiers of java classKT-52407FIR: Star import has lower priority than built-in importKT-52431Reported error instead of warning due to empty intersection type foundKT-49394Bad message and suggestion: The feature "unit conversion" is disabledKT-51168FIR: Inference error with Java interop and captured typesKT-49961"AssertionError: Left expression was not processed: BINARY_EXPRESSION" when analyzing dangling [bracketed] expression inside elvisKT-50108Difference in fun interface conversion behavior for uninitialized not-null function valuesKT-51889Calls to super-classes constructors with context receivers fail on runtimeKT-51228[FIR] Unresolved reference on callable reference on implicitthiswith smartcastKT-52364False positive for INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTIONKT-52237JVM / IR: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER CONTINUATION_CLASS" when implementing Map interface on class with suspending functionsKT-50832Method references to suspend inline functions are processed incorrectlyKT-52194False positive "Class 'my.packge.MyClass' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler" but builds fineKT-47203JVM Debugger: Parameter value doesn't change for tailrec functionKT-52131False positive variable unused warning when calling inline function in finally blockKT-51738Debugger: stepping over in inline function with multiple inline lambda invocations is incorrectKT-52198Losing reference to the value of an outer variable (Ref$ObjectRef) when using suspend inline with suspendCancellableCoroutineKT-50994FIR: AssertionError during inference of delegated properties with implicit typesKT-51757FIR does not see various JS/Native specific declarations in common modulesKT-51201FIR: ARGUMENT_TYPE_MISMATCH diagnostic contains generic parameter instead of the actual typeKT-48444FIR: type argument rejected for annotationKT-51754JVM: Local variable table invalid for do-while with continueKT-51936Breakpoint not hit on last line of suspend function on AndroidKT-27333Forbid@Synchronizedannotation on suspend functionsKT-51530"StackOverflowError: CoroutineTransformerMethodVisitor.spillVariables" with data class in FlowKT-51460FIR: Protected property inaccessible from inner classKT-53947IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVERKT-51234Context receivers can be duplicated in function declarationKT-51576Context receivers: "AssertionError: Callers must check that current token is IDENTIFIER followed with '@'" withatcharacterKT-49479JVM / IR: "IllegalStateException: IrErrorType" during IR lowering with non-trivial recursion callsKT-52270NullPointerException caused by braces on if-else returning a method reference inside lambdaKT-47621False negative INVISIBLE_MEMBER on call to inaccessible protected synthetic property setterKT-37796NI: "ISE: Error type encountered" when inferring type of a property that delegates to itselfKT-45430PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression: toString()" with recursive function call in "also" block in nontrivial contextKT-52691K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl with intertwined functional interfacesKT-52822Fix contract for KtElement.getReference()KT-50223IndexOutOfBoundsException fromClassicTypeSystemContext$DefaultImpls.getParameterduring call resolutionKT-51963Change Maven version to 1.7.255KT-47664Incorrect type checking in the case of generic typesKT-48765NI: Inferred type does not respect the bound of type variableKT-51243False positive error "No required context receiver" inside contextual lambdaKT-43541TYPE_MISMATCH for member function which is not occur for top level function during unsafe castKT-51016[FIR] False positive OVERLOAD_RESOLUTION_AMBIGUITY between two extensions on different supertypesKT-50155FIR: support contextual receiversKT-38637Catch NoSuchFieldException in optimized when expression over enum
Docs & Examples
KT-49896Kotlin/JS: improve-Xir-property-lazy-initializationdescription due to making it true by default
IDE
KTIJ-22286Kotlin JPS project created via wizard does not contain Kotlin libraries in case of not-released versionKTIJ-22065IDE notification motivating Kotlin users to use EAPKTIJ-22209Configure Kotlin on 221 idea adds 1.6.10 Kotlin (despite the fact that IDE plugin is 1.7.10)KTIJ-22171Fix test BuiltInDecompilerConsistencyTestKTIJ-22016Empty .kt file and build.gradle.kts can trigger an error while searching for a facade light classKT-52571MPP Tasks on import are not up-to-date after subsequent launchesKT-47777ISE thrown from KtLightClassForFacadeImpl.Companion.createForFacadeNoCache has wrong message.
IDE. FIR
KT-52360FIR IDE: Make the fix ofisInheritormethod betterKT-51786FIR IDE: IllegalStateException exception in Inspections' infrastructureKT-52331Analysis API: ArrayIndexOutOfBoundsException exception in Diagnostics' infrastructure
IDE. Code Style, Formatting
KTIJ-21346Incorrect formatting for functions with context receivers and visibility modifiers
IDE. Completion
KTIJ-21910FIR IDE: Fix completion tests started failing after visibility checker refinement
IDE. Decompiler, Indexing, Stubs
KTIJ-21243ContextReceivers: "UpToDateStubIndexMismatch: PSI and index do not match" plugin exception on library with context receivers usage attempt
IDE. Gradle Integration
KT-47627IDE import fails with com.intellij.util.lang.PathClassLoader error forrunCommonizerGradle task on 212, 213 IDEAsKTIJ-21638MPP: IntelliJ can not resolve MPP references in common-codeKT-52216HMPP / KTOR: False positive "TYPE_MISMATCH" with Throwable descendant
IDE. Inspections and Intentions
KTIJ-22540Invalid "remove unnecessary parentheses" when delegating a functional interface to a SAM in brackets
IDE. J2K
KTIJ-21665J2K generates non compiling code when liftingreturnand one branch is broken before binary operator
IDE. JS
KTIJ-22337Wizard: Kotlin/Js for browser: cssSupport DSL should be updated
IDE. K2
KTIJ-21672FIR IDE: Method reference on generic class breaks resolveKTIJ-21714FIR IDE: Inherently imported type from another module is not properly resolved
IDE. Script
KT-52525Update scripts handling in source roots
IDE. Misc
KTIJ-21699Refactoring: move out parts of the plugin useful for both FE10 and K2
JavaScript
New Features
KT-39423KJS: Optionally generate a method to handle optional parameters for function in typescriptKT-42282KJS IR: add an ability to run separate tests
Performance Improvements
KT-50270KJS IR: Unnecessary getter and setter calls when accessing class members
Fixes
KT-51133Kotlin/JS - IR: even simple lambdas generate a lot of useless boilerplateKT-51123Provide a way to add comments to generated JSKT-48493KJS / IR: Invalid d.ts for inner classes inside objectsKT-52553KJS / IR: diamond hierarchy with super.toString produces stack overflow in runtimeKT-23252JS: Unit materialization on declaration and assignmentKT-51128Kotlin/JS - IR generate huge count of useless blocksKT-50778KJS/IR: Inline class has no field when building production distributionKT-50157KSJ IR: Applying identity equality operator to Chars always returns falseKT-38262Javascript generation (and Typescript) fails on 'then', 'catch' and 'finally' (and others?) claiming they are reserved namesKT-51066KJS / IR: suspend lambda parameter of value class is undefinedKT-51102KJS/IR: Assertion failed at translateCallArguments(jsAstUtils.kt:343)KT-51878KJS / Legacy: Unit is not materialized in an overridden method, but it should be
Language Design
KT-47986Implicit inferring a type variable into an upper bound in the builder inference contextKT-49264Deprecate infix function calls of functions named "suspend" with dangling function literalKT-25636Native: Object is frozen by default problemKT-49303Implement support for basic compile-time evaluation
Libraries
KT-52932Open-ended ranges in the standard libraryKT-52910Provide visit extension functions for java.nio.file.PathKT-48232Multiplatform function for computing cubic rootKT-52778The documentation for theDurationdoes not indicate any differences from the ISO-8601KT-52618ThreadLocalRandom is not a good source of randomness on Android before SDK 34, so don't use it for Kotlin Random
Native
KT-53346MPP project with kotlinx-serialization-json:1.4.0-RC is not built
Native. C Export
KT-45468Kotlin/Native: Bitcode verification error when trying to export a cached klib to a static or dynamic library
Native. C and ObjC Import
KT-53373Native: @ExportObjCClass doesn't work with the new memory managerKT-49034Kotlin/Native:cnames.structs.Fooresolves into wrong declarationKT-26478Objective-C object's class name is null in ClassCastException's message
Native. ObjC Export
KT-51593Include more information in Objective-C header documentationKT-33117Improve customizing Info.plist in produced frameworksKT-52681Native:@end;for Objective-C is generated with an unnecessary semicolon
Native. Platforms
KT-52226Kotlin/Native: Add support for cross-compilation of MIPS targets from macOS and Windows hosts
Native. Runtime
KT-52430KMM 1.6.21 framework built with Xcode13, new MM GC Can't support iOS 9.xKT-53534Kotlin/Native:-Xruntime-logs=gc=infoflag doesn't work with compiler caches in 1.7.20-beta
Native. Runtime. Memory
KT-52692Kotlin/Native: fix tests with aggressive GCKT-52130Kotlin/Native: use Xallocator for Kotlin objects onlyKT-51436Kotlin/Native: optimize mark queue
Reflection
KT-51804An error occurs when callBy a KFunction that contains a value class as an argument, has a default argument set, and has more than 32 arguments.
Tools. CLI
KT-52465CLI: IllegalStateException IrSimpleFunctionPublicSymbolImpl when source root is duplicatedKT-52380Invalid path to compiler plugins should be reported as a compiler errorKT-51025JVM CLI compiler takes class file from classpath instead of input java source fileKT-51846Setting random value to the compiler argument where number is expected should produce an error. "-Xbackend-threads=abcd"
Tools. Compiler Plugins
KT-52486[K2] Looking for function/constructor whose parameters are annotated or meta annotatedKT-52872Mark supportsK2 in ComponentRegistrar.kt as JvmDefault to avoid compatibility problemsKT-52804A function obtained by Fir IrBuiltins has an incorrect packageKT-52468Rename module and jar for lombok compiler plugin
Tools. Gradle
KT-53670Gradle: Cyclic dependency between kotlin-gradle-plugin-idea-1.7.20-Beta and kotlin-gradle-plugin-idea-proto-1.7.20-BetaKT-53615Gradle: Fix deprecation warnings in CleanableStoreImplKT-53118Fully up-to-date builds are slower with Kotlin 1.7.0KT-51923Improve usability of errors and warnings by being able to click on themKT-53244Report from gradle about compiler pluginsKT-52839Warn in Gradle log why incremental compilation failedKT-46019Compatibility with Gradle 7.1 releaseKT-47047Migrate Kotlin Gradle Plugin from using Gradle conventionsKT-52698Don't add InspectClassesForMultiModuleIC task when new incremental compilation is enabledKT-52867Provide simplified JVM toolchain configuration methodKT-45747Add basic JUnit 5 Kotlin Gradle Plugin Android tests setupKT-46034Shadow Kotlin Gradle plugin dependenciesKT-28664Support ExtensionContainer on kotlin targets and source sets.KT-19472Useful extensions of Gradle Kotlin DSL provided by Gradle Kotlin pluginKT-34393Kotlin Gradle DSL: Inconsistent srcDir configuration between Java and KotlinKT-51629There isn't enough info about incremental compilation state in logs while running build with --info key
Tools. Gradle. Cocoapods
KT-53174CocoaPods: Synthetic Podfile does not specify platformKT-53127"MaterialComponents normal armv7" in Cocoapods plugin between Kotlin 1.6.21 and 1.7.0KT-44155Cocoapods doesn't support pods without module map file insideKT-49032Cocoapods cinterop: some header files are not foundKT-53337Add warning about future changing default linking type of framework provided via cocoapods plugin
Tools. Gradle. JS
KT-52637KJS / Gradle: Add SCSS webpack configKT-51527Kotlin/JS: BrowserXRun causes full-screen Webpack error "Compiled with problems: asset size limit/entrypoint size limit" for fresh Kotlin-React project from wizardKT-51532Kotlin/JS: passing environment variable via Gradle script causes "Execution optimizations have been disabled" warningsKT-52221Kotlin/JS: failed Node tests are not reported in a standard way
Tools. Gradle. Multiplatform
KT-52243CInteropProcess is not cacheable despite the annotationKT-52741MPP: klib outputs are not reproducibleKT-52208MPP: Gradle plugin 1.7 doesn't support latest api versions (1.8, 1.9)KT-54071MPP/AGP compatibility: Bump maxSupportedVersion to 7.3.0
Tools. Gradle. Native
KT-52632Gradle / Native: commonizeNativeDistributionTask can never be up-to-dateKT-52328"ld: framework not found SQLCipher" linkDebugTestIosSimulatorArm64 error
Tools. Incremental Compile
KT-53168Incremental compilation doesn't perform correctly after a few iterationsKT-52925[IR BE] Non incremental build occurs after build failure for compileKotlinJs taskKT-52946CompileKotlinJs task is executed non-incrementally if there were changes made to the dependant moduleKT-52329Reduce memory usage of classpath snapshot cacheKT-53266Increment Compilation: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing companion object constant fieldKT-53231New IC reports build failures for missing classpath snapshots
Tools. JPS
KT-47824'when expression must be exhaustive' isn't thrown during incremental compilationKT-51873JPS build is incorrect after gdw buildKTIJ-17072JPS does not rebuild Kotlin usages of declared in Java when enum entry is addedKT-51537Rebuild module on plugin classpaths change
Tools. REPL
KT-45065REPL: Incorrect output for unsigned valueKT-53043Scripting: Changes in REPL protocol: mark end of errors
Tools. Scripts
KT-52598Scripts and REPL snippets are not checked against using 'kotlin' packageKT-47187Kotlin ScriptEngine Failes to Compile a Trivial Statement After Failing to Compile a Broken OneKT-47191[Kotlin Script Engine] Compiling Without Evaluating Leaves Engine in a Bad State
Tools. Kapt
KT-52761Kotlin 1.7.0 breaks kapt processing for protobuf generated java sources
v1.7.10
Compiler
KT-52702Invalid locals information when compilingkotlinx.collections.immutablewith Kotlin 1.7.0-RC2KT-52892Disappeared specific builder inference resolution ambiguity errorsKT-52782Appeared receiver type mismatch error due to ProperTypeInferenceConstraintsProcessing compiler featureKT-52718declaringClass deprecation message mentions the wrong replacement in 1.7
IDE
Fixes
KTIJ-19088KotlinUFunctionCallExpression.resolve() returns null for calls to @JvmSynthetic functionsKTIJ-19624NoDescriptorForDeclarationException on iosTest.kt.vmKTIJ-21515Load JVM target 1.6 as 1.8 in Maven projectsKTIJ-21735Exception when opening a projectKTIJ-17414UAST: Synthetic enum methods have null return valuesKTIJ-17444UAST: Synthetic enum methods are missing nullness annotationsKTIJ-19043UElement#comments is empty for a Kotlin property with a getterKTIJ-10031IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex. @Serializable)KTIJ-21151Exception about wrong read access from "Java overriding methods searcher" with Kotlin overridesKTIJ-20736NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.idea.roots.KotlinNonJvmOrderEnumerationHandler. Kotlin plugin 1.7 fails to startKTIJ-21063IDE highlighting: False positive error "Context receivers should be enabled explicitly"KTIJ-20810NoClassDefFoundError: org/jetbrains/kotlin/idea/util/SafeAnalyzeKt errors in 1.7.0-master-212 kotlin plugin on project openKTIJ-17869KotlinUFunctionCallExpression.resolve() returns null for instantiations of local classes with default constructorsKTIJ-21061UObjectLiteralExpression.getExpressionType() returns the base class type for Kotlin object literals instead of the anonymous class typeKTIJ-20200UAST: @Deprecated(level=HIDDEN) constructors are not returning UMethod.isConstructor=true
IDE. Code Style, Formatting
KTIJ-20554Introduce some code style for definitely non-null types
IDE. Completion
KTIJ-14740Multiplatform declaration actualised in an intermediate source set is shown twice in a completion popup called in the source set
IDE. Debugger
KTIJ-20815MPP Debugger: Evaluation of expect function for the project with intermediate source set may fail with java.lang.NoSuchMethodError
IDE. Decompiler, Indexing, Stubs
KTIJ-21472"java.lang.IllegalStateException: Could not read file" exception on indexing invalid class fileKTIJ-20802Definitely Not-Null types: "UpToDateStubIndexMismatch: PSI and index do not match" plugin error when trying to use library function with T&Any
IDE. FIR
KTIJ-20971FIR IDE: "Parameter Info" shows parameters of uncallable methodsKTIJ-21021FIR IDE: Completion of extension function does not work on nullable receiverKTIJ-21343FIR IDE: Navigation from explicit invoke call does not workKTIJ-21013FIR IDE: Inconsistent smartcasts highlightingKTIJ-21374FIR IDE: Incorrect highlighting for operatorsKTIJ-20443FIR IDE: Work in Dumb modeKTIJ-20852FIR IDE: Exception when checkingisInheritoron two classes in different modulesKTIJ-20637FIR IDE: Strange exception while commenting-uncommenting FirReferenceResolveHelper.kt
IDE. Gradle Integration
KTIJ-21807Gradle to IDEA import: language and API version settings are not imported for Native facetKTIJ-21692Kotlin Import Test maintenance: 1.7.0-BetaKTIJ-20567Kotlin/JS: Gradle import into IDEA creates no proper sub-modules, source sets, facets
IDE. Hints. Inlay
KTIJ-20552Support definitely non-null types in inlay hints
IDE. Inspections and Intentions
New Features
KTIJ-18979Quickfix for INTEGER_OPERATOR_RESOLVE_WILL_CHANGE to add explicit conversion callKTIJ-19950Provide quickfixes forINVALID_IF_AS_EXPRESSION_WARNINGandNO_ELSE_IN_WHEN_WARNINGKTIJ-19866Create quick-fix for effective visibility error on private-in-file interface exposing private classKTIJ-19939Provide quickfix for deprecated confusing expressions in when branches
Fixes
KTIJ-20705Register quickfix forNO_CONSTRUCTOR_WARNINGdiagnosticKTIJ-21226"Remove else branch" quick fix is not suggestedKTIJ-20981Definitely non-null types: quick-fixes suggested incorrectly for LV=1.6 when Xenhance-type-parameter-types-to-def-not-null flag is setKTIJ-20953Add quickfix for OVERRIDE_DEPRECATION warning to 1.7 - 1.9 migrationKTIJ-20734Replace with [@JvmInline] value quick fix should be appliable on a whole projectKTIJ-21420Add 'else' branch quick fix suggestion is displayed twice in case 'if' isn't completedKTIJ-21192"Make protected" intention is redundant for interface propertiesKTIJ-18120"Make public" intention does not add explicit "public" modifier when using ExplicitApi Strict modeKTIJ-20493"Create expect" quick fix doesn't warn about platform-specific annotations
IDE. Misc
KTIJ-21582Notification for Kotlin EAP survey
IDE. Native
KTIJ-21602With Native Debugging Support plugin Gradle run configurations can't be executed from IDEA: LLDB_NATVIS_RENDERERS_ENABLED
IDE. Wizards
KTIJ-20919Update ktor-html-builder dependency in kotlin wizardsKTIJ-20962Wizard: Invalid Ktor imports
Tools. Gradle
KT-52777'org.jetbrains.kotlinx:atomicfu:1.7.0' Gradle 7.0+ plugin variant was published with missing classes
Tools. Gradle. JS
KT-52856Kotlin/JS: Upgrade NPM dependencies
Tools. Gradle. Multiplatform
KT-52955SourceSetMetadataStorageForIde: Broken 'cleanupStaleEntries' with enabled configuration caching or isolated ClassLoadersKT-52694Kotlin 1.7.0 breaks Configuration Caching in Android projects
Tools. Incremental Compile
KT-52669Full rebuild in IC exception recovery leaves corrupt IC data
Tools. JPS
KTIJ-17280JPS: don't use java.io.File.createTempFile as it is not working sometimesKTIJ-20954NPE at at org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil.readNameResolver on compiling by JPS with LV > 1.7
v1.7.0
Analysis API. FIR
KT-50864Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign targetKT-50252Analysis API: Implement FirModuleResolveStates for librariesKT-50862Analsysis API: do not create use site subsitution override symbols
Analysis API. FIR Low Level API
KT-50729Type bound is not fully resolvedKT-50728Lazy resolve of extension function from 'kotlin' package breaks over unresolved typeKT-50271Analysis API: get rid of using FirRefWithValidityCheck
Backend. Native. Debug
KT-50558K/N Debugger. Error is not displayed in variables view for catch block
Compiler
New Features
KT-26245Add ability to specify generic type parameters as not-nullKT-45165Remove JVM target version 1.6KT-27435Allow implementation by delegation to inlined value of inline classKT-47939Support method references to functional interface constructorsKT-50775Support IR partial linkage in Kotlin/Native (disabled by default)KT-51737Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targetsKT-44249NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order function
Performance Improvements
KT-48233Switching to JVM IR backend increases compilation time by more than 15%KT-51699Kotlin/Native: runtime has no LTO in debug binariesKT-34466Use optimized switch over enum only when all entries are constant enum entry expressionsKT-50861FIR: Combination of array set convention and plusAssign works exponentiallyKT-47171For loop doesn't avoid boxing with value class iterators (JVM)KT-29199'next' calls for iterators of merged primitive progressive values are not specializedKT-50585JVM IR: Array constructor loop should use IINCKT-22429Optimize 'for' loop code generation for reversed arraysKT-50074Performance regression in String-based 'when' with single equality clauseKT-22334Compiler backend could generate smaller code for loops using range such as integer..array.size -1KT-35272Unnecessary null check on unsafe cast after not-null assertion operatorKT-27427Optimize nullable check introduced with 'as' cast
Fixes
KT-46762Finalize support for jspecifyKT-51499@file:OptIn doesn't cover override methodsKT-52037FIR: add error in 1.7.0 branch if run with non-compatible pluginsKT-46756Release the K2/JVM compiler in AlphaKT-49715IR: "IllegalStateException: Function has no body: FUN name:toString" during IR lowering with shadowed extension inside interfaceKT-45508False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class memberKT-28078Report error "Public property exposes its private type" for primary constructor properties instead of warningKT-49017Forbid usages of super or super<Some> if in fact it accesses an abstract memberKT-38078Prohibit calling methods from Any with "super" qualifier once they are overridden as abstract in superclassKT-52363Evaluate impact of qualifiedthisbehavior change warningsKT-52561JVM: Coroutine state machine loses value after a check-induced smart castKT-52311java.lang.VerifyError: Bad type on operand stackKT-41124Inconsistency of exceptions at init block for an enum entry with and without a qualifier nameKT-46860Make safe calls always nullableKT-52503New green code appeared at the callable reference resolutionKT-51925Native: "IllegalStateException: Symbol for kotlinx.cinterop/CStructVar|null[0] is unbound" caused by inline functionKT-49317"IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameterKT-51844New errors in overload resolution involving vararg extension methodsKT-52006"java.lang.Throwable: Unbalanced tree Exception" on indexing kotlin projectKT-51223Report warning about conflicting inherited members from deserialized dependenciesKT-51439FE 1.0: implement type variance conflict deprecation on qualifier type argumentsKT-51433FE 1.0: implement warnings about label resolve changesKT-51317Regression in resolution of lambdas where expected type has an extension receiver parameterKT-45935JVM IR: Add not-null assertion for explicit definitely not-null parametersKT-51818"ClassCastException: class CoroutineSingletons cannot be cast to class" with suspendCoroutineUninterceptedOrReturn and coroutinesKT-51718JVM / IR: "VerifyError: Bad type on operand stack" caused by nullable variable inside suspend functionKT-51927Native:The symbol of unexpected type encountered during IR deserializationerror when multiple libraries have non-conflicting declarations with the same nameKT-52394JVM: Missing annotation on method with value class return type when a subclass is present in the same file in Kotlin 1.7.0-BetaKT-51640FIR: remove warning about "far from being production ready"KT-45553FIR: support hiding declaration from star import by as importKT-52404Prolong deprecation cycle for errors at contravariant usages of star projected argument from JavaKT-50734TYPE_MISMATCH: NonNull parameter with a type of Nullable type argument causes compiler warningKT-51235JVM / IR: "AbstractMethodError: Receiver class does not define or inherit an implementation of the resolved method" when property with inline class type is overridden to return Nothing?KT-48935NI: Multiple generic parameter type constraints are not applied as expected when the parameter is of function typeKT-49661NI: No TYPE_INFERENCE_UPPER_BOUND_VIOLATED when argument is inferred by return typeKT-50877Inconsistent flexible typeKT-51988"NPE: getContainingDeclaration…lDeclarationType.REGULAR) must not be null" when using @BuilderInference with multiple type argumentsKT-48890Revert Opt-In restriction "Overriding methods can only have opt-in annotations that are present on their basic declarations."KT-52035FIR: add error in 1.7.0 branch if run on JS / Native configurationKT-45461NI: False negative TYPE_INFERENCE_UPPER_BOUND_VIOLATED when passing an argument to a function with generic constraintsKT-52146JVM IR: "AssertionError: Primitive array expected" on vararg of SAM types with self-type and star projectionKT-50730Implement error for a super class constructor call on a function interface in supertypes listKT-52040JVM: ClassFormatError Illegal method name "expectFailure$__proxy-0" KT-50845Postpone rxjava errors reporting in the strict mode till 1.8 due to found broken casesKT-51979"AssertionError: No modifier list, but modifier has been found by the analyzer" exception on incorrect Java interface overrideKT-51759FIR DFA: false positive "Variable must be initialized"KT-50378Unresolved reference for method in Jsoup library in a kts script fileKT-34919"Visibility is unknown yet" when named parameter in a function type used in a typealias implemented by an abstract class- [
KT-51893](https://youtrack.jetbrains.com/issue/K
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.