Commit Graph

93225 Commits

Author SHA1 Message Date
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
Igor Yakovlev 177177ee8c [WASM] Implement gradle plugin run tasks for wasm 2022-06-18 19:12:22 +02:00
Igor Yakovlev 1b6b3ec3b5 [WASM] Ignore reference proposal spec test 2022-06-18 19:12:21 +02:00
Igor Yakovlev 270a41a2db [WASM] Remove deprecated usage of externref 2022-06-18 19:12:21 +02:00
Igor Yakovlev bf575f73a2 [WASM] Fix invalid fields name section emit 2022-06-18 19:12:21 +02:00
Victor Petukhov eb19d39cbf [FE 1.0] Build captured type's supertypes in an alternative way: use own projection type as a first supertype, then supertypes from the corresponding type parameter's upper bounds
The original case provoked forking a constraint system which isn't supported in K1 (K2 only). If the captured type is recursive, then type parameter's upper bounds may break subtyping due to substitution the current captured type again, into a recursive type parameter.

Note that we already have special logic for recursive captured types. See `isTypeVariableAgainstStarProjectionForSelfType`.

^KT-52782 Fixed
2022-06-18 14:04:40 +02:00
Ivan Kochurkin 37ccd85e59 [FIR] Use coneType instead of coneTypeSafe<ConeKotlinType> in checkers and fir2ir 2022-06-17 23:26:21 +00:00
Ivan Kochurkin 02ac6110bd [FIR] Handle more cases of implicit types in FirNoImplicitTypesHandler 2022-06-17 23:26:21 +00:00
Ivan Kochurkin 157eedca43 [FIR2IR] Create IrConst instead of IrGetField for default value param in annotation class, ^KT-52676 Fixed 2022-06-17 23:26:20 +00:00
Ivan Kochurkin ca222b9c31 [FIR] Create error type for FirErrorLoop during initialization 2022-06-17 23:26:20 +00:00
Ivan Kochurkin 1a398e89ec [FIR] Add attributes to ConeErrorType for correct annotations resolving 2022-06-17 23:26:19 +00:00
Ivan Kochurkin 9c67a4bc27 [FIR] Remove not used ConeArgumentTypeMismatchCandidateError 2022-06-17 23:26:19 +00:00