Artem Kobzar
98186ec283
[K/JS] Add ES6 typescript tests + fix a few bugs for it
2023-11-30 13:37:06 +00:00
Artem Kobzar
6615b77213
[K/JS] Rework symbol hash calculation to make IC works with @JsExport and @JsName changes
2023-11-27 13:49:56 +00:00
Artem Kobzar
33ab1871c7
[K/JS] Fix coroutines but turn back the fix for coroutines intrinsics intercepted and releaseIntercepted
2023-11-22 18:10:08 +00:00
Alexander Korepanov
bf54fda8ec
[JS Test] Add a test case
...
Add a test case for a suspend lambda
with a user-defined value class.
^KT-62077 Fixed
2023-11-22 16:29:54 +00:00
Nikolay Lunyak
427c067cd8
[FIR] Forbid typeRef-named labels without +ContextReceivers
...
^KT-63068 Fixed
2023-11-22 13:22:45 +00:00
Alexander Korepanov
85b2daf41d
[JS IR] Add reflection tests
2023-11-22 09:21:44 +00:00
Nikolay Lunyak
f12ecb3011
[FIR2IR] Avoid converting arguments of dynamic array set twice
...
^KT-63593 Fixed
Merge-request: KT-MR-13152
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com >
2023-11-22 07:39:46 +00:00
Artem Kobzar
ff50d40b32
[K/JS] Rework kotlin tests compilation to make it works with per-file granularity ^KT-61525 Fixed
2023-11-16 19:02:04 +00:00
Artem Kobzar
890fbd6b0b
[K/JS] Process JS-specific returnable blocks before the state machine building
...
^KT-60785 Fixed
^KT-63207 Fixed
2023-11-16 13:25:51 +00:00
Artem Kobzar
f4d088a886
[K/JS] Don't add nested classes generated by plugins into ExportModel for interfaces ^KT-63184 Fixed
2023-11-15 10:21:22 +00:00
Artem Kobzar
82bca7a04f
[K/JS] Rework member-exportability check in a right way ^KT-61957 Fixed
2023-11-15 10:18:05 +00:00
Ilya Goncharov
11b7c35eab
All tasks related to typescript generation made configuration avoidance compatible
...
^KTI-1471 fixed
2023-11-14 16:53:23 +00:00
Artem Kobzar
bec434d534
[K/JS] Save nullability from the original type of value parameters ^KT-63013 Fixed
2023-11-14 10:40:07 +00:00
Mikhail Glukhikh
4913c38e98
FIR2IR: insert spread for named argument against primitive vararg
...
#KT-60312 Fixed
2023-11-13 16:23:26 +00:00
Alexander Korepanov
0d7de87e2e
[JS IR test] Add a test for invalidation with a src name chash
2023-10-30 09:14:16 +00:00
Alexander Korepanov
73bf7fa506
[JS IR test] Add a simple multiplatform invalidation test
2023-10-30 09:14:15 +00:00
Alexander Korepanov
91edbeb747
[JS IR] Add tests for checking constant inlining with JS IR IC
...
^KT-62425
2023-10-26 19:22:14 +00:00
Alexander Korepanov
4ebfed04d3
[JS IR] Add tests for JS code KLIB diagnostics
...
^KT-62425
2023-10-26 19:22:14 +00:00
Alexander Korepanov
78aa34b3e8
[JS IR] Fix JS box tests
...
^KT-62425
2023-10-26 19:22:14 +00:00
Alexander Korepanov
188cdf2f98
[JS IR] Allow constant inlining in JS IR
...
Fixed the incremental compilation issue,
which had prevented enabling const inlining during constant
evaluation and folding a constant expression with JS code.
^KT-62425
2023-10-26 19:22:14 +00:00
Artem Kobzar
6cd42eeb71
[K/JS] Fix reexport with CommonJS and incremental compilation
2023-10-26 09:58:35 +00:00
Ilya Goncharov
573bc34b56
[JS] Invoke processing separately for suspend and non-suspend function
...
^KT-62771 fixed
2023-10-25 13:28:58 +00:00
Artem Kobzar
4a042dafef
[K/JS] Fix nameBindings for ES-modules after the ES-modules external declarations optimization
2023-10-20 14:04:39 +00:00
Mikhail Glukhikh
13ae4abe52
FIR2IR: use elvis temporary variable name closer to PSI2IR
...
Related to KT-61983
2023-10-13 15:42:57 +00:00
Artem Kobzar
eef57f216c
[K/JS] Rework main function call to support it in per-file
2023-10-04 12:13:20 +00:00
Artem Kobzar
1062ca9646
[K/JS] Add ingored test for KT-60785 fix until the rr/vgrechko/accidental-reification-2 will be merged
2023-09-28 15:15:04 +02:00
Artem Kobzar
857c07fa25
[K/JS] Fix corutines build for 1.9.20
...
This reverts commit f0d6471a8bcbdfc52ddc840a6383032ef86976d1.
2023-09-28 15:15:04 +02:00
Artem Kobzar
878452bd2b
[K/JS] Implement file merging for clashed file during per-file compilation
2023-09-14 13:14:15 +00:00
Alexander Korepanov
f07028959d
[FIR JS] Add more tests for JS_NAME_CLASH diagnostic
...
^KT-61862 Related
2023-09-13 10:54:57 +00:00
Artem Kobzar
7bc521ab92
[K/JS] Reset exceptionState inside coroutines with a finally block ^KT-58685 Fixed
2023-09-12 15:18:16 +00:00
Alexander Korepanov
238344758b
[FIR] Fix the inability to retrieve an annotation argument
...
Fix an issue where an inherited @JsName from
another module was not accessible in a child class.
The issue can only be reproduced in the codegen box tests
and cannot be reproduced in the FIR FE checker tests.
2023-09-08 09:55:25 +00:00
Alexander Korepanov
ea9e2eb41a
[FIR JS] Add more tests for JS_NAME_CLASH and JS_FAKE_NAME_CLASH
...
^KT-59425 Related
^KT-59370 Related
2023-09-08 09:55:25 +00:00
Artem Kobzar
bff433f4e9
[K/JS] Support eager initialization for per-file granularity
2023-09-06 09:27:28 +00:00
Bogdan Mukvich
7b00323b89
[Build] Update guava
...
Fix some reports from "Show Vulnerable Dependencies"
^KTI-1342
2023-08-25 14:10:37 +00:00
Artem Kobzar
4dc0d68288
[K/JS] Fix autoboxing for inlined function ^KT-60785 Fixed
2023-08-11 09:19:51 +00:00
Alexander Korepanov
7a31167e0b
[Common IR] Do not add internal methods to overrides
...
[JS IR] Use a module name in JsFunctionSignature for internal methods
^KT-60635 Fixed
2023-08-09 16:35:59 +00:00
Igor Yakovlev
983991d46c
[Wasm] Add box and stdlib tests in wasi mode
2023-08-08 18:10:19 +02:00
Artem Kobzar
2c4569568b
[K/JS] Fix importing behavior for external interfaces in case of implementing them
2023-08-03 13:10:03 +00:00
Alexander Korepanov
d0e4515ec1
[JS IR] Materialize all JsCompositeBlock
...
^KT-60667 Fixed
2023-08-01 12:22:17 +00:00
Artem Kobzar
12715c062d
[K/JS] Reexport exported declarations in a proxy module file with per-file compilation
2023-08-01 09:42:33 +00:00
Artem Kobzar
08bd0d6ce1
[K/JS] Generate tests for K2 + ES-classes compilation
2023-08-01 09:16:20 +00:00
Abduqodiri Qurbonzoda
6fdfd4e8dd
Null-terminate Collection.toArray destination only in JVM
...
In other platforms the elements following the collection elements
should not be changed.
As a part of efforts to stabilize Native stdlib.
2023-07-27 11:16:58 +00:00
Artem Kobzar
029c71ebb1
[K/JS, K/Wasm] Implement enumEntries top-level function ^KT-59712 Fixed
2023-07-27 09:43:01 +00:00
Shagen Ogandzhanian
9bc9014c26
[KT-59294] Fix for the WRONG_JS_INTEROP_TYPE error in K1WasmJsTranslatorTestGenerated::simpleUndefined
2023-07-21 19:13:58 +00:00
Shagen Ogandzhanian
eb7805baf9
[KT-59294] [wasm] Resolve undefined to null for any nullable types in external functions
2023-07-21 19:13:57 +00:00
Artem Kobzar
044c0adae7
[K/JS] Implement an incremental compilation for the per-file granularity
2023-07-19 15:57:56 +00:00
Artem Kobzar
e4bdd3560c
[K/JS] Change order of exported properties definition for non ES-classes compilation ^KT-60131 Fixed
2023-07-19 14:33:19 +00:00
Artem Kobzar
b1884456b8
[K/JS] Fix initialization issue for objects which annotated with @JsExport and contain nested classes
...
Merge-request: KT-MR-11146
Merged-by: Artem Kobzar <Artem.Kobzar@jetbrains.com >
2023-07-19 10:41:25 +00:00
Artem Kobzar
41f27d19b5
[K/JS, K/Wasm] Generate star imports for external objects with the @JsModule annotation for ES modules
2023-07-18 15:36:19 +00:00
Alexander Korepanov
a588e75c11
[JS IR] Optimize JS AST for closures
...
^KT-58891 Fixed
2023-07-13 16:37:18 +00:00