Victor Petukhov
5ec97093fa
Propagate tracing strategy for creating callable reference arguments
2021-09-27 16:12:24 +03:00
Victor Petukhov
764361bc42
Format and remove unused imports and variables
2021-09-27 16:12:22 +03:00
Victor Petukhov
6a6695a173
Store SimpleTypeArgumentImpl type projection instead of type reference for better handling star projected type arguments
2021-09-27 16:12:21 +03:00
Victor Petukhov
8b85b4630b
Write LHS resolution result into a call position
2021-09-27 16:12:20 +03:00
Victor Petukhov
2f4d02d011
Move util functions from KotlinToResolvedCallTransformer to resolvedCallUtil.kt
2021-09-27 16:12:18 +03:00
Victor Petukhov
3696bebb48
Introduce NewCallableReferenceResolvedCall and commonize other logic under NewAbstractResolvedCall
2021-09-27 16:12:17 +03:00
Victor Petukhov
65a8c9d89a
Extract NewAbstractResolvedCall into separate file
2021-09-27 16:12:15 +03:00
Victor Petukhov
fb3f3642f7
Extract NewVariableAsFunctionResolvedCallImpl into separate file
2021-09-27 16:12:14 +03:00
Victor Petukhov
1cc2d7c920
Extract NewResolvedCallImpl into separate file
2021-09-27 16:12:12 +03:00
Victor Petukhov
065d492066
Extract TrackingBindingTrace into separate file
2021-09-27 16:12:11 +03:00
Victor Petukhov
f1803b49fe
Extract KotlinCallKind into separate file
2021-09-27 16:12:09 +03:00
Victor Petukhov
4559558001
Extract SimpleCandidateFactory into separate file
2021-09-27 16:12:08 +03:00
Victor Petukhov
7b9ef0be12
Introduce ResolutionCandidate by commonization KotlinResolutionCandidate and CallableReferenceCandidate
...
Also introduced SimpleErrorResolutionCandidate
2021-09-27 16:12:06 +03:00
Victor Petukhov
08060aa036
Extract CallableReferencesCandidateFactory into separate file
2021-09-27 16:12:05 +03:00
Victor Petukhov
4fcb16b4c4
Extract CallableReferenceCandidate into separate file
2021-09-27 16:12:04 +03:00
Victor Petukhov
dedac63a8c
Extract KotlinResolutionCandidate into separate file
2021-09-27 16:12:03 +03:00
Victor Petukhov
a264cbfe7d
Move CallUtil.kt under the resolve.util package
2021-09-27 16:12:01 +03:00
Victor Petukhov
1635bcad10
Move CallResolverUtil.kt under the resolve.util package
2021-09-27 16:12:00 +03:00
Victor Petukhov
3e1b416a54
Move resolvedCallUtil.kt under the resolve.util package
2021-09-27 16:11:59 +03:00
Victor Petukhov
6082d681b6
Rename the old inference ResolutionCandidate to OldResolutionCandidate
2021-09-27 16:11:58 +03:00
Roman Artemev
623f273251
[JS IR] Fix external vararg if its argument is suspend call
...
- Fix KT-47811
2021-09-27 15:13:04 +03:00
Roman Artemev
6efba76a06
[JS] Add test for KT-47811
2021-09-27 15:13:03 +03:00
Ilya Matveev
3d9966818d
[Gradle] Add tests for K/N binary options
2021-09-27 11:53:12 +00:00
Ilya Matveev
cbe5dc40ef
[Gradle] Improve UP-TO-DATE checks for K/N binary options
2021-09-27 11:53:11 +00:00
Ilya Matveev
6ad9af972e
[Gradle] Move K/N binary options retrieving to PropertiesProvider
2021-09-27 11:53:11 +00:00
sebastian.sellmair
7f67ce96a0
[Gradle, MPP] CInteropProcess: Relax up-to-date condition to "outputFile.exists"
...
^KT-48882 Verification Pending
2021-09-27 11:17:20 +00:00
sebastian.sellmair
dcd19f41b9
[Gradle, MPP] Only warn on failed cinterop generation during idea sync
...
^KT-48882 Verification Pending
2021-09-27 11:17:20 +00:00
sebastian.sellmair
52c6713fff
[Gradle] Implement CInteropIdeaSyncIT to cover ^KT-48882
2021-09-27 11:17:19 +00:00
Elena Lepilkina
ffaaadcfb6
[K/N][perf] Added gradle annotations for build register task
2021-09-27 10:58:51 +00:00
Vyacheslav Gerasimov
d200edbb89
Build: Specify duplicatesStrategy for :kotlin-reflect:modularJar
...
As a workaround for #KTI-653
2021-09-27 13:16:29 +03:00
Alexander Shabalin
34c89d855a
[K/N] Improve logging with multithreading
2021-09-27 09:56:10 +00:00
Sergey Bogolepov
ed4fa2c391
[K/N] Fix for KT-48807
...
Make NS_FORMAT_ARGUMENT(A) a no-op in cinterop because our
Clang doesn't support it for NSAttributedString.
2021-09-27 09:38:02 +00:00
Sergey Bogolepov
fd71520d6e
Add test for KT-48807
2021-09-27 09:38:01 +00:00
Yahor Berdnikau
8b594e295c
Don't validate JVM target on empty Java sources.
...
When toolchain is not configured, Kotlin sets by default JVM target to
"1.8". Compiling Kotlin project on JDK 9+ produces JVM target mismatch
warning even if Java sources are empty.
Skip the jvm validation check if associated Java task sources are empty.
^KT-48745 Fixed
2021-09-27 08:31:00 +00:00
Sergey Bogolepov
708931b404
[K/N][Gradle] Use build service to read konan.properties
...
Also pass additionalCacheFlags when compiling compiler caches.
2021-09-27 11:21:25 +03:00
Alexander Shabalin
84e7b53926
[K/N] Rework GCScheduler to schedule GC on its own.
2021-09-27 08:03:55 +00:00
Alexander Shabalin
83b6b39910
[K/N] Fix runtime compilation flags.
2021-09-27 08:03:54 +00:00
Alexander Shabalin
f4c5a047ac
[K/N] Build separate common_gc for each GC.
2021-09-27 08:03:54 +00:00
Alexander Shabalin
3e8c1be5c1
[K/N] Add RepeatedTimer
2021-09-27 08:03:53 +00:00
Vyacheslav Gerasimov
12d31adbc4
Build: Fix input annotations on KonanLocalTest
2021-09-26 23:36:41 +03:00
Vyacheslav Gerasimov
1e223f8366
Build: Drop unused setupBuildCache helper
2021-09-26 23:36:41 +03:00
Vyacheslav Gerasimov
c6c993aa19
Fix deprecated Gradle VersionNumber warning
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
edea9b0db3
Suppress deprecated ConfigureUtil in mppPresetFunctionsCodegen.kt
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
a5d31fe2e2
Build: Fix warnings in pill
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
8b5db6473b
Fix deprecated ConfigureUtil usages in KGP
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Yahor Berdnikau
c1ba586c96
Replace removed Gradle methods with reflection call.
...
This is required to update Kotlin repo to Gradle 7.1.
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
af541dc6d3
Build: Fix usages of deprecated ConfigureUtil in kotlin-native
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
2d06cf674b
Build: Fix usages of deprecated convention in kotlin-native
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
8d2fafa3ce
Build: Fix various warnings in build files
...
Required for Gradle 7+ #KTI-559
2021-09-26 20:10:29 +03:00
Vyacheslav Gerasimov
5d6e8e42aa
Build: Update verification metadata
2021-09-26 20:10:29 +03:00