Dmitriy Dolovov
16d1e85932
IR text tests: Stable blank lines between declarations in class
...
Rework rendering of kt-like dump and signatures dump in order to avoid
unstable blank line between declarations of the same level:
1. No blank line for the first declaration inside the member scope of
the class.
2. Always a single blank line between each two subsequent declarations
inside the member scope of the class.
2023-11-30 08:32:35 +00:00
Dmitriy Novozhilov
8578a0bf6a
[FIR2IR] Properly insert casts for smartcasts in argument position
...
Previously cast inserter didn't consider expected type for arguments
of function calls
^KT-63257 Fixed
2023-11-10 07:50:01 +00:00
Dmitriy Novozhilov
c70a6425f5
[FIR2IR] Don't insert not-needed upcasts for smartcasted expressions
...
Related to KT-63257
2023-11-10 07:50:00 +00:00
Dmitriy Novozhilov
9366847e96
[FIR2IR] Properly approximate intersection types during fir2ir conversion
...
^KT-62544 Fixed
2023-10-18 13:02:11 +00:00
Vladimir Sukharev
9a2eff6487
[FIR2IR] Don't replace while loop and when branch body blocks with single expression. Skip some empty blocks.
...
https://youtrack.jetbrains.com/issue/KT-60264/K2-while-loop-body-block-sometimes-replaced-with-single-expression
Merge-request: KT-MR-12035
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-09-18 15:27:19 +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
Jinseong Jeon
d753d21dee
FIR2IR: don't add SAM conversion for explicit subtype cases
2020-12-21 18:01:27 +03:00
Jinseong Jeon
d5a6991b2d
FIR: extend SAM conversion to subtype of functional type
2020-12-21 18:01:22 +03:00
Zalim Bashorov
c68040753d
[IR] dumpKotlinLike: add testdata for FIR tests
2020-11-26 00:15:13 +03:00