Commit Graph

1114 Commits

Author SHA1 Message Date
Pavel Kirpichenkov 4dbb2b01fe [Tests] Give clear name to functional dependency resolution tests
KT-55530
2023-01-10 16:02:54 +00:00
Pavel Kirpichenkov c3ea93f4a4 [Tests] Split functional tests by Gradle tasks
KT-55530
2023-01-10 16:02:53 +00:00
Pavel Kirpichenkov cee5d568a5 [MPP, tests] Rearrange functional tests
Split tests into groups: unit tests, regression tests and
ide importing tests. Create additional run configurations for them.

KT-55530
2023-01-10 16:02:52 +00:00
pyos 803abfeba8 FIR: rewrite lambda return type inference
* `return` should only be added to the last statement if the return
   type is not Unit

 * If there is a `return` without an argument, then the expected return
   type is Unit and the last expression is not a return argument (unless
   it's an incomplete call, in which case it is inferred to return Unit;
   this behavior is questionable, but inherited from K1)

 * There should be a constraint on return arguments even if the expected
   type is Unit, otherwise errors will be missed

 * When the expected type is known, using the call completion results
   writer is pointless (and probably subtly wrong).

^KT-54742 Fixed
2023-01-10 15:40:45 +02:00
Abduqodiri Qurbonzoda 4af0f110c7 Fix 'Test: stdlib-js public kotlin api test' IDEA run configuration
Moving tests to another package made the IDEA run configuration obsolete.
To prevent this problem in the future a separate task (jsStdlibApiTest)
was introduced. The task is run in TC and will fail if the tests are missing.

Merge-request: KT-MR-8128
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2023-01-07 12:30:52 +00:00
Ilya Kirillov ae68f08856 [FIR] make FirJavaClass.superTypes to be lazily enhanced
This should solve the problem with deadlocks/performance in the K2 IDE

This is a temporary solution until the ^KT-55387 is properly fixed

^KT-55387
^KT-54890
2023-01-06 18:55:43 +00:00
Dmitriy Novozhilov d0183f78ff Advance bootstrap to 1.8.20-dev-5197 2023-01-05 15:21:31 +02:00
Svyatoslav Kuzmich 9bc6b420a9 [Wasm][Stdlib] Add public APIs for linear memory access
Needed for interop with APIs that use linear memory.
2022-12-29 19:25:23 +00:00
Dmitriy Novozhilov bab91ce7b2 Advance bootstrap to 1.8.20-dev-4608 2022-12-21 22:30:08 +00:00
Sebastian Sellmair 84fdc5e3df [Gradle] Cleanup shared run configurations
^KT-55475 Verification Pending
2022-12-16 16:46:15 +00:00
Dmitriy Novozhilov c32d851585 Advance bootstrap to 1.8.20-dev-3892 2022-12-09 16:42:55 +02:00
Dmitriy Novozhilov 957987c16a [Test] Add testdata of AA tests to Test Helper plugin path 2022-12-09 12:02:09 +00:00
Dmitriy Novozhilov 03a43e0dc0 Advance bootstrap to 1.8.20-dev-3737 2022-12-07 16:47:48 +00:00
Dmitriy Novozhilov 5c3af11188 Advance bootstrap to 1.8.20-dev-3308 2022-11-30 12:25:20 +00:00
Sebastian Sellmair 4c69b5867f [Gradle][Minor] Update Test__Kotlin_Gradle_Plugin___idea.xml
KT-55112
2022-11-29 08:05:12 +00:00
Artem Daugel-Dauge 4f736524b2 KT-54969 Kotlin artifacts withPodspec DSL 2022-11-27 18:09:38 +00:00
Dmitriy Novozhilov c2d30c43bd Advance bootstrap to 1.8.20-dev-2904 2022-11-23 14:53:29 +00:00
Dmitrii Gridin 2d6fb8a99a .idea/codeStyle: fix format to avoid changes in git 2022-11-15 17:36:28 +01:00
Zalim Bashorov d4e0d07b5b [Wasm] Update Binaryen version in gradle plugin: 109 -> 110 2022-11-09 13:44:39 +01:00
Dmitriy Novozhilov ce94816d9e Advance bootstrap to 1.8.20-dev-2036 2022-11-08 15:10:57 +02:00
Dmitriy Novozhilov 5c277cf95d [Build] Roll back bootstrap for JPS build to 1.8.20-dev-1438
This is a workaround for KT-54791
2022-11-04 11:50:03 +02:00
Dmitriy Novozhilov 567ef1d905 Advance bootstrap to 1.8.20-dev-1815 2022-11-02 10:10:30 +02:00
Denis.Zharkov e6900ec0f2 Turn of LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY code style requirement 2022-10-31 11:11:01 +00:00
Sebastian Sellmair a67b2a8be5 [Gradle] Implement KotlinJvmCompilation with new underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Dmitriy Novozhilov 766a51069c Advance bootstrap to 1.8.20-dev-1438 2022-10-24 12:24:40 +00:00
Dmitriy Dolovov afcf78ac94 [IR][JS] Partial linkage: Add IDEA run configurations for tests w/ and w/o IC 2022-10-19 13:46:23 +00:00
Dmitriy Novozhilov d94da7c207 Advance bootstrap to 1.8.20-dev-1278 2022-10-19 10:26:30 +00:00
Nikolay Krasko 2ea0cdf46d Rules for commit messages
Part of KTI-944 about adding automatic checks to commit messages.
2022-10-12 09:39:51 +00:00
Nikolay Krasko fefc3bdbbc Add review links 2022-10-11 16:20:46 +00:00
Dmitriy Novozhilov 5c1eaa6fa4 Advance bootstrap to 1.8.20-dev-649 2022-10-07 10:38:52 +00:00
Ilya Gorbunov 0251d432e9 Do not commit to vcs protoeditor.xml settings 2022-09-17 15:21:50 +00:00
Anže Sodja 09d6dfc8bf [Assign plugin] Add a compiler plugin for overloading assign ('=') operator 2022-09-16 10:12:41 +03:00
Dmitriy Novozhilov 77bfe542c3 Advance bootstrap to 1.8.0-dev-2843 2022-09-07 10:27:25 +00:00
nataliya.valtman c047bc3647 Advance bootstrap to 1.8.0-dev-2628 2022-09-01 11:20:11 +00:00
Dmitriy Novozhilov 8cde6fe3c5 Advance bootstrap to 1.8.0-dev-2355 2022-08-25 11:23:11 +00:00
Dmitriy Novozhilov bc95c76411 Advance bootstrap to 1.8.0-dev-2298 2022-08-24 13:54:31 +00:00
Dmitriy Novozhilov cc00dcc038 [Serialization] Reorganize module structure 2022-08-22 17:23:18 +03:00
Ilya Gorbunov 805fc747b9 Advance bootstrap to 1.8.0-dev-2023 2022-08-19 14:06:16 +00:00
Dmitry Savvinov c1e21f5b8f [mpp, tests] Add infrastructure for *Generated KPM Core tests 2022-08-12 12:34:14 +02:00
Pavel Mikhailovskii 8ba80b4b7b KT-1436 Allow break/continue in inlined lambdas 2022-08-11 10:38:23 +00:00
sebastian.sellmair 82d92a4e82 [Gradle][KT-53342] Implement MultiplatformAndroidSourceSetLayoutV2IT 2022-08-08 19:04:28 +00:00
sebastian.sellmair fe5a4bb12a [Gradle][KT-53342] Implement Multiplatform/Android V2 source set layout
^KT-53342 Verification Pending
2022-08-08 19:04:21 +00:00
Artem Kobzar b9a80284c8 [K/JS] fix(TS): save type hierarchy for exported classes. 2022-08-03 14:16:30 +00:00
Dmitriy Novozhilov eee35af7f9 Advance bootstrap to 1.8.0-dev-1006 2022-07-28 07:00:34 +00:00
Dmitriy Novozhilov 02901aeb10 Update kotlinc.xml 2022-07-20 10:12:26 +00:00
Sergej Jaskiewicz ea556ce428 [JS IR] Implement stepping tests for Kotlin/JS
We already have stepping tests for Kotlin/JVM.
They are helpful for testing the correctness of the generated
debugging information.

They are better than line number tests in that they allow to test the
_behavior_, not the generated data. The structure of the data may change
even if the behavior stays the same. For that reason, stepping tests
are more stable.
2022-07-19 16:06:23 +00:00
Artem Kobzar 1557f919f5 chore: split huge declarations.d.ts test on few smaller tests. 2022-07-18 12:59:21 +00:00
Dmitriy Novozhilov 8b42638afa [Plugins] Introduce new API for registering compiler plugins
Original `ComponentRegistrar` exposes Project to its registration method,
  so plugins should manually register extensions to it. To prepare for
  possible unbound compiler from Project API in future new  `K2ComponentRegistrar`
  introduced which provides registration method without Project at all
2022-06-29 11:59:58 +00:00
Dmitriy Novozhilov 1a9c690dcb [SAM with receiver] Add path to testdata to test plugin config 2022-06-27 08:11:33 +00:00
Ilya Gorbunov af6958de02 Fix stdlib-gen run configuration
--configure-on-demand parameter seems to no longer work in kotlin gradle project
2022-06-26 21:29:57 +03:00