Mikhail Glukhikh
1ba900be44
FIR2IR: change origin & operator flag in data classes making them closer to K1
...
Related to KT-54887
2023-05-15 08:16:24 +00:00
Sergej Jaskiewicz
89ff7bd0db
[IR] Add body printing strategy to Kotlin-like dumper
2023-05-04 14:11:19 +00:00
Ivan Kylchik
63b340651d
Add possibility to interpret and fold IrStringConcatenation expression
2023-03-24 15:55:06 +00:00
Mikhail Glukhikh
0ecfcf4380
FIR2IR: make anonymous object constructor public to match K1 behavior
2023-03-16 18:07:36 +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
Kirill Rakhman
9a328ec75b
[FIR2IR] Apply implicit casts to blocks
2023-03-02 10:19:51 +00:00
Steven Schäfer
6af616d3c3
FIR: make declarations marked with 'override' implicitly open
...
#KT-52236 Fixed
2022-12-14 21:46:41 +00:00
Mikhail Glukhikh
febf336d23
IrConstTransformer: transform constants also inside call children
2021-12-13 16:24:59 +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
Mikhail Glukhikh
ebfc431733
FIR body resolve context: fix accessor scope handling
2021-03-17 12:13:23 +03:00