Commit Graph

93236 Commits

Author SHA1 Message Date
Victor Petukhov 9e8ef56cca [FE 1.0] Imitate having builder inference annotation while trying resolve with a builder inference
^KT-52892 Fixed
2022-06-21 15:02:31 +02:00
Victor Petukhov fa7809cd80 [FE] Remove BuilderInference annotation from tests 2022-06-21 15:01:56 +02:00
Victor Petukhov dbe7f3ab0d [Stdlib] Suppress deprecation warnings at usages of @BuilderInference 2022-06-21 15:01:56 +02:00
Victor Petukhov de3f5497ab [Stdlib] Deprecate BuilderInference annotation
^KT-52400 Fixed
2022-06-21 15:01:56 +02:00
Yahor Berdnikau 4d47cf07be Update org.robolectric:android-all to 4.4_r1-robolectric-r2
Possibly could fix flaky parcelize plugin tests on Windows OS.
2022-06-21 11:26:30 +00:00
Yahor Berdnikau ec545f6273 Add Kotlin SourceDirectorySet as extension
KotlinSourceSet now should be accessed via Kotlin project extension.
Conventions are still available, but not used inside plugins.

^KT-47047 In Progress
2022-06-21 11:26:29 +00:00
Jinseong Jeon 9e8524d21a AA FIR: refactor KtFirType hierarchy 2022-06-21 11:36:02 +02:00
Jinseong Jeon 87ba8525cf AA: allow directory as source roots 2022-06-21 11:34:09 +02:00
Jinseong Jeon 4af2fcd633 AA: handle lib directory as a binary root 2022-06-21 11:34:09 +02:00
Jinseong Jeon 8c3df04c8e AA: null check containing file for PsiElement 2022-06-21 11:34:09 +02:00
Jinseong Jeon 814920b344 AA: restore JavaRoot from binary roots in JDK module 2022-06-21 11:34:09 +02:00
Jinseong Jeon 911963bafd CLI: utilize JRT path split (w/o magic number) 2022-06-21 11:34:09 +02:00
Jinseong Jeon 13c7fde071 AA: avoid reflective service registrations 2022-06-21 11:34:09 +02:00
Jinseong Jeon 38c3fbc0d1 AA: remove a redundant service registration 2022-06-21 11:34:09 +02:00
Ivan Kochurkin b67eab1eee [FIR] Use coneTypeSafe instead of coneType in loadExperimentalities to fix YouTrack building 2022-06-21 12:30:58 +03:00
Ilya Goncharov b14724260a [Gradle, JS] Upgrade npm dependencies
^KT-52856 fixed
2022-06-21 07:39:44 +00:00
Mikhail Glukhikh 8b4ae3bd70 IR interpreter: fix f/o delegation from primitive classes 2022-06-21 07:39:04 +00:00
Mikhail Glukhikh a8ce4e827c FIR2IR: fix f/o & delegate overridden symbol generation #KT-52745 Fixed 2022-06-21 07:39:03 +00:00
Mikhail Glukhikh 966e2442c6 Add tests for KT-52745 2022-06-21 07:39:03 +00:00
Simon Ogorodnik 00d7a755a9 Build. Disable K2 for jvm-minimal-for-test, as it uses multiplatform 2022-06-20 23:43:09 +00:00
Yahor Berdnikau 6710d216e1 Add simplified JVM toolchain configuration method in extension
^KT-52867 Fixed
2022-06-20 20:02:25 +00:00
Alexander Likhachev 7125c14a34 [Gradle] Fix outputs backup when outputs are outside the build dir
#KT-51801 Fixed
2022-06-20 17:19:17 +00:00
Alexander Likhachev 554470c462 [Gradle, JS] Add test for KT-51801 2022-06-20 17:19:16 +00:00
Ilya Kirillov ba797fa1b4 [stubs] fix cls stubs for declarations with context receivers
^KTIJ-21243 fixed
2022-06-20 19:10:36 +02:00
Ilya Kirillov a47880a98b [stubs] add test which checks consistency between cls and decompiled stubs 2022-06-20 19:09:44 +02:00
Jinseong Jeon b18999be82 FIR/LC: filter out scripts for facade creation
^KTIJ-22016 Fixed
2022-06-20 17:38:50 +02:00
Jinseong Jeon cd80bddfcd U/LC: use error(...), not error { }
Otherwise, the message would be: () -> String

Also, add more information to the error message

^KT-47777 Fixed
2022-06-20 17:38:50 +02:00
Pavel Kunyavskiy 9e9f26024b [K/N] Fix filecheck test for redundant safepoints removal 2022-06-20 15:21:39 +00:00
Dmitriy Novozhilov 970ebc7dc8 Advance bootstrap to 1.7.20-dev-2312 2022-06-20 12:32:27 +00:00
Mikhael Bogdanov 8dd141869a KAPT+IR: Skip assertion in BodyGenerator
#KT-49682
2022-06-20 11:42:54 +00:00
Mikhael Bogdanov e1d00c3d6e KAPT+IR: support nullability for error types
#KT-49682
2022-06-20 11:42:54 +00:00
Mikhael Bogdanov 162ca4ac2b KAPT+IR: support IR error types
#KT-49682
2022-06-20 11:42:53 +00:00
Mikhael Bogdanov 41d6f0dca4 Remove ir.tree.impl from build 2022-06-20 11:42:52 +00:00
Mikhael Bogdanov 328160894b Move ir.tree.impl into ir.tree 2022-06-20 11:42:51 +00:00
Mikhail Glukhikh 065e852199 FIR: support more precise diagnostics about parameter names
#KT-52762 Fixed
2022-06-20 11:28:55 +00:00
Mikhail Glukhikh 9fbafc3eb9 Add test for KT-52762 2022-06-20 11:28:55 +00:00
Simon Ogorodnik b7a215334e KT-52409 Report error when using K2 with multi-platform 2022-06-20 10:39:25 +00:00
Simon Ogorodnik e3c7929fee KT-52284 Clarify message in Kapt with K2 error 2022-06-20 10:39:25 +00:00
sebastian.sellmair 339b604e09 [kotlin-tooling-core] closure.kt: Implement fast paths for empty closures 2022-06-20 10:33:37 +00:00
Alexander Shabalin 66c6e4e16f [K/N] Fix compdb usage for CLion
Merge-request: KT-MR-6483
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-20 10:31:40 +00:00
Sergey Bogolepov 29b6039f37 [K/N] Fix red code in native backend
Current way of `kotlin-native-shared` inclusion
into `kotlin-native` blows IDE mind. If we choose
a bit more straightforward way, then IDE will be happy.
2022-06-20 08:50:55 +00:00
Dmitriy Dolovov d60c93c1f8 [Native][tests] Temporarily mute klibABI/remove[Property|Function] tests 2022-06-20 12:30:01 +04:00
Dmitriy Dolovov f98778e331 Add IDEA run configurations for KLIB ABI tests 2022-06-20 12:30:01 +04:00
Dmitriy Dolovov c0cbd2e3ed [Native][tests] Fail tests on unexpected non-syntax/semantic warnings 2022-06-20 12:30:01 +04:00
Dmitriy Dolovov adf98770f3 [Native][tests] Fix description of test parameters 2022-06-20 12:30:01 +04:00
Vladimir Sukharev c9f0eeea3b Use not an alias, but a wrapper for nonvirtual function C adapters.
^KT-45468 Fixed

Merge-request: KT-MR-6467
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2022-06-19 12:45:27 +00:00
Igor Yakovlev ea0dfb50df [WASM] Fix invalid path for test runner
Windows path has backslash separator that reads as escape character in js
2022-06-18 19:12:22 +02:00
Igor Yakovlev 27bb9a087a [WASM] Mark wasm dsl as experimental 2022-06-18 19:12:22 +02:00
Igor Yakovlev 93574d49ef [WASM] Add binaryen dsl 2022-06-18 19:12:22 +02:00
Igor Yakovlev 952b846a5c [WASM] Implement gradle plugin binaryen support 2022-06-18 19:12:22 +02:00