Artem Kobzar
3429cbd321
[K/JS] Support companion objects in external and exported declarations
2024-02-27 16:30:13 +00:00
Kirill Rakhman
f9540d8f69
[JS] Remove non-functional IGNORE_FIR directive in js box tests
2023-04-06 08:03:12 +00:00
Nikolay Lunyak
bdc3b5fe6f
[FIR JS] Mute 170 failing multi-module tests
2022-06-02 13:47:24 +00:00
Ilya Goncharov
0463b5ec3c
rra/ilgonmic/duplicated-import-names
...
[JS IR] Add tests with external funs and global vals
[JS IR] Non module cases are exceptions for naming
[JS IR] Use fqn for jsModule on declaration
[JS IR] Add test on same external names
Merge-request: KT-MR-5901
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-51438 fixed
2022-03-14 14:04:27 +00:00
Anton Bannykh
aa628ae7b3
[JS IR] tests both per-module and regular mode
2021-12-22 10:14:08 +03:00
Anton Bannykh
9c4c798fe7
[JS IR] mute tests with wrong linkage
2021-12-01 16:50:16 +03:00
Anton Bannykh
58bd4ffd71
[JS IR] disable some AST checks for now
2021-11-19 00:38:55 +03:00
Ivan Kylchik
32e6d3908d
[JS TESTS] Move MODULE_KIND directive to module level
2021-10-25 00:14:19 +03:00
Sergej Jaskiewicz
65d40c2253
[JS IR] Make tests that use directives pass with IR BE
2021-10-06 09:23:50 +00:00
Anton Bannykh
0182c09318
[JS IR] fix name clashes for imported external declarations
2021-05-20 16:37:38 +03:00
Roman Artemev
2612609664
[JS] Add test for KT-39378
2020-09-02 14:42:17 +03:00
Zalim Bashorov
606232a584
[JS IR] Don't generate "import" statements for external interfaces
...
#KT-40964 fixed
2020-08-28 13:14:22 +03:00
Victor Turansky
4d219d1eed
KT-31126 JS. Fix super constructor call. Test infra comment
...
Primary ordinary -> secondary external
2020-04-07 09:30:22 +03:00
Victor Turansky
be39151fad
KT-31126 JS. Fix super constructor call. Tests
...
Primary ordinary -> secondary external
2020-04-07 09:30:22 +03:00
Svyatoslav Kuzmich
cd80eced32
[JS IR BE] Use fresh name for external JsModule declarations.
2020-02-27 16:54:55 +03:00
Roman Artemev
8a569cc698
[JS IR BE] Do not create $default stub for external function and any its fake override
2019-07-04 22:59:12 +03:00
Roman Artemev
5686de7e09
[JS IR BE] Make kotlinx.io compile
...
- Fix expect/actual default arguments
- Fix dynamic type in inliner
- Fix external varargs
2019-05-31 13:14:43 +03:00
Svyatoslav Kuzmich
27005d7c2e
[JS IR BE] Basic support for external varargs
2019-02-28 20:13:56 +03:00
Svyatoslav Kuzmich
cfde97a7a0
[JS IR BE] Support nested external classes
2019-02-12 18:45:35 +03:00
Svyatoslav Kuzmich
0ff23544fc
[JS IR BE] Initial support for mudule wrapper generation
2019-02-12 18:45:35 +03:00
Svyatoslav Kuzmich
d8b1d09566
[JS IR BE] Support codegen for external objects and properties
2019-02-12 18:45:35 +03:00
Anton Bannykh
b389e29db5
JS: update DCE testdata
2018-09-12 09:49:25 +03:00
Zalim Bashorov
2fb286e39c
[JS IR BE] Update tests
2018-07-31 11:28:39 +03:00
Zalim Bashorov
d03a128aa5
[JS IR BE] mute failed tests
2018-04-19 13:17:28 +03:00
Alexey Andreev
3b3fd0fa0d
JS: fix DCE limits in test data to fit new kotlin.js size
...
The size has increased due to new implementation of KClass
2017-10-06 18:16:51 +03:00
Anton Bannykh
e43a145614
fixup: updated EXPECTED_REACHABLE_NODES
2017-07-19 12:24:09 +03:00
Alexey Andreev
f5510b8d66
Fix translation to JS of call to top-level fun with vararg and @JsModule
...
See KT-17871
2017-05-26 18:24:15 +03:00
Alexey Andreev
e2c2fcf1ff
Generate EXPECTED_REACHABLE_NODES directive on JS box tests
2017-05-26 18:20:20 +03:00
Alexey Andreev
ba65e58fdd
JS: add checker to detect non-external declarations in files marked by JsModule or JsQualifier annotation
2017-01-25 13:52:19 +03:00
Alexey Andreev
aedf8bd232
JS: replace noImpl with definedExternally in tests
2017-01-24 20:14:31 +03:00
Alexey Andreev
245f23e7c2
JS: fix translation of references to external nested classes in files marked with @JsModule. See KT-15797
2017-01-19 16:30:57 +03:00
Zalim Bashorov
ca2930600a
KJS: introduce $kotlin_test_internal$ to expose some helper functions in the tests
2017-01-18 14:42:40 +03:00
Alexey Andreev
79ba6a57d6
JS: report errors on different external items:
...
* data classes
* val/var parameters of primary constructors
* enum entry with body
* anonymous `init {}` block in classes
2016-12-29 16:00:35 +03:00
Alexey Andreev
9b4b7960d3
JS: prevent compiler from importing module more than once if not necessary. See KT-15260
2016-12-22 17:19:25 +03:00
Alexey Andreev
68412ae94f
JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc
2016-12-08 15:41:39 +03:00
Alexey Andreev
d63a727474
KT-12877: support plain reference to declaration in UMD wrapper, support plain reference to package
2016-12-03 17:15:09 +03:00
Alexey Andreev
495c876b3b
KT-12877: add tests for UMD modules
2016-12-03 17:15:09 +03:00
Alexey Andreev
08a7f9c298
KT-12877: reorganize JS module tests to support different module systems. Test JsModule in conjunction with JsNonModule and plain module type
2016-12-03 17:15:08 +03:00
Alexey Andreev
7be872ebca
KT-12877: modify tests to check whether mutable top-level properties of JsModule files are supported
2016-12-03 17:14:29 +03:00
Alexey Andreev
b1d8f91212
KT-12877: fix how native calls and property references are translated to be make them work with JsModule annotation
2016-12-03 17:14:29 +03:00
Alexey Andreev
ac703dfda6
KT-12877: serialize information about file annotations. For each top-level declaration store containing file. Use this information to properly handle file-targeted JsModule.
2016-12-03 17:14:29 +03:00