Zalim Bashorov
90fdfbde68
[IR] KotlinLikeDumper: unify printing custom/non-standard modifiers
2020-11-26 00:15:19 +03:00
Zalim Bashorov
57cb8f97e9
[IR] update testdata: don't use "D" suffix on double constants
2020-11-26 00:15:18 +03:00
Zalim Bashorov
73771a3513
[IR] KotlinLikeDumper: don't use "D" suffix on double constants
2020-11-26 00:15:17 +03:00
Zalim Bashorov
7df6575a18
[IR] update testdata: unify representation for error nodes
2020-11-26 00:15:16 +03:00
Zalim Bashorov
ef9a901635
[IR] KotlinLikeDumper: unify representation for error nodes
2020-11-26 00:15:15 +03:00
Zalim Bashorov
f8690d0395
[IR] KotlinLikeDumper: minor, collapse an if to helper function and add few more todos
2020-11-26 00:15:14 +03:00
Zalim Bashorov
c68040753d
[IR] dumpKotlinLike: add testdata for FIR tests
2020-11-26 00:15:13 +03:00
Zalim Bashorov
d7bd4240e1
[IR] dumpKotlinLike: don't crash when type argument is null
2020-11-26 00:15:12 +03:00
Zalim Bashorov
dec067af8c
[IR] stop overwriting testdata for dumpKotlinLike and use assertEqualsToFile
2020-11-26 00:15:11 +03:00
Zalim Bashorov
43ee50b91d
[IR] update testdata after rebase
2020-11-26 00:15:10 +03:00
Zalim Bashorov
2773e4baca
[IR] KotlinLikeDumper.kt -> dumpKotlinLike.kt
2020-11-26 00:15:09 +03:00
Zalim Bashorov
36591ba5f7
[IR] KotlinLikeDumper: replace all usages of commentBlockH with commentBlock
2020-11-26 00:15:07 +03:00
Zalim Bashorov
ad0f154ed1
[IR] add new testdata after rebase
2020-11-26 00:15:07 +03:00
Zalim Bashorov
f9fe82e735
[IR] KotlinLikeDumper: process specially when IrElseBranch's condition is not true constant
2020-11-26 00:15:05 +03:00
Zalim Bashorov
503370c9c2
[IR] update testdata: escape special symbols in Char and String constant values
2020-11-26 00:15:04 +03:00
Zalim Bashorov
0f10b5eb9e
[IR] KotlinLikeDumper: escape special symbols in Char and String constant values
2020-11-26 00:15:03 +03:00
Zalim Bashorov
92dda5cd92
[IR] KotlinLikeDumper.kt: cleanup
2020-11-26 00:15:02 +03:00
Zalim Bashorov
5b0efe2b64
[IR] KotlinLikeDumper: rearrange methods
2020-11-26 00:15:01 +03:00
Zalim Bashorov
d9dbc01c3e
[IR] KotlinLikeDumper: p.print("") -> p.printIndent()
2020-11-26 00:15:00 +03:00
Zalim Bashorov
c7d9b7adbe
[IR] KotlinLikeDumper: rearrange methods
2020-11-26 00:14:59 +03:00
Zalim Bashorov
76e959ef8c
[IR] KotlinLikeDumper: minor, update some comments
2020-11-26 00:14:58 +03:00
Zalim Bashorov
e94528fe0d
[IR] update testdata: print class name for callable references without receivers
2020-11-26 00:14:57 +03:00
Zalim Bashorov
b6e37c1f89
[IR] KotlinLikeDumper: print class name for callable references without receivers
2020-11-26 00:14:56 +03:00
Zalim Bashorov
2dbd784a6a
[IR] update testdata: print else -> ...
2020-11-26 00:14:55 +03:00
Zalim Bashorov
14dabed85a
[IR] KotlinLikeDumper.kt: move branch support to corresponding visit* methods
2020-11-26 00:14:54 +03:00
Zalim Bashorov
8f155c23a0
[IR] update testdata: better support for callable references
2020-11-26 00:14:53 +03:00
Zalim Bashorov
0d3d61862b
[IR] KotlinLikeDumper: better support for callable references
2020-11-26 00:14:52 +03:00
Zalim Bashorov
87eb06a21f
[IR] update testdata: improve annotations rendering in case when argument was not provided and there is default value
2020-11-26 00:14:51 +03:00
Zalim Bashorov
a34a311e86
[IR] update testdata: support annotations on parameters
2020-11-26 00:14:50 +03:00
Zalim Bashorov
182cb52bdb
[IR] KotlinLikeDumper: various changes for value and type params
...
* support annotations on value parameters
* support new value parameter flags -- hidden, assignable
* extract and reuse logic for value and type parameters
2020-11-26 00:14:49 +03:00
Zalim Bashorov
5cb2572c60
[IR] update testdata: better support for enum and object accesses
2020-11-26 00:14:48 +03:00
Zalim Bashorov
1fd12b7b8a
[IR] KotlinLikeDumper: better support for enum and object accesses
2020-11-26 00:14:47 +03:00
Zalim Bashorov
635cb44bf3
[IR] update testdata: support IrDynamic* nodes
2020-11-26 00:14:46 +03:00
Zalim Bashorov
82839e6a67
[IR] KotlinLikeDumper: support IrDynamic* nodes
2020-11-26 00:14:45 +03:00
Zalim Bashorov
cdc74304c7
[IR] add testdata for irJsText
2020-11-26 00:14:44 +03:00
Zalim Bashorov
68b17fe55b
[IR] KotlinLikeDumper: add more visit* to implement
2020-11-26 00:14:43 +03:00
Zalim Bashorov
4fb762e019
[IR] update testdata: minor updates for error nodes
2020-11-26 00:14:41 +03:00
Zalim Bashorov
b129788823
[IR] KotlinLikeDumper: minor updates for error nodes
2020-11-26 00:14:40 +03:00
Zalim Bashorov
a128cdc99c
[IR] KotlinLikeDumper: add more TODOs and remove some obsolete ones
2020-11-26 00:14:39 +03:00
Zalim Bashorov
bf20720590
[IR] KotlinLikeDumper: reformat
2020-11-26 00:14:38 +03:00
Zalim Bashorov
ad5df79e39
[IR] KotlinLikeDumper: merge Break & Continue
2020-11-26 00:14:36 +03:00
Zalim Bashorov
64b42401a1
[IR] update testdata: print a parameter in catch
2020-11-26 00:14:34 +03:00
Zalim Bashorov
2775c89ebb
[IR] KotlinLikeDumper: print a parameter in catch
2020-11-26 00:14:33 +03:00
Zalim Bashorov
5c8a93c7ff
[IR] update testdata: support labels on loops, break & continue
2020-11-26 00:14:32 +03:00
Zalim Bashorov
9daa86c1a2
[IR] KotlinLikeDumper: support labels on loops, break & continue
2020-11-26 00:14:31 +03:00
Zalim Bashorov
21da2b0350
[IR] update testdata: print whole string concatenation at one line
2020-11-26 00:14:30 +03:00
Zalim Bashorov
91c9d9d25c
[IR] KotlinLikeDumper: print whole string concatenation at one line
2020-11-26 00:14:29 +03:00
Zalim Bashorov
a6b408978f
[IR] update testdata: super and receiver for field accesses
2020-11-26 00:14:28 +03:00
Zalim Bashorov
029ee6f2e7
[IR] KotlinLikeDumper: super and receiver on field accesses
2020-11-26 00:14:27 +03:00
Zalim Bashorov
0bf587ad4b
[IR] KotlinLikeDumper: deduplicate code between IrDelegatingConstructorCall and IrEnumConstructorCall
2020-11-26 00:14:26 +03:00