Mikhail Glukhikh
fc6403679a
Rename !USE_EXPERIMENTAL test directive to !OPT_IN
2021-09-10 16:29:16 +03:00
Dmitriy Novozhilov
64a300bfcd
[TD] Update testdata according to previous commit
2021-02-02 17:53:52 +03:00
Dmitriy Novozhilov
8973e3f362
[TD] Update fir directives in boxInline tests
2021-02-02 17:50:07 +03:00
pyos
a4b005fd5d
PSI2IR: generate field writes for all val property assignments
...
Assuming the frontend is correct, and it hopefully is, all of them are
initializations even if not done in the owner class directly.
2019-12-20 13:03:39 +03:00
Alexander Udalov
4164b620e8
Minor, remove obsolete directives and suppressions from contracts test data
2019-11-07 15:20:34 +01:00
Alexander Udalov
66e19b13ce
IR: create shared variables for val-variables when needed
...
This is possible when a lambda's contract guarantees initialization of a
variable.
2019-11-07 15:20:34 +01:00
pyos
06c00f4d9e
Unmute some JVM_IR inlining tests
2019-10-08 17:19:41 +02:00
Ilmir Usmanov
08794d17a0
Do not box function argument if it is used in EXACTLY_ONCE lambda
...
Since we cannot change type of parameter, we cannot replace it with
box type.
#KT-29510 Fixed
#KT-29614 Fixed
#KT-29385 Fixed
2019-09-30 17:42:17 +03:00
Georgy Bronnikov
7ede26e8f4
IrCompileKotlinAgainstInlineKotlin tests
2019-09-06 09:19:57 +03:00
Svyatoslav Kuzmich
aa811dcfb3
[JS IR BE] Add KJS_WITH_FULL_RUNTIME directive to compiler tests
2019-01-24 16:14:40 +03:00
Ilmir Usmanov
8a01da6ec6
Support val initialization in non-inline function with EXACTLY_ONCE effect
...
by generating a box for the value.
#KT-26126 Fixed
2018-12-28 15:09:11 +03:00
Roman Artemev
b010d9eef8
Add Contract tests for JS
2018-11-08 17:35:06 +03:00
Dmitry Savvinov
ee8702d21e
Load of testdata change due to contracts publishing
...
See changes in e2606b72bdbec2fea567d4127197707869eb801e
2018-08-30 16:19:55 +03:00
Pavel Punegov
2ff6047845
Update ignore tag for Native backend
2018-08-28 13:48:43 +03:00
Mikhael Bogdanov
e149cbe852
Mute failed jvm ir tests
2018-06-28 12:26:41 +02:00
Dmitry Savvinov
b29a6e48fb
Refactor language features, which control effect system
...
- Introduce new language feature 'ReadDeserializedContracts', which
allows to deserialize contracts from metadata.
- Introduce new language feature 'AllowContractsForCustomFunctions',
which allows reading contracts from sources.
- Use new features instead of combination 'CallsInPlaceEffect ||
ReturnsEffect'
- Rename 'CallsInPlaceEffect' -> 'UseCallsInPlaceEffect',
'ReturnsEffect' -> 'UseReturnsEffect'. As names suggest, they control
if it is allowed to use corresponding effect in analysis.
We have to introduce separate 'ReadDeserializedContracts' to enable
contracts only in some modules of the project, because libraries are
read with project-wide settings (see KT-20692).
2018-01-26 11:30:44 +03:00
Mikhael Bogdanov
819a3a95b3
Add support for contract feature in inliner
2017-12-19 16:11:39 +01:00