Bumps kotlin_version
from 1.6.20 to 1.7.20.
Updates kotlin-gradle-plugin
from 1.6.20 to 1.7.20
Release notes
Sourced from kotlin-gradle-plugin's releases.
Kotlin 1.7.20
1.7.20
Analysis API
KT-52667
FIR IDE: fun interfaces (SAM interfaces) are not properly resolved
KT-52136
FIR: Implicit type declaration from the other module cannot be used for overloading
Analysis API. FE1.0
KT-51962
Analysis API: Finish Analysis API for FE1.0
Analysis API. FIR
KT-52779
FIR IDE: Import Optimizer cannot handle generic type qualifiers
KT-50236
Fix OOB modification trackers for non-Kotlin code
KT-51240
Analysis API: KtAnalysisSession for a specific module cannot create a symbol for PSI that cannot be seen from that module.
KT-50868
Analysis API: decompiled type aliases are not resolved
Compiler
KT-53739
Builder inference, extension hides members
KT-53733
Kotlin/Native: update source documentation for the new default memory manager
KT-53667
Compiler crashes on attempt to alloc a string on the stack in new MM
KT-53480
Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$string
KT-52843
Compose: NPE at Parameters.getParameterByDeclarationSlot if inline function with default arguments takes a lambda which captures value class represented by Long
KT-51868
JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interface
KT-53475
Kotlin/Native for iOS: "IllegalArgumentException: Sequence has more than one element"
New Features
KT-52495
Support until operator in back-ends
KT-52420
Implement resolve of until operator
KT-52419
Implement until operator in the parser
-
KT-33755
Kotlin/Native: Provide a way to customize a bundle Identifier of a generated framework
KT-51665
FIR: implement label resolve for "typed this" case
KT-52361
Report warning on potentially empty intersection types
Performance Improvements
KT-47816
Disable script discovery for non-script environments
KT-48635
JVM IR: Double/Float values are boxed when comparing for equality in equals method of data/value classes
KT-23397
Optimize out field for property delegate when it's safe (JVM)
Fixes
KT-53272
Backend Internal error: Exception during IR lowering / No such value argument slot: 2
KT-53124
Receiver type mismatch when combining extension properties, type projections, Java sources, and F-bounded type-variables
KT-51868
JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interface
KT-36770
Prohibit unsafe calls with expected @NotNull
T and given Kotlin generic parameter with nullable bound
KT-52974
"IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP project
... (truncated)
Changelog
Sourced from kotlin-gradle-plugin's changelog.
1.7.20
Compiler
New Features
KT-52495
Support until operator in back-ends
KT-52420
Implement resolve of until operator
KT-52419
Implement until operator in the parser
Fixes
KT-53947
IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER
KT-51234
Context receivers can be duplicated in function declaration
KT-51576
Context receivers: "AssertionError: Callers must check that current token is IDENTIFIER followed with '@'" with at
character
KT-49479
JVM / IR: "IllegalStateException: IrErrorType" during IR lowering with non-trivial recursion calls
KT-52270
NullPointerException caused by braces on if-else returning a method reference inside lambda
KT-47621
False negative INVISIBLE_MEMBER on call to inaccessible protected synthetic property setter
KT-37796
NI: "ISE: Error type encountered" when inferring type of a property that delegates to itself
KT-45430
PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression: toString()" with recursive function call in "also" block in nontrivial context
KT-52691
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl with intertwined functional interfaces
KT-52822
Fix contract for KtElement.getReference()
KT-50223
IndexOutOfBoundsException from ClassicTypeSystemContext$DefaultImpls.getParameter
during call resolution
KT-51963
Change Maven version to 1.7.255
KT-47664
Incorrect type checking in the case of generic types
KT-48765
NI: Inferred type does not respect the bound of type variable
KT-51243
False positive error "No required context receiver" inside contextual lambda
KT-43541
TYPE_MISMATCH for member function which is not occur for top level function during unsafe cast
KT-51016
[FIR] False positive OVERLOAD_RESOLUTION_AMBIGUITY between two extensions on different supertypes
KT-50155
FIR: support contextual receivers
KT-38637
Catch NoSuchFieldException in optimized when expression over enum
Docs & Examples
KT-49896
Kotlin/JS: improve -Xir-property-lazy-initialization
description due to making it true by default
IDE
KTIJ-22286
Kotlin JPS project created via wizard does not contain Kotlin libraries in case of not-released version
KTIJ-22065
IDE notification motivating Kotlin users to use EAP
KTIJ-22209
Configure Kotlin on 221 idea adds 1.6.10 Kotlin (despite the fact that IDE plugin is 1.7.10)
KTIJ-22171
Fix test BuiltInDecompilerConsistencyTest
KTIJ-22016
Empty .kt file and build.gradle.kts can trigger an error while searching for a facade light class
IDE. Code Style, Formatting
KTIJ-21346
Incorrect formatting for functions with context receivers and visibility modifiers
IDE. Completion
... (truncated)
Commits
7159702
Add changelog for 1.7.20
9ca25ce
Native: add more tests for Swift Set and Dictionary used in Kotlin
1244679
Native: improve thread state switches for NSSet/NSDictionary adapters
1abfeb9
[Gradle][MPP] MPP/AGP compatibility: Bump maxSupportedVersion to 7.3
b489e93
Fix lowering of receiver access in IR scripting
8a8853c
K1. Fix error message for BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTION
608d45c
Add changelog for 1.7.20-RC
3a340d2
Fix kind of NoBuilderInferenceWithoutAnnotationRestriction
a17fc51
Fix receiver inconsistency when builder inference restriction disabled
f0fd2cf
Put back the line with language feature to 1.7 block
- Additional commits viewable in compare view
Updates kotlin-stdlib-jdk7
from 1.6.20 to 1.7.20
Release notes
Sourced from kotlin-stdlib-jdk7's releases.
Kotlin 1.7.20
1.7.20
Analysis API
KT-52667
FIR IDE: fun interfaces (SAM interfaces) are not properly resolved
KT-52136
FIR: Implicit type declaration from the other module cannot be used for overloading
Analysis API. FE1.0
KT-51962
Analysis API: Finish Analysis API for FE1.0
Analysis API. FIR
KT-52779
FIR IDE: Import Optimizer cannot handle generic type qualifiers
KT-50236
Fix OOB modification trackers for non-Kotlin code
KT-51240
Analysis API: KtAnalysisSession for a specific module cannot create a symbol for PSI that cannot be seen from that module.
KT-50868
Analysis API: decompiled type aliases are not resolved
Compiler
KT-53739
Builder inference, extension hides members
KT-53733
Kotlin/Native: update source documentation for the new default memory manager
KT-53667
Compiler crashes on attempt to alloc a string on the stack in new MM
KT-53480
Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$string
KT-52843
Compose: NPE at Parameters.getParameterByDeclarationSlot if inline function with default arguments takes a lambda which captures value class represented by Long
KT-51868
JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interface
KT-53475
Kotlin/Native for iOS: "IllegalArgumentException: Sequence has more than one element"
New Features
KT-52495
Support until operator in back-ends
KT-52420
Implement resolve of until operator
KT-52419
Implement until operator in the parser
-
KT-33755
Kotlin/Native: Provide a way to customize a bundle Identifier of a generated framework
KT-51665
FIR: implement label resolve for "typed this" case
KT-52361
Report warning on potentially empty intersection types
Performance Improvements
KT-47816
Disable script discovery for non-script environments
KT-48635
JVM IR: Double/Float values are boxed when comparing for equality in equals method of data/value classes
KT-23397
Optimize out field for property delegate when it's safe (JVM)
Fixes
KT-53272
Backend Internal error: Exception during IR lowering / No such value argument slot: 2
KT-53124
Receiver type mismatch when combining extension properties, type projections, Java sources, and F-bounded type-variables
KT-51868
JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interface
KT-36770
Prohibit unsafe calls with expected @NotNull
T and given Kotlin generic parameter with nullable bound
KT-52974
"IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP project
... (truncated)
Changelog
Sourced from kotlin-stdlib-jdk7's changelog.
1.7.20
Compiler
New Features
KT-52495
Support until operator in back-ends
KT-52420
Implement resolve of until operator
KT-52419
Implement until operator in the parser
Fixes
KT-53947
IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER
KT-51234
Context receivers can be duplicated in function declaration
KT-51576
Context receivers: "AssertionError: Callers must check that current token is IDENTIFIER followed with '@'" with at
character
KT-49479
JVM / IR: "IllegalStateException: IrErrorType" during IR lowering with non-trivial recursion calls
KT-52270
NullPointerException caused by braces on if-else returning a method reference inside lambda
KT-47621
False negative INVISIBLE_MEMBER on call to inaccessible protected synthetic property setter
KT-37796
NI: "ISE: Error type encountered" when inferring type of a property that delegates to itself
KT-45430
PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression: toString()" with recursive function call in "also" block in nontrivial context
KT-52691
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl with intertwined functional interfaces
KT-52822
Fix contract for KtElement.getReference()
KT-50223
IndexOutOfBoundsException from ClassicTypeSystemContext$DefaultImpls.getParameter
during call resolution
KT-51963
Change Maven version to 1.7.255
KT-47664
Incorrect type checking in the case of generic types
KT-48765
NI: Inferred type does not respect the bound of type variable
KT-51243
False positive error "No required context receiver" inside contextual lambda
KT-43541
TYPE_MISMATCH for member function which is not occur for top level function during unsafe cast
KT-51016
[FIR] False positive OVERLOAD_RESOLUTION_AMBIGUITY between two extensions on different supertypes
KT-50155
FIR: support contextual receivers
KT-38637
Catch NoSuchFieldException in optimized when expression over enum
Docs & Examples
KT-49896
Kotlin/JS: improve -Xir-property-lazy-initialization
description due to making it true by default
IDE
KTIJ-22286
Kotlin JPS project created via wizard does not contain Kotlin libraries in case of not-released version
KTIJ-22065
IDE notification motivating Kotlin users to use EAP
KTIJ-22209
Configure Kotlin on 221 idea adds 1.6.10 Kotlin (despite the fact that IDE plugin is 1.7.10)
KTIJ-22171
Fix test BuiltInDecompilerConsistencyTest
KTIJ-22016
Empty .kt file and build.gradle.kts can trigger an error while searching for a facade light class
IDE. Code Style, Formatting
KTIJ-21346
Incorrect formatting for functions with context receivers and visibility modifiers
IDE. Completion
... (truncated)
Commits
7159702
Add changelog for 1.7.20
9ca25ce
Native: add more tests for Swift Set and Dictionary used in Kotlin
1244679
Native: improve thread state switches for NSSet/NSDictionary adapters
1abfeb9
[Gradle][MPP] MPP/AGP compatibility: Bump maxSupportedVersion to 7.3
b489e93
Fix lowering of receiver access in IR scripting
8a8853c
K1. Fix error message for BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTION
608d45c
Add changelog for 1.7.20-RC
3a340d2
Fix kind of NoBuilderInferenceWithoutAnnotationRestriction
a17fc51
Fix receiver inconsistency when builder inference restriction disabled
f0fd2cf
Put back the line with language feature to 1.7 block
- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
@dependabot merge
will merge this PR after your CI passes on it
@dependabot squash and merge
will squash and merge this PR after your CI passes on it
@dependabot cancel merge
will cancel a previously requested merge and block automerging
@dependabot reopen
will reopen this PR if it is closed
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependencies