Nikolay Krasko
6cbdcbe53b
Trust zip with gradle sources
2021-04-12 20:10:42 +03:00
Jinseong Jeon
9af108df77
FIR LT: set source for destructured value parameter of lambda
2021-04-12 19:20:03 +03:00
Yahor Berdnikau
c6aa5d1495
Fix plugin is using deprecated method that is removed in AGP 7.0.
...
^KT-45950 Fixed
2021-04-12 18:20:42 +03:00
Yahor Berdnikau
9100be4566
Set Android Gradle Plugin dependency version to 3.4.0.
...
This is required to get method deprecations and new proposed methods.
2021-04-12 18:20:41 +03:00
Dmitry Petrov
f59b49db68
JVM_IR KT-45967 generate accessor for argument of indy intrinsic
...
TODO handle inaccessible constructors gracefully
2021-04-12 17:36:24 +03:00
Sergey Shanshin
5f9fe8e5de
Fix IR compilation of kotlix.serialization runtime in native
2021-04-12 17:08:08 +03:00
Abduqodiri Qurbonzoda
39731fd493
Merge Stdlib generators
2021-04-12 16:51:24 +03:00
Alexander Udalov
e9a969875c
Minor, fix typo in the issue reference in comment
2021-04-12 15:43:35 +02:00
Dmitry Petrov
162363a324
JVM: CHECK_BYTECODE_TEST directive + use it in INVOKEDYNAMIC tests
2021-04-12 16:43:15 +03:00
Ilya Chernikov
ca352c9556
Fix jvm method reading when descriptor and signature do not match
...
#KT-38325 fixed
2021-04-12 16:23:53 +03:00
Mikhail Glukhikh
c75331bf2a
Implicit nothing type argument: handle nullable case properly
...
#KT-41620 Fixed
2021-04-12 15:51:46 +03:00
Alexander Udalov
115e2673ae
Minor, fix javac deprecation warning in DynamicBundle
2021-04-12 14:38:09 +02:00
Yahor Berdnikau
2d9a3f364c
Update advance Gradle version to 7.0 for KGP tests.
...
^KT-44949 Fixed
2021-04-12 15:02:02 +03:00
Victor Petukhov
73a2838555
Do substitution captured type's super types as well
...
^KT-45982 Fixed
2021-04-12 14:00:40 +03:00
Victor Petukhov
e8275d2527
Complete old inference's callable references properly, by updating descriptor, resolved call and recorded expression's type
...
^KT-45721 Fixed
^KT-44994 Fixed
2021-04-12 14:00:38 +03:00
Victor Petukhov
d804e73c22
Avoid subtype checking between type variable of self type and captured star projection only for invariant positions
...
Subtyping with non-invariant positions may produce useful constraints
^KT-46001 Fixed
2021-04-12 13:44:09 +03:00
Ilya Chernikov
0274c41919
[minor] FIR: fix deprecation in test
2021-04-12 10:08:54 +02:00
Alexander Likhachev
9e78e43c49
[Gradle] Always declare system property reads for compile tasks
...
When Kotlin plugin is applied in buildSrc or included build that defines Gradle plugins it can cause Gradle to report undeclared system property reads at configuration time. Declaring all system properties reads through Gradle providers to cover all these cases.
#KT-45910 Fixed
2021-04-12 03:15:10 +03:00
Andrey Zinovyev
47407c4445
[FIR] Add NAME_IN_CONSTRAINT_IS_NOT_A_TYPE_PARAMETER check
2021-04-11 16:18:07 +00:00
Alexander Udalov
ea22f4b681
IR: check absence of extension receiver in isMethodOfAny
...
Otherwise extension methods named toString/equals/hashCode were
generated incorrectly on JVM IR, which could result in
AbstractMethodError at runtime.
#KT-45963 Fixed
2021-04-11 13:54:13 +02:00
Abduqodiri Qurbonzoda
98d31a1813
Expand KDoc of inc() and dec() operators #KT-43701
2021-04-10 03:23:04 +03:00
sebastian.sellmair
b311820159
[Minor] Fix CommonizerDependencyTest.sample identityString on Windows
2021-04-09 23:36:02 +02:00
Dmitriy Dolovov
14838a6b7b
Update Kotlin/Native: 1.5.20-dev-4865
2021-04-09 23:36:02 +02:00
sebastian.sellmair
6d31750673
[Commonizer] assembelCirTree: Supoprt TypeAlias -> Class commonization
2021-04-09 23:36:02 +02:00
sebastian.sellmair
28adf6345d
[Minor] Optimize imports of CirProperty.kt
2021-04-09 23:36:02 +02:00
sebastian.sellmair
9c1c506b21
[Minor] Move ClassesToProcess into .tree.deserializer package
2021-04-09 23:36:02 +02:00
sebastian.sellmair
d0f8395556
[Commonizer] Remove old mergers
2021-04-09 23:36:01 +02:00
sebastian.sellmair
14161c8250
[Commonizer] Prevent copying missing modules that are already present in destination
2021-04-09 23:36:01 +02:00
sebastian.sellmair
02c1d7fad3
[Gradle] HierarchicalNativeDistributionCommonizerTask: Ensure that native distribution commonization tasks can't run in parallel
2021-04-09 23:36:01 +02:00
sebastian.sellmair
c4562fd1db
[Gradle] GetCommonizerTargetOfSourceSet: Gracefully handle common non-hmpp workaround
2021-04-09 23:36:01 +02:00
sebastian.sellmair
2aeb08e245
[Gradle] Implement internal intransitiveMetadataConfiguration
...
- Implemented additional intransitiveMetadataConfiguration to support
dependencies that shall not be added transitively to dependsOn edges
2021-04-09 23:36:00 +02:00
sebastian.sellmair
4e40bd6371
[Minor] Make CInteropProcess cacheable
2021-04-09 23:36:00 +02:00
sebastian.sellmair
ce0fdbd2df
[Minor] Make CInteropCommonizerTask cacheable
2021-04-09 23:36:00 +02:00
sebastian.sellmair
9ac7b61094
[Gradle] HierarchicalNativeDistributionCommonizerTask: Implement project global caching
...
- Implement NativeDistributionCommonizationCache which will act similar
to the 'SuccessMarker' used in the non hierarchical commonization task.
- Implement 'kotlin.mpp.enableNativeDistributionCommonizationCache'
Gradle property to disable project global caching. The cache is
turned on by default.
2021-04-09 23:36:00 +02:00
sebastian.sellmair
50d0439af3
[Minor] Share 'Test: Commonizer' run configuration
2021-04-09 23:36:00 +02:00
sebastian.sellmair
2bb0dbaf38
[Gradle] Implement CommonizerHierarchicalIT integration test
2021-04-09 23:36:00 +02:00
sebastian.sellmair
d9eb130f82
[Gradle] Enable hierarchical commonization by default
2021-04-09 23:35:59 +02:00
sebastian.sellmair
933c52d470
[Commonizer] Gracefully handle absent targets for hierarchical commonization
2021-04-09 23:35:59 +02:00
sebastian.sellmair
bbe499c1b6
[Commonizer] Re-introduce node builders 'parentCommonDeclaration' context
2021-04-09 23:35:59 +02:00
sebastian.sellmair
947dc71bda
[Gradle] Leave native source sets: Add expect parts explictely
2021-04-09 23:35:59 +02:00
sebastian.sellmair
9cb67e06e3
[Commonizer] Only serialize common or LeafCommonizerTargets
2021-04-09 23:35:59 +02:00
sebastian.sellmair
10692b5b7c
[Minor] Add commonizer classpath to HierarchicalNativeDistributionCommonizerTask
2021-04-09 23:35:58 +02:00
sebastian.sellmair
88a913c7dc
[Commonizer] NativeLibraryLoader: Improve error message when loading a library fails
2021-04-09 23:35:58 +02:00
sebastian.sellmair
250915f377
[Commonizer] Implement AbstractInlineSourcesCommonizationTest and hierarchical commonization tests
2021-04-09 23:35:58 +02:00
sebastian.sellmair
a2436699ea
[Commonizer] Implement basic tests for CirTree merging
2021-04-09 23:35:58 +02:00
sebastian.sellmair
f252c3e2c1
[Commonizer] Implement CirTreeDependenciesDeserializerTest
2021-04-09 23:35:57 +02:00
sebastian.sellmair
c03d995e07
[Commonizer] Implement basic tests for CirTree deserializers
2021-04-09 23:35:57 +02:00
sebastian.sellmair
8c941fc203
[Gradle] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00
sebastian.sellmair
68c3e39058
[Commonizer] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00
sebastian.sellmair
46a20c81cc
Implement CommonizerTarget.allLeaves
2021-04-09 23:35:56 +02:00