Ivan Kylchik
5c28e63608
[K2] Forbid to do equality check with null in constant expressions
2024-01-16 09:57:53 +00:00
Ivan Kylchik
f8e9e99d87
[K2] Allow using simple boolean expressions in constant position
...
Such behavior is not the same as in K1, but it is more consistent.
#KT-64400 Fixed
2024-01-16 09:57:52 +00:00
Alexander Korepanov
b1465fbfb8
[JS FIR] Enable warnings and infos for JS FIR tests
2023-11-27 14:31:31 +00:00
Ivan Kylchik
fd4a3a0b88
[FIR] Forbid to use equality and unsigned comparison in const expression
...
#KT-62683
2023-11-21 09:48:58 +00:00
Ivan Kylchik
3fa82c7bb1
[K2] Properly evaluate complex boolean constants
...
Some boolean expressions could be transformed into `IrWhen`
node. To understand that this node is actually
a boolean expression, we need to analyze its origin.
#KT-62683
2023-11-21 09:48:57 +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
261527939b
[JS IR] Fix JS code diagnostics tests according to new KLIB checks
...
^KT-62425
2023-10-26 19:22:14 +00:00
Alexander Korepanov
04809a6b3b
[JS IR] Move tests for JS code diagnostics
...
^KT-62425
2023-10-26 19:22:14 +00:00
Alexander Korepanov
0f4c550ee0
[JS IR] Add JS BE diagnostic tests
...
Add tests for:
- EXPORTING_JS_NAME_CLASH
- EXPORTING_JS_NAME_CLASH_ES
^KT-61710
2023-09-23 19:49:17 +02:00
Alexander Korepanov
be4f6beddb
[JS Tests] Prepare JS tests for testing backend diagnostics
...
- Introducing a backend diagnostic handler.
- Moving JS diagnostic tests from test-common to
js.test to avoid circular module dependencies.
^KT-61886 Fixed
2023-09-13 12:19:15 +00:00
Dmitry Petrov
92a8448042
DiagnosticsTestWithJsStdLib should use proper language version settings
2018-07-20 10:39:51 +03:00
Dmitry Petrov
5767f84c0e
Restrict retention for annotations with target EXPRESSION
...
#KT-13762 Fixed
2018-07-18 14:21:03 +03:00
Alexey Andreev
c65a79bca4
Fix tests for inline cycle diagnostics in JS
2017-09-08 18:27:42 +03:00
Alexey Andreev
9dc16f0564
JS: prohibit runtime annotations on external declarations. Warn about runtime annotation in remaining cases. See KT-13895
2016-12-13 13:58:41 +03:00
Valentin Kipyatkov
ec51076355
DescriptorRenderer to render annotations for all types + separate option to render annotation arguments + use it in IdeDescriptorRenderers
2016-10-11 23:38:54 +03:00
Zalim Bashorov
c28b701ccf
JS: ignore annotation on expression when its retention is SOURCE
...
#KT-8258
2016-02-15 21:35:30 +03:00
Alexey Tsvetkov
1e2256207c
Update test data
2015-10-19 20:45:02 +03:00
Denis Zharkov
4850fd10f0
Regenerate test data containing rendered descriptors
...
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00
Michael Nedzelsky
bc5c9065d2
fix tests in org.jetbrains.kotlin.checkers
2015-09-08 02:04:32 +03:00
Alexey Tsvetkov
b5797eb15b
JS: added tests for recursion cycle in inline functions
2015-03-23 16:43:48 +03:00