Commit Graph

86218 Commits

Author SHA1 Message Date
nataliya.valtman 452dfd6edd Use default performance manager for K2JVMCompiler 2021-09-28 09:20:50 +00:00
Ilya Matveev 37e9d8c8f5 [K/N][GC] Fix enabling the gc-aggressive mode 2021-09-28 08:18:38 +00:00
Mikhail Glukhikh 363680e4c9 Delay abstract class member forbiddance (see KT-45508) to 1.7 2021-09-28 11:17:42 +03:00
Dmitriy Novozhilov 4f7103b2a1 Add ApiVersion for 1.7 2021-09-28 10:16:51 +03:00
Elena Lepilkina cb7fab612c [K/N][perf] Fix running benchmarks with custom native build type 2021-09-28 07:06:05 +00:00
Ilya Kirillov 65b6e7076b Fix cooperative development configuration
Deprecated testCompile was not available, replace with testApi
2021-09-27 21:20:36 +03:00
Roman Artemev 4073f177b4 [JS IR] Fix switch transformer in case of if as an expr
- Fix KT-43374
2021-09-27 19:01:43 +03:00
Roman Artemev 9123d426c3 [JS] Add test for KT-43374 2021-09-27 19:01:42 +03:00
Ilya Gorbunov af5ec9d289 Fix a typo in Typography object constants KT-46243 2021-09-27 14:55:19 +00:00
Ivan Kylchik cc934d9574 Support arguments' evaluation of primitive arrays in fir2ir transformer 2021-09-27 17:45:01 +03:00
Svyatoslav Kuzmich dd45714137 [Wasm] Add property reference stdlib part 2021-09-27 17:08:55 +03:00
Svyatoslav Kuzmich 5c05ff48ff [Wasm] Copy property reference lowering from K/N 2021-09-27 17:07:39 +03:00
Svyatoslav Kuzmich 33314b25c0 [Wasm] Add function interface replacer lowering
Replace function interface super types with runtime interfaces.
Needed for interface calls machinery.
2021-09-27 17:06:41 +03:00
Yahor Berdnikau ac164c2bff Fix 'verbose' argument was not excluded from task inputs.
^KT-48134 Fixed
2021-09-27 13:48:12 +00:00
Victor Petukhov ee728b6902 Use the new type inference for top-level callable reference resolution
^KT-47797 Fixed
^KT-47987 Fixed
^KT-45034 Fixed
^KT-48446 Fixed
^KT-13934 Fixed
2021-09-27 16:12:27 +03:00
Victor Petukhov ca13aea26a Creating resolved and resolution atoms for callable references 2021-09-27 16:12:25 +03:00
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