Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/booleans/equalsToBoolean.dot
T

578 lines
18 KiB
Plaintext
Vendored

digraph equalsToBoolean_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
6 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Exit property" style="filled" fillcolor=red];
}
7 [label="Exit class A" style="filled" fillcolor=red];
}
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
2 -> {3};
subgraph cluster_4 {
color=red
8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter when"];
subgraph cluster_6 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/b|"];
14 [label="Const: Boolean(true)"];
15 [label="Operator =="];
16 [label="Const: Boolean(true)"];
17 [label="Operator =="];
18 [label="Exit when branch condition"];
}
subgraph cluster_7 {
color=blue
25 [label="Enter when branch condition else"];
26 [label="Exit when branch condition"];
}
27 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
28 [label="Enter block"];
29 [label="Access variable R|<local>/b|"];
30 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
19 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/b|"];
22 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
23 [label="Exit block"];
}
24 [label="Exit when branch result"];
11 [label="Exit when"];
}
9 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {12};
11 -> {9};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19 25};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {11};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {11};
subgraph cluster_10 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
35 [label="Enter when"];
subgraph cluster_12 {
color=blue
37 [label="Enter when branch condition "];
38 [label="Access variable R|<local>/b|"];
39 [label="Const: Boolean(true)"];
40 [label="Operator =="];
41 [label="Const: Boolean(true)"];
42 [label="Operator !="];
43 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
50 [label="Enter when branch condition else"];
51 [label="Exit when branch condition"];
}
52 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
53 [label="Enter block"];
54 [label="Access variable R|<local>/b|"];
55 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
44 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
45 [label="Enter block"];
46 [label="Access variable R|<local>/b|"];
47 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
48 [label="Exit block"];
}
49 [label="Exit when branch result"];
36 [label="Exit when"];
}
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
33 -> {35};
35 -> {37};
36 -> {34};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44 50};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {36};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {36};
subgraph cluster_16 {
color=red
58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
60 [label="Enter when"];
subgraph cluster_18 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/b|"];
64 [label="Const: Boolean(true)"];
65 [label="Operator =="];
66 [label="Const: Boolean(false)"];
67 [label="Operator =="];
68 [label="Exit when branch condition"];
}
subgraph cluster_19 {
color=blue
75 [label="Enter when branch condition else"];
76 [label="Exit when branch condition"];
}
77 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/b|"];
80 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/b|"];
72 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
61 [label="Exit when"];
}
59 [label="Exit function test_3" style="filled" fillcolor=red];
}
58 -> {60};
60 -> {62};
61 -> {59};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69 75};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {61};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {61};
subgraph cluster_22 {
color=red
83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
85 [label="Enter when"];
subgraph cluster_24 {
color=blue
87 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/b|"];
89 [label="Const: Boolean(true)"];
90 [label="Operator =="];
91 [label="Const: Boolean(false)"];
92 [label="Operator !="];
93 [label="Exit when branch condition"];
}
subgraph cluster_25 {
color=blue
100 [label="Enter when branch condition else"];
101 [label="Exit when branch condition"];
}
102 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
103 [label="Enter block"];
104 [label="Access variable R|<local>/b|"];
105 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
106 [label="Exit block"];
}
107 [label="Exit when branch result"];
94 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
95 [label="Enter block"];
96 [label="Access variable R|<local>/b|"];
97 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
98 [label="Exit block"];
}
99 [label="Exit when branch result"];
86 [label="Exit when"];
}
84 [label="Exit function test_4" style="filled" fillcolor=red];
}
83 -> {85};
85 -> {87};
86 -> {84};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94 100};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {86};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {86};
subgraph cluster_28 {
color=red
108 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
110 [label="Enter when"];
subgraph cluster_30 {
color=blue
112 [label="Enter when branch condition "];
113 [label="Access variable R|<local>/b|"];
114 [label="Const: Boolean(true)"];
115 [label="Operator !="];
116 [label="Const: Boolean(true)"];
117 [label="Operator =="];
118 [label="Exit when branch condition"];
}
subgraph cluster_31 {
color=blue
125 [label="Enter when branch condition else"];
126 [label="Exit when branch condition"];
}
127 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
128 [label="Enter block"];
129 [label="Access variable R|<local>/b|"];
130 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
131 [label="Exit block"];
}
132 [label="Exit when branch result"];
119 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
120 [label="Enter block"];
121 [label="Access variable R|<local>/b|"];
122 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
123 [label="Exit block"];
}
124 [label="Exit when branch result"];
111 [label="Exit when"];
}
109 [label="Exit function test_5" style="filled" fillcolor=red];
}
108 -> {110};
110 -> {112};
111 -> {109};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119 125};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {111};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {111};
subgraph cluster_34 {
color=red
133 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
135 [label="Enter when"];
subgraph cluster_36 {
color=blue
137 [label="Enter when branch condition "];
138 [label="Access variable R|<local>/b|"];
139 [label="Const: Boolean(true)"];
140 [label="Operator !="];
141 [label="Const: Boolean(true)"];
142 [label="Operator !="];
143 [label="Exit when branch condition"];
}
subgraph cluster_37 {
color=blue
150 [label="Enter when branch condition else"];
151 [label="Exit when branch condition"];
}
152 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
153 [label="Enter block"];
154 [label="Access variable R|<local>/b|"];
155 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
156 [label="Exit block"];
}
157 [label="Exit when branch result"];
144 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
145 [label="Enter block"];
146 [label="Access variable R|<local>/b|"];
147 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
148 [label="Exit block"];
}
149 [label="Exit when branch result"];
136 [label="Exit when"];
}
134 [label="Exit function test_6" style="filled" fillcolor=red];
}
133 -> {135};
135 -> {137};
136 -> {134};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144 150};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {136};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {136};
subgraph cluster_40 {
color=red
158 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_41 {
color=blue
160 [label="Enter when"];
subgraph cluster_42 {
color=blue
162 [label="Enter when branch condition "];
163 [label="Access variable R|<local>/b|"];
164 [label="Const: Boolean(true)"];
165 [label="Operator !="];
166 [label="Const: Boolean(false)"];
167 [label="Operator =="];
168 [label="Exit when branch condition"];
}
subgraph cluster_43 {
color=blue
175 [label="Enter when branch condition else"];
176 [label="Exit when branch condition"];
}
177 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
178 [label="Enter block"];
179 [label="Access variable R|<local>/b|"];
180 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
181 [label="Exit block"];
}
182 [label="Exit when branch result"];
169 [label="Enter when branch result"];
subgraph cluster_45 {
color=blue
170 [label="Enter block"];
171 [label="Access variable R|<local>/b|"];
172 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
173 [label="Exit block"];
}
174 [label="Exit when branch result"];
161 [label="Exit when"];
}
159 [label="Exit function test_7" style="filled" fillcolor=red];
}
158 -> {160};
160 -> {162};
161 -> {159};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169 175};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {161};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {161};
subgraph cluster_46 {
color=red
183 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_47 {
color=blue
185 [label="Enter when"];
subgraph cluster_48 {
color=blue
187 [label="Enter when branch condition "];
188 [label="Access variable R|<local>/b|"];
189 [label="Const: Boolean(true)"];
190 [label="Operator !="];
191 [label="Const: Boolean(false)"];
192 [label="Operator !="];
193 [label="Exit when branch condition"];
}
subgraph cluster_49 {
color=blue
200 [label="Enter when branch condition else"];
201 [label="Exit when branch condition"];
}
202 [label="Enter when branch result"];
subgraph cluster_50 {
color=blue
203 [label="Enter block"];
204 [label="Access variable R|<local>/b|"];
205 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
206 [label="Exit block"];
}
207 [label="Exit when branch result"];
194 [label="Enter when branch result"];
subgraph cluster_51 {
color=blue
195 [label="Enter block"];
196 [label="Access variable R|<local>/b|"];
197 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
198 [label="Exit block"];
}
199 [label="Exit when branch result"];
186 [label="Exit when"];
}
184 [label="Exit function test_8" style="filled" fillcolor=red];
}
183 -> {185};
185 -> {187};
186 -> {184};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194 200};
194 -> {195};
195 -> {196};
196 -> {197};
197 -> {198};
198 -> {199};
199 -> {186};
200 -> {201};
201 -> {202};
202 -> {203};
203 -> {204};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {186};
}