Yan Zhulanow
d652dc620c
[FE] Preserve legacy contract description calls in bodies
...
^KT-55231 Fixed
^KTIJ-21012 Fixed
2022-12-26 11:46:58 +00:00
Yan Zhulanow
f067f64255
[FE] Extract common logic in consistency visitor and transformer
2022-12-26 11:46:58 +00:00
nataliya.valtman
161d8d1cea
KT-54959 Add worker execution time to task action execution time
2022-12-26 12:03:37 +03:00
nataliya.valtman
d6bbab7eff
Fix unstable build statistics with ktor tests
2022-12-26 12:03:37 +03:00
Ilya Gorbunov
e2d96da396
Introduce experimental kotlin.concurrent.Volatile annotation KT-55268, KT-55609
...
Use this annotation in tests to ensure it works the same at least on JVM
2022-12-23 19:07:30 +01:00
Ilmir Usmanov
58d6d7b9ad
Minor. Regenerate tests
2022-12-23 01:15:18 +00:00
xiaozihan.larryxiao
64d40aa285
KT-55398 Add test case
...
Add KT-55398 test case into boxInline/reified
2022-12-23 01:15:18 +00:00
xiaozihan.larryxiao
22a9b84966
KT-55398 Fix nested inline variable not correctly
...
^KT-55398 Fixed
Add nested variable's ReifiedTypeParametersUsages into closureReifiedMarkers for MethodInliner to generate nested inline anonymous class
2022-12-23 01:15:18 +00:00
Ilya Gorbunov
b6e6ca7c96
Deprecate Synchronized annotation in common and JS #KT-55344
2022-12-22 21:22:44 +00:00
Vyacheslav Gerasimov
719cdce609
Build: Make mochaTest a VerificationTask to allow skipping it with flag
...
#KTI-1076
2022-12-22 18:45:41 +01:00
Vyacheslav Gerasimov
7348e34fd0
Build: Run only jsTests before mocha tests
...
Only js tests produce mocha tests to run
2022-12-22 18:45:40 +01:00
Ilya Goncharov
e19776bd5a
[Gradle, JS] Make webpack task cacheable
...
[Gradle, JS] Remove redundant dependsOn
[Gradle, JS] Private metrics
[Gradle, JS] Fix test with run webpack on windows
[Gradle, JS] Fix detecting of input files instead of const folder kotlin
[Gradle, JS] Change up-to-date annotations in webpack task
[Gradle, JS] Add test on webpack considering changes in dependencies in up-to-date checks
[Gradle, JS] Add test on buid cache of Webpack task
[Gradle, JS] webpack config appliers are nested inputs
[Gradle, JS] Webpack task is cacheable with relative pathes
^KT-55476 fixed
2022-12-22 17:19:38 +00:00
Ilya Goncharov
72701ada29
[Gradle, JS] Move tests related with adding of dom api to separate class
2022-12-22 15:45:25 +00:00
Ilya Goncharov
0cfff4fc87
[Gradle, JS] Disable test about implementation/api dependencies in IR
2022-12-22 15:45:25 +00:00
Ilya Goncharov
68d5619af4
[Gradle, JS] Add test on adding dom-api-compat library
2022-12-22 15:45:24 +00:00
Ilya Goncharov
b794496bb9
[JS] Fix codeowners of JS
2022-12-22 15:45:24 +00:00
Ilya Goncharov
3f7e33df60
[JS] Remove maven examples
2022-12-22 15:45:24 +00:00
Ilya Goncharov
7a04c38863
[Gradle, JS] Fix Gradle integration tests related with extracting dom api to separate module
...
- remove tests which were related with deprecated plugins
- migrate some tests to new plugin instead of deprecated
2022-12-22 15:45:23 +00:00
Ilya Goncharov
24cb10bbf3
[Gradle, JS] Add module kotlin-dom-compat-api as dependency with opt-out
2022-12-22 15:45:23 +00:00
Ilya Goncharov
688894aabc
[JS, Stdlib] Move DOM API to separate module kotlin-dom-api-compat
...
[JS, Stdlib] Leave sources of dom api inside stdlib
[Stdlib, JS] Leave ItemArrayLike inside stdlib
2022-12-22 15:45:23 +00:00
Vyacheslav Gerasimov
fce26aa536
Build: Introduce incrementalCompilationTest root task
2022-12-22 14:37:28 +00:00
Xin Wang
7278f9a4fd
JVM Inline: Update tryCatchBlocks when expand mask conditions
...
Fixes: KT-48989
2022-12-22 12:50:41 +00:00
Alexander Shabalin
44ea1debf4
[K/N] Fix performance build ^KT-53776
...
Merge-request: KT-MR-8119
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-12-22 12:39:33 +00:00
Evgeniy.Zhelenskiy
25db5bf6e1
[IR] Enable -Xvalue-classes flag
...
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com >
#KT-1179
2022-12-22 12:24:16 +00:00
Svyatoslav Scherbina
26bcfcd375
Native: add kotlin-native/shared tests to backend.native:tests:sanity
...
This enables running these tests on the CI.
2022-12-22 09:37:34 +00:00
Svyatoslav Scherbina
e3a72da670
Native: make :kotlin-native:backend.native:tests:run depend on sanity
...
This allows to
- Eliminate related code duplication in the build script
- Make sure that 'sanity' is a subset of 'run'
2022-12-22 09:37:33 +00:00
Alexander Shabalin
ff2f163ac9
[K/N] Extract Module in CompileToBitcodePlugin ^KT-53776
...
Merge-request: KT-MR-7960
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-12-21 22:30:25 +00:00
Dmitriy Novozhilov
7cbe13dee9
[JS] Update testdata of ApiTest.test(Ir)Stdlib
...
Most likely it caused by 17e9a6a781
2022-12-21 22:30:08 +00:00
Dmitriy Novozhilov
bab91ce7b2
Advance bootstrap to 1.8.20-dev-4608
2022-12-21 22:30:08 +00:00
Anna Kozlova
15b1e429d7
[compiler] introduce dedicated Fir declaration for dangling modifier lists (KTIJ-23008)
...
ensure fir annotations are included in FirDanglingModifierList and resolved,
dedicated DanglingTopLevelModifierListStructureElement exists for top
level lists only, class level lists are processed by containing structure
element
2022-12-21 20:58:46 +00:00
Svyatoslav Kuzmich
d788adcbb5
[Wasm] Move non-recursive function types out of rec group
...
This fixes linking with other wasm modules with non-rec types
2022-12-21 20:20:13 +00:00
Dmitrii Gridin
88f1f74aec
[ULC] fix descriptor leak from synthetic members
...
^KT-55604 Fixed
2022-12-21 19:08:56 +00:00
Dmitriy Novozhilov
1b16d651ae
[FIR] Disambiguate names of files with helpers in spec tests
...
Test framework assumes that there won't be any files with same names
in one test. But there were cases when test declared test file
with same name as one of files with helpers (e.g. `functions.kt`)
2022-12-21 16:30:58 +00:00
Dmitriy Novozhilov
54a004ef1a
[FIR] Fix behavior of FirCompilerLazyDeclarationResolverWithPhaseChecking in tests
...
1. There was an incorrect filtration of failures if FIR_DISABLE_LAZY_RESOLVE_CHECKS
directive was present
2. `FirDumpHandler` potentially can call lazy resolution in presence of
compiler plugins, so we should call `startResolvingPhase`/`finishResolvingPhase`
in it before traversing the tree
2022-12-21 16:30:58 +00:00
Igor Chevdar
c9ba9b995e
[K/N] Fixed a dependency tracking bug
2022-12-21 15:59:20 +00:00
Pavel Mikhailovskii
06d3e1d8bd
KT-55005 Do not generate CHECKCAST before AASTORE
2022-12-21 15:06:07 +00:00
Aleksei.Cherepanov
d26b96afe1
Avoid failure of maven compilation if empty args are passed
...
#KT-54822 Fixed
Merge-request: KT-MR-8103
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2022-12-21 14:35:07 +00:00
Ilya Chernikov
8c5739739c
minor: drop main-kts tests on oldBE
...
it is not supported anymore
2022-12-21 14:34:22 +00:00
Ilya Chernikov
deb2d6d024
K2 Scripting: enable K2 tests in some test projects
2022-12-21 14:34:21 +00:00
Ilya Chernikov
90a4f6002e
K2 Scripting: support sam-with-receiver in scripting plugin
2022-12-21 14:34:21 +00:00
Ilya Chernikov
baf90178ad
K2 Scripting: fix resolution for scripts:
...
script should not be resolved on annotations args mapping resolve
2022-12-21 14:34:21 +00:00
Ilya Chernikov
00a28f9f49
K2 Scripting: compiler extension for script configuration
2022-12-21 14:34:20 +00:00
Ilya Chernikov
a89dfdce03
K2 Scripting: add support for script args to FIR part
2022-12-21 14:34:20 +00:00
Ilya Chernikov
533a5671bc
K2 Scripting, IR: add script receiver on conversion to class
2022-12-21 14:34:19 +00:00
Ilya Chernikov
337d11d4c8
K2 Scripting: enable K2 compilation in scripting plugin
2022-12-21 14:34:19 +00:00
Ilya Chernikov
bc2aa20b86
Revert unrelated refactoring from "FIR: Fix interface delegation ABI"
...
the refactoring is questionable at places and breaks FirScript support
2022-12-21 14:34:19 +00:00
Sergey Bogolepov
64319477f0
[K/N] Test for cinterop hints
2022-12-21 13:28:17 +00:00
Sergey Bogolepov
233b01f341
[K/N] CInterop ExceptionPrettifier
...
Add a wrapper around cinterop invocation that tracks exceptions.
Wrapper has a set of handlers. Each handler checks exception for some
pattern and if it matches, throws another exception with a more
user-friendly message.
The first such case is compilation error due to missing -fmodules flag.
2022-12-21 13:28:17 +00:00
Ilya Goncharov
256764f012
[Gradle, JS] Add test with packaged moduleName
...
[Gradle, JS] WA for moduleName starting with @
^KT-53288 fixed
2022-12-21 11:34:05 +00:00
Dmitriy Novozhilov
c8b6e57c4d
[Serialization] Use original name instead of SerialName for parameters of constructor
2022-12-21 11:09:31 +00:00