Pavel Kunyavskiy
e6f4d6e6fa
[Tests] Use stable order for ir/kotlinLike dumps
...
^KT-65406
2024-02-16 10:19:38 +00:00
Vladimir Sukharev
bae8b283c7
[IR] Normalize temp var names in Kotlin-like dump
...
^KT-61983 Fixed
2023-10-11 07:49:35 +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
Kirill Rakhman
3b9724d20e
[FIR] Desugar increment/decrement in body resolve phase
...
The expression needs to be resolved first to determine if there is a
receiver that needs to be extracted to a temporary variable. Also, the
special case for prefix increment/decrement on local variable without
delegates requires resolution to check if the variable is local.
^KT-56771 Fixed
^KT-56659 Fixed
2023-03-02 10:19:57 +00:00
Mikhail Glukhikh
f278de8768
FIR: don't call toString() inside string concatenations
2021-04-26 12:50:55 +03:00
Jinseong Jeon
7898d167f3
FIR2IR: wrap do-while loop in IrBlock
...
"so that variables declared in loop body are not visible outside of the
loop" (from commit d096f1d )
2021-04-01 20:07:47 +03:00
Zalim Bashorov
c68040753d
[IR] dumpKotlinLike: add testdata for FIR tests
2020-11-26 00:15:13 +03:00