Ivan Kylchik
33c799b6d9
[JS TESTS] Drop pir tests
2021-11-12 21:24:30 +03:00
Ivan Kylchik
4d5ba7e956
[JS TESTS] Drop ES6 tests
2021-11-12 21:24:29 +03:00
Svyatoslav Kuzmich
49d63abc88
[Wasm] Add JS box/native tests
2021-11-12 18:44:47 +03:00
Ilya Goncharov
c30292a472
[Gradle, JS] Close zip file after reading
2021-11-11 10:25:53 +00:00
Ilya Goncharov
4efde83772
[Gradle, JS] New rules for zipped klib in zip
2021-11-11 10:25:53 +00:00
Ilya Goncharov
3ef5e36425
[Gradle, JS] Use formal check of klibs in gradle plugin
2021-11-11 10:25:53 +00:00
Alexander Udalov
27cfcb9b3d
IR: fix thisReceiver parameter type for function classes
...
Incorrect builder was used at line 269, which led to non-sensible type
in `IrClass.thisReceiver` for function types, such as
`SuspendFunction1<SuspendFunction1, SuspendFunction1>` in the linked
issue.
Avoid creating types manually completely to simplify this code and fix
the bug.
#KT-49168 Fixed
2021-11-10 21:58:41 +01:00
Dmitry Petrov
76bdf4ff1a
JVM KT-49548 extra test
2021-11-10 19:37:25 +03:00
Dmitry Petrov
9a4cff0dc7
JVM KT-49548 progression iterators can be tainted
2021-11-10 19:37:24 +03:00
Svyatoslav Kuzmich
a5aee29baa
[Wasm] Fix createDirectoryToRunInBrowser
...
Helper function to import stringFromWasm no longer needed.
2021-11-09 19:54:26 +00:00
Alexander Udalov
1071919706
Remove backend tests on old inference
...
Also remove any mentions of NewInference, and rename some tests.
2021-11-09 20:07:33 +01:00
Sergej Jaskiewicz
7b017fad90
[JS IR] Add tests for KT-41964 and KT-44981
2021-11-09 14:34:13 +00:00
Ivan Kylchik
3adf80ed37
[TESTS] Replace IrBackendInput if check with require
2021-11-08 23:50:36 +03:00
Ivan Kylchik
81211acbc0
[JS TESTS] Extract common code responsible for getting dependencies
2021-11-08 23:50:35 +03:00
Ivan Kylchik
fdf3288e3d
[JS TESTS] Move dump of artifacts into js ir backend facade
2021-11-08 23:50:35 +03:00
Ivan Kylchik
7d00dd98d5
[JS TESTS] Suppress unused parameter in incremental handler
2021-11-08 23:50:35 +03:00
Ivan Kylchik
db6c357e8e
[JS TESTS] Enable diagnostic report for tailRecursion
2021-11-08 23:50:35 +03:00
Ivan Kylchik
54804417dd
[JS TESTS] Rewrite js ir ic tests using new test infrastructure
2021-11-08 23:50:35 +03:00
Ivan Kylchik
c59098df2f
[JS TESTS] Rewrite js ir tests using new test infrastructure
2021-11-08 23:50:34 +03:00
Ivan Kylchik
0e4cf05d3e
[JS TESTS] Fix es module test files for new test infrastructure
2021-11-08 23:50:34 +03:00
Ivan Kylchik
edd608446e
[TESTS] Move WITH_RUNTIME directive to file level
2021-11-08 23:50:34 +03:00
Igor Laevsky
cb10bd3a95
[Wasm] Port stdlib and kotlin.test build to wasm gradle plugin
2021-11-03 16:23:01 +03:00
Ilya Goncharov
f22de86954
[JS IR] Possibility to use export for nested inside object
...
[JS IR] Fix test data after master rebase
[JS IR] Use stdlib's listOfNotNull
[JS IR] Possibility to use export for nested inside object
- Add tests for such cases
Merge-request: KT-MR-4883
^KT-49363 fixed
2021-11-03 09:56:22 +00:00
Sergej Jaskiewicz
42c213d950
[JS IR] Explicitly convert Long values to String in string concatenation
...
#KT-39891 Fixed
2021-11-02 10:42:28 +00:00
Ilya Goncharov
9fdb0a23cd
[JS IR] Add literal and union types to TS generation, support them for enum
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:24 +00:00
Ilya Goncharov
4fa2fa6c26
[JS IR] Export name and ordinal for enum classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:24 +00:00
Ilya Goncharov
a31a6c5117
[JS IR] Fix conflict with master
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:23 +00:00
Ilya Goncharov
993b194a7b
[JS IR] Actualize JS files according to TS tests
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:22 +00:00
Ilya Goncharov
817e3dc306
[JS IR] Add TypeScript export tests for enum class
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:21 +00:00
Ilya Goncharov
cd1296309f
[JS IR] Add constructor parameter to test and values, valueOf methods
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:21 +00:00
Ilya Goncharov
9bd44e01f5
[JS IR] Export enum members like from usual classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:20 +00:00
Ilya Goncharov
c7bec4c6c4
[JS IR] Allow to export enum classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:19 +00:00
Ilya Goncharov
196dc6b071
[JS IR] Add test for enum exportness
...
^KT-44494 fixed
2021-11-01 13:28:19 +00:00
Mikhael Bogdanov
afc149d460
JvmDefault. Allow non default inheritance with special flag
...
#KT-47000
2021-11-01 13:30:57 +01:00
Victor Petukhov
b69fb6779f
Basic support of partially specified type arguments though a new underscore operator for type arguments
...
^KT-13394
2021-11-01 12:25:07 +03:00
Artem Kobzar
979e9f94ef
feat(Escaped Identifiers): add ability to use any symbol wrapped in back ticks.
2021-10-29 17:55:59 +00:00
Dmitry Petrov
4f0c3c3c0d
JVM_IR never generate setter synthetic accessor for 'val' field
...
KT-49316
2021-10-29 18:38:11 +03:00
Artem Kobzar
102072a229
fix(KT-40236): compute JsName from overridden symbols.
2021-10-29 14:09:31 +00:00
Georgy Bronnikov
534beb8553
IR: Test for toSkip(this) in T.resolveFakeOverride()
...
^KT-49371 Fixed
2021-10-29 12:13:57 +03:00
Svyatoslav Kuzmich
a13329fc65
[JS IR] Regenerate and mute test
2021-10-28 22:39:09 +03:00
Artem Kobzar
790e8843f9
fix(JS_IR): add outer classes resolving inside the function inliner.
2021-10-28 17:34:58 +00:00
Artem Kobzar
7f7aa9a921
feat(Inner Classes): generate typescript type definitions and JS for Inner Classes.
2021-10-28 17:33:41 +00:00
Svyatoslav Kuzmich
f7d3cb269f
[Wasm] Support passing lambdas from Kotlin to JS
2021-10-28 18:47:38 +03:00
Roman Artemev
23ad0e7c63
[TEST] Add test checking cast to DNN type
...
muted temporary due to required support in backends
2021-10-28 18:03:14 +03:00
Ivan Kylchik
1a52512578
[JS TESTS] Restore AbstractIrCodegenWasmJsInteropJsTest in generator
2021-10-28 15:18:30 +03:00
Dmitriy Novozhilov
f26059a7d3
[FE] Add clear warning about future changes about nullability of safe call with non nullable receiver
...
^KT-46860
2021-10-27 16:28:37 +03:00
Alexander Likhachev
56cf2549e7
[JS] Close file descriptors after embedding sources into source map
...
#KT-49300 Fixed
2021-10-26 20:21:15 +03:00
Victor Petukhov
64c682f465
Remove constraints containing stub types after completion of the common system of a builder inference call
...
^KT-49285 Fixed
2021-10-26 19:37:59 +03:00
Victor Petukhov
d50eba62bd
Propagate inference session from local context into property resolvers
...
^KT-48633 Fixed
2021-10-26 19:37:56 +03:00
Denis.Zharkov
2a8eacd4ba
FIR2IR: Fix exception when local class used before declaration
2021-10-26 18:45:59 +03:00