Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/nullability.dot
T
Mark Punzalan 504449f03e FIR: Report UNSAFE_CALL instead of SMARTCAST_IMPOSSIBLE when smartcast
to null.

Currently the error message shows the expression is impossible to
smartcast to the nullable type, which is nonsensical since it's already
that type.
2021-07-30 21:49:50 +03:00

1472 lines
51 KiB
Plaintext
Vendored

digraph nullability_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
2 [label="Enter function getA" style="filled" fillcolor=red];
3 [label="Exit function getA" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
color=red
4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function fs" style="filled" fillcolor=red];
7 [label="Exit function fs" style="filled" fillcolor=red];
}
6 -> {7};
subgraph cluster_4 {
color=red
8 [label="Enter class MyData" style="filled" fillcolor=red];
9 [label="Exit class MyData" style="filled" fillcolor=red];
}
8 -> {9} [color=green];
subgraph cluster_5 {
color=red
10 [label="Enter function fdata" style="filled" fillcolor=red];
11 [label="Exit function fdata" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_6 {
color=red
12 [label="Enter class Q" style="filled" fillcolor=red];
13 [label="Exit class Q" style="filled" fillcolor=red];
}
12 -> {13} [color=green];
subgraph cluster_7 {
color=red
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
subgraph cluster_8 {
color=red
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/data|"];
19 [label="Exit property" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
19 -> {29} [color=green];
subgraph cluster_9 {
color=red
20 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
21 [label="Enter block"];
22 [label="Const: Null(null)"];
23 [label="Jump: ^fdata Null(null)"];
24 [label="Stub" style="filled" fillcolor=gray];
25 [label="Exit block" style="filled" fillcolor=gray];
}
26 [label="Exit function fdata" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {26};
23 -> {24} [style=dotted];
24 -> {25} [style=dotted];
25 -> {26} [style=dotted];
subgraph cluster_11 {
color=red
27 [label="Enter class QImpl" style="filled" fillcolor=red];
28 [label="Part of class initialization"];
29 [label="Exit class QImpl" style="filled" fillcolor=red];
}
27 -> {28} [color=green];
28 -> {29} [style=dotted];
28 -> {17} [color=green];
28 -> {17} [style=dashed];
subgraph cluster_12 {
color=red
30 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
32 [label="Exit function <init>" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
subgraph cluster_13 {
color=red
33 [label="Enter property" style="filled" fillcolor=red];
34 [label="Access variable R|<local>/data|"];
35 [label="Exit property" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {45} [color=green];
subgraph cluster_14 {
color=red
36 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
37 [label="Enter block"];
38 [label="Const: Null(null)"];
39 [label="Jump: ^fdata Null(null)"];
40 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit block" style="filled" fillcolor=gray];
}
42 [label="Exit function fdata" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {42};
39 -> {40} [style=dotted];
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
subgraph cluster_16 {
color=red
43 [label="Enter class QImplMutable" style="filled" fillcolor=red];
44 [label="Part of class initialization"];
45 [label="Exit class QImplMutable" style="filled" fillcolor=red];
}
43 -> {44} [color=green];
44 -> {45} [style=dotted];
44 -> {33} [color=green];
44 -> {33} [style=dashed];
subgraph cluster_17 {
color=red
46 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
48 [label="Exit function <init>" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
subgraph cluster_18 {
color=red
49 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
50 [label="Enter block"];
51 [label="Const: Null(null)"];
52 [label="Jump: ^ Null(null)"];
53 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray];
}
55 [label="Exit function getter" style="filled" fillcolor=red];
}
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {55};
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
subgraph cluster_20 {
color=red
56 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
57 [label="Enter block"];
58 [label="Const: Null(null)"];
59 [label="Jump: ^fdata Null(null)"];
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit function fdata" style="filled" fillcolor=red];
}
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {62};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
subgraph cluster_22 {
color=red
63 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
64 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
}
63 -> {64} [color=green];
subgraph cluster_23 {
color=red
65 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
66 [label="Enter block"];
subgraph cluster_25 {
color=blue
67 [label="Enter when"];
subgraph cluster_26 {
color=blue
68 [label="Enter when branch condition "];
69 [label="Access variable R|<local>/x|"];
70 [label="Const: Null(null)"];
71 [label="Equality operator !="];
72 [label="Exit when branch condition"];
}
subgraph cluster_27 {
color=blue
73 [label="Enter when branch condition else"];
74 [label="Exit when branch condition"];
}
75 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
79 [label="Exit block"];
}
80 [label="Exit when branch result"];
81 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
82 [label="Enter block"];
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|/A.foo|()"];
85 [label="Exit block"];
}
86 [label="Exit when branch result"];
87 [label="Exit when"];
}
88 [label="Access variable R|<local>/x|"];
89 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
90 [label="Exit block"];
}
91 [label="Exit function test_1" style="filled" fillcolor=red];
}
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {81 73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {87};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
subgraph cluster_30 {
color=red
92 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
93 [label="Enter block"];
subgraph cluster_32 {
color=blue
94 [label="Enter when"];
subgraph cluster_33 {
color=blue
95 [label="Enter when branch condition "];
96 [label="Access variable R|<local>/x|"];
97 [label="Const: Null(null)"];
98 [label="Equality operator =="];
99 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
100 [label="Enter when branch condition else"];
101 [label="Exit when branch condition"];
}
102 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
103 [label="Enter block"];
104 [label="Access variable R|<local>/x|"];
105 [label="Function call: R|<local>/x|.R|/A.foo|()"];
106 [label="Exit block"];
}
107 [label="Exit when branch result"];
108 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
109 [label="Enter block"];
110 [label="Access variable R|<local>/x|"];
111 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
112 [label="Exit block"];
}
113 [label="Exit when branch result"];
114 [label="Exit when"];
}
115 [label="Access variable R|<local>/x|"];
116 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
117 [label="Exit block"];
}
118 [label="Exit function test_2" style="filled" fillcolor=red];
}
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {108 100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {114};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
subgraph cluster_37 {
color=red
119 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
120 [label="Enter block"];
121 [label="Access variable R|<local>/x|"];
122 [label="Exit lhs of ?:"];
123 [label="Enter rhs of ?:"];
124 [label="Jump: ^test_3 Unit"];
125 [label="Stub" style="filled" fillcolor=gray];
126 [label="Lhs of ?: is not null"];
127 [label="Exit ?:"];
128 [label="Access variable R|<local>/x|"];
129 [label="Function call: R|<local>/x|.R|/A.foo|()"];
130 [label="Exit block"];
}
131 [label="Exit function test_3" style="filled" fillcolor=red];
}
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {126 123};
123 -> {124};
124 -> {131};
124 -> {125} [style=dotted];
125 -> {127} [style=dotted];
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
subgraph cluster_39 {
color=red
132 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
133 [label="Enter block"];
subgraph cluster_41 {
color=blue
134 [label="Enter when"];
subgraph cluster_42 {
color=blue
135 [label="Enter when branch condition "];
136 [label="Access variable R|<local>/x|"];
137 [label="Enter safe call"];
138 [label="Function call: $subj$.R|/A.getA|()"];
139 [label="Exit safe call"];
140 [label="Const: Null(null)"];
141 [label="Equality operator =="];
142 [label="Exit when branch condition"];
}
143 [label="Synthetic else branch"];
144 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
145 [label="Enter block"];
146 [label="Jump: ^test_4 Unit"];
147 [label="Stub" style="filled" fillcolor=gray];
148 [label="Exit block" style="filled" fillcolor=gray];
}
149 [label="Exit when branch result" style="filled" fillcolor=gray];
150 [label="Exit when"];
}
151 [label="Access variable R|<local>/x|"];
152 [label="Function call: R|<local>/x|.R|/A.foo|()"];
153 [label="Exit block"];
}
154 [label="Exit function test_4" style="filled" fillcolor=red];
}
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137 139};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {144 143};
143 -> {150};
144 -> {145};
145 -> {146};
146 -> {154};
146 -> {147} [style=dotted];
147 -> {148} [style=dotted];
148 -> {149} [style=dotted];
149 -> {150} [style=dotted];
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
subgraph cluster_44 {
color=red
155 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_45 {
color=blue
156 [label="Enter block"];
subgraph cluster_46 {
color=blue
157 [label="Enter when"];
subgraph cluster_47 {
color=blue
158 [label="Enter when branch condition "];
159 [label="Access variable R|<local>/q|"];
160 [label="Enter safe call"];
161 [label="Access variable R|/Q.data|"];
162 [label="Exit safe call"];
163 [label="Enter safe call"];
164 [label="Access variable R|/MyData.s|"];
165 [label="Exit safe call"];
166 [label="Enter safe call"];
167 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
168 [label="Exit safe call"];
169 [label="Const: Null(null)"];
170 [label="Equality operator !="];
171 [label="Exit when branch condition"];
}
172 [label="Synthetic else branch"];
173 [label="Enter when branch result"];
subgraph cluster_48 {
color=blue
174 [label="Enter block"];
175 [label="Access variable R|<local>/q|"];
176 [label="Access variable R|/Q.data|"];
177 [label="Access variable R|<local>/q|"];
178 [label="Access variable R|/Q.data|"];
179 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
180 [label="Access variable R|<local>/q|"];
181 [label="Access variable R|/Q.data|"];
182 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
183 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
184 [label="Exit block"];
}
185 [label="Exit when branch result"];
186 [label="Exit when"];
}
187 [label="Exit block"];
}
188 [label="Exit function test_5" style="filled" fillcolor=red];
}
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160 162};
160 -> {161};
161 -> {162};
162 -> {163 165};
163 -> {164};
164 -> {165};
165 -> {166 168};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {173 172};
172 -> {186};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
184 -> {185};
185 -> {186};
186 -> {187};
187 -> {188};
subgraph cluster_49 {
color=red
189 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_50 {
color=blue
190 [label="Enter block"];
191 [label="Access variable R|<local>/q|"];
192 [label="Enter safe call"];
193 [label="Access variable R|/Q.data|"];
194 [label="Exit safe call"];
195 [label="Enter safe call"];
196 [label="Access variable R|/MyData.s|"];
197 [label="Exit safe call"];
198 [label="Enter safe call"];
199 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
200 [label="Exit safe call"];
201 [label="Exit lhs of ?:"];
202 [label="Enter rhs of ?:"];
203 [label="Jump: ^test_6 Unit"];
204 [label="Stub" style="filled" fillcolor=gray];
205 [label="Lhs of ?: is not null"];
206 [label="Exit ?:"];
207 [label="Access variable R|<local>/q|"];
208 [label="Access variable R|/Q.data|"];
209 [label="Access variable R|<local>/q|"];
210 [label="Access variable R|/Q.data|"];
211 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
212 [label="Access variable R|<local>/q|"];
213 [label="Access variable R|/Q.data|"];
214 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
215 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
216 [label="Exit block"];
}
217 [label="Exit function test_6" style="filled" fillcolor=red];
}
189 -> {190};
190 -> {191};
191 -> {192 194};
192 -> {193};
193 -> {194};
194 -> {195 197};
195 -> {196};
196 -> {197};
197 -> {198};
197 -> {200} [color=red];
197 -> {202} [color=green];
198 -> {199};
199 -> {200};
200 -> {201};
201 -> {205 202};
202 -> {203};
203 -> {217};
203 -> {204} [style=dotted];
204 -> {206} [style=dotted];
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209};
209 -> {210};
210 -> {211};
211 -> {212};
212 -> {213};
213 -> {214};
214 -> {215};
215 -> {216};
216 -> {217};
subgraph cluster_51 {
color=red
218 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_52 {
color=blue
219 [label="Enter block"];
subgraph cluster_53 {
color=blue
220 [label="Enter when"];
subgraph cluster_54 {
color=blue
221 [label="Enter when branch condition "];
222 [label="Access variable R|<local>/q|"];
223 [label="Enter safe call"];
224 [label="Function call: $subj$.R|/Q.fdata|()"];
225 [label="Exit safe call"];
226 [label="Enter safe call"];
227 [label="Function call: $subj$.R|/MyData.fs|()"];
228 [label="Exit safe call"];
229 [label="Enter safe call"];
230 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
231 [label="Exit safe call"];
232 [label="Const: Null(null)"];
233 [label="Equality operator !="];
234 [label="Exit when branch condition"];
}
235 [label="Synthetic else branch"];
236 [label="Enter when branch result"];
subgraph cluster_55 {
color=blue
237 [label="Enter block"];
238 [label="Access variable R|<local>/q|"];
239 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
240 [label="Access variable R|<local>/q|"];
241 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
242 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()"];
243 [label="Access variable R|<local>/q|"];
244 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
245 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()"];
246 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()"];
247 [label="Exit block"];
}
248 [label="Exit when branch result"];
249 [label="Exit when"];
}
250 [label="Exit block"];
}
251 [label="Exit function test_7" style="filled" fillcolor=red];
}
218 -> {219};
219 -> {220};
220 -> {221};
221 -> {222};
222 -> {223 225};
223 -> {224};
224 -> {225};
225 -> {226 228};
226 -> {227};
227 -> {228};
228 -> {229 231};
229 -> {230};
230 -> {231};
231 -> {232};
232 -> {233};
233 -> {234};
234 -> {236 235};
235 -> {249};
236 -> {237};
237 -> {238};
238 -> {239};
239 -> {240};
240 -> {241};
241 -> {242};
242 -> {243};
243 -> {244};
244 -> {245};
245 -> {246};
246 -> {247};
247 -> {248};
248 -> {249};
249 -> {250};
250 -> {251};
subgraph cluster_56 {
color=red
252 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_57 {
color=blue
253 [label="Enter block"];
subgraph cluster_58 {
color=blue
254 [label="Enter when"];
subgraph cluster_59 {
color=blue
255 [label="Enter when branch condition "];
256 [label="Access variable R|<local>/b|"];
257 [label="Const: Boolean(true)"];
258 [label="Equality operator =="];
259 [label="Exit when branch condition"];
}
260 [label="Synthetic else branch"];
261 [label="Enter when branch result"];
subgraph cluster_60 {
color=blue
262 [label="Enter block"];
263 [label="Access variable R|<local>/b|"];
264 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
265 [label="Exit block"];
}
266 [label="Exit when branch result"];
267 [label="Exit when"];
}
268 [label="Exit block"];
}
269 [label="Exit function test_8" style="filled" fillcolor=red];
}
252 -> {253};
253 -> {254};
254 -> {255};
255 -> {256};
256 -> {257};
257 -> {258};
258 -> {259};
259 -> {261 260};
260 -> {267};
261 -> {262};
262 -> {263};
263 -> {264};
264 -> {265};
265 -> {266};
266 -> {267};
267 -> {268};
268 -> {269};
subgraph cluster_61 {
color=red
270 [label="Enter function test_9" style="filled" fillcolor=red];
subgraph cluster_62 {
color=blue
271 [label="Enter block"];
subgraph cluster_63 {
color=blue
272 [label="Enter when"];
subgraph cluster_64 {
color=blue
273 [label="Enter when branch condition "];
274 [label="Access variable R|<local>/a|"];
275 [label="Access variable R|<local>/b|"];
276 [label="Equality operator =="];
277 [label="Exit when branch condition"];
}
278 [label="Synthetic else branch"];
279 [label="Enter when branch result"];
subgraph cluster_65 {
color=blue
280 [label="Enter block"];
281 [label="Access variable R|<local>/b|"];
282 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
283 [label="Exit block"];
}
284 [label="Exit when branch result"];
285 [label="Exit when"];
}
286 [label="Access variable R|<local>/b|"];
287 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
subgraph cluster_66 {
color=blue
288 [label="Enter when"];
subgraph cluster_67 {
color=blue
289 [label="Enter when branch condition "];
290 [label="Access variable R|<local>/a|"];
291 [label="Access variable R|<local>/b|"];
292 [label="Equality operator ==="];
293 [label="Exit when branch condition"];
}
294 [label="Synthetic else branch"];
295 [label="Enter when branch result"];
subgraph cluster_68 {
color=blue
296 [label="Enter block"];
297 [label="Access variable R|<local>/b|"];
298 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
299 [label="Exit block"];
}
300 [label="Exit when branch result"];
301 [label="Exit when"];
}
302 [label="Access variable R|<local>/b|"];
303 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
subgraph cluster_69 {
color=blue
304 [label="Enter when"];
subgraph cluster_70 {
color=blue
305 [label="Enter when branch condition "];
306 [label="Access variable R|<local>/b|"];
307 [label="Access variable R|<local>/a|"];
308 [label="Equality operator =="];
309 [label="Exit when branch condition"];
}
310 [label="Synthetic else branch"];
311 [label="Enter when branch result"];
subgraph cluster_71 {
color=blue
312 [label="Enter block"];
313 [label="Access variable R|<local>/b|"];
314 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
315 [label="Exit block"];
}
316 [label="Exit when branch result"];
317 [label="Exit when"];
}
318 [label="Access variable R|<local>/b|"];
319 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
subgraph cluster_72 {
color=blue
320 [label="Enter when"];
subgraph cluster_73 {
color=blue
321 [label="Enter when branch condition "];
322 [label="Access variable R|<local>/b|"];
323 [label="Access variable R|<local>/a|"];
324 [label="Equality operator ==="];
325 [label="Exit when branch condition"];
}
326 [label="Synthetic else branch"];
327 [label="Enter when branch result"];
subgraph cluster_74 {
color=blue
328 [label="Enter block"];
329 [label="Access variable R|<local>/b|"];
330 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
331 [label="Exit block"];
}
332 [label="Exit when branch result"];
333 [label="Exit when"];
}
334 [label="Access variable R|<local>/b|"];
335 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
336 [label="Exit block"];
}
337 [label="Exit function test_9" style="filled" fillcolor=red];
}
270 -> {271};
271 -> {272};
272 -> {273};
273 -> {274};
274 -> {275};
275 -> {276};
276 -> {277};
277 -> {279 278};
278 -> {285};
279 -> {280};
280 -> {281};
281 -> {282};
282 -> {283};
283 -> {284};
284 -> {285};
285 -> {286};
286 -> {287};
287 -> {288};
288 -> {289};
289 -> {290};
290 -> {291};
291 -> {292};
292 -> {293};
293 -> {295 294};
294 -> {301};
295 -> {296};
296 -> {297};
297 -> {298};
298 -> {299};
299 -> {300};
300 -> {301};
301 -> {302};
302 -> {303};
303 -> {304};
304 -> {305};
305 -> {306};
306 -> {307};
307 -> {308};
308 -> {309};
309 -> {311 310};
310 -> {317};
311 -> {312};
312 -> {313};
313 -> {314};
314 -> {315};
315 -> {316};
316 -> {317};
317 -> {318};
318 -> {319};
319 -> {320};
320 -> {321};
321 -> {322};
322 -> {323};
323 -> {324};
324 -> {325};
325 -> {327 326};
326 -> {333};
327 -> {328};
328 -> {329};
329 -> {330};
330 -> {331};
331 -> {332};
332 -> {333};
333 -> {334};
334 -> {335};
335 -> {336};
336 -> {337};
subgraph cluster_75 {
color=red
338 [label="Enter function test_10" style="filled" fillcolor=red];
subgraph cluster_76 {
color=blue
339 [label="Enter block"];
subgraph cluster_77 {
color=blue
340 [label="Enter when"];
subgraph cluster_78 {
color=blue
341 [label="Enter when branch condition "];
342 [label="Access variable R|<local>/a|"];
343 [label="Access variable R|<local>/b|"];
344 [label="Equality operator =="];
345 [label="Exit when branch condition"];
}
346 [label="Synthetic else branch"];
347 [label="Enter when branch result"];
subgraph cluster_79 {
color=blue
348 [label="Enter block"];
349 [label="Access variable R|<local>/b|"];
350 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
351 [label="Exit block"];
}
352 [label="Exit when branch result"];
353 [label="Exit when"];
}
354 [label="Access variable R|<local>/b|"];
355 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
subgraph cluster_80 {
color=blue
356 [label="Enter when"];
subgraph cluster_81 {
color=blue
357 [label="Enter when branch condition "];
358 [label="Access variable R|<local>/a|"];
359 [label="Access variable R|<local>/b|"];
360 [label="Equality operator ==="];
361 [label="Exit when branch condition"];
}
362 [label="Synthetic else branch"];
363 [label="Enter when branch result"];
subgraph cluster_82 {
color=blue
364 [label="Enter block"];
365 [label="Access variable R|<local>/b|"];
366 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
367 [label="Exit block"];
}
368 [label="Exit when branch result"];
369 [label="Exit when"];
}
370 [label="Access variable R|<local>/b|"];
371 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
subgraph cluster_83 {
color=blue
372 [label="Enter when"];
subgraph cluster_84 {
color=blue
373 [label="Enter when branch condition "];
374 [label="Access variable R|<local>/b|"];
375 [label="Access variable R|<local>/a|"];
376 [label="Equality operator =="];
377 [label="Exit when branch condition"];
}
378 [label="Synthetic else branch"];
379 [label="Enter when branch result"];
subgraph cluster_85 {
color=blue
380 [label="Enter block"];
381 [label="Access variable R|<local>/b|"];
382 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
383 [label="Exit block"];
}
384 [label="Exit when branch result"];
385 [label="Exit when"];
}
386 [label="Access variable R|<local>/b|"];
387 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
subgraph cluster_86 {
color=blue
388 [label="Enter when"];
subgraph cluster_87 {
color=blue
389 [label="Enter when branch condition "];
390 [label="Access variable R|<local>/b|"];
391 [label="Access variable R|<local>/a|"];
392 [label="Equality operator ==="];
393 [label="Exit when branch condition"];
}
394 [label="Synthetic else branch"];
395 [label="Enter when branch result"];
subgraph cluster_88 {
color=blue
396 [label="Enter block"];
397 [label="Access variable R|<local>/b|"];
398 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
399 [label="Exit block"];
}
400 [label="Exit when branch result"];
401 [label="Exit when"];
}
402 [label="Access variable R|<local>/b|"];
403 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
404 [label="Exit block"];
}
405 [label="Exit function test_10" style="filled" fillcolor=red];
}
338 -> {339};
339 -> {340};
340 -> {341};
341 -> {342};
342 -> {343};
343 -> {344};
344 -> {345};
345 -> {347 346};
346 -> {353};
347 -> {348};
348 -> {349};
349 -> {350};
350 -> {351};
351 -> {352};
352 -> {353};
353 -> {354};
354 -> {355};
355 -> {356};
356 -> {357};
357 -> {358};
358 -> {359};
359 -> {360};
360 -> {361};
361 -> {363 362};
362 -> {369};
363 -> {364};
364 -> {365};
365 -> {366};
366 -> {367};
367 -> {368};
368 -> {369};
369 -> {370};
370 -> {371};
371 -> {372};
372 -> {373};
373 -> {374};
374 -> {375};
375 -> {376};
376 -> {377};
377 -> {379 378};
378 -> {385};
379 -> {380};
380 -> {381};
381 -> {382};
382 -> {383};
383 -> {384};
384 -> {385};
385 -> {386};
386 -> {387};
387 -> {388};
388 -> {389};
389 -> {390};
390 -> {391};
391 -> {392};
392 -> {393};
393 -> {395 394};
394 -> {401};
395 -> {396};
396 -> {397};
397 -> {398};
398 -> {399};
399 -> {400};
400 -> {401};
401 -> {402};
402 -> {403};
403 -> {404};
404 -> {405};
subgraph cluster_89 {
color=red
406 [label="Enter function test_11" style="filled" fillcolor=red];
subgraph cluster_90 {
color=blue
407 [label="Enter block"];
subgraph cluster_91 {
color=blue
408 [label="Enter when"];
subgraph cluster_92 {
color=blue
409 [label="Enter when branch condition "];
410 [label="Access variable R|<local>/q|"];
411 [label="Enter safe call"];
412 [label="Access variable R|/QImpl.data|"];
413 [label="Exit safe call"];
414 [label="Enter safe call"];
415 [label="Access variable R|/MyData.s|"];
416 [label="Exit safe call"];
417 [label="Enter safe call"];
418 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
419 [label="Exit safe call"];
420 [label="Const: Null(null)"];
421 [label="Equality operator !="];
422 [label="Exit when branch condition"];
}
423 [label="Synthetic else branch"];
424 [label="Enter when branch result"];
subgraph cluster_93 {
color=blue
425 [label="Enter block"];
426 [label="Access variable R|<local>/q|"];
427 [label="Access variable R|/QImpl.data|"];
428 [label="Access variable R|<local>/q|"];
429 [label="Access variable R|/QImpl.data|"];
430 [label="Access variable R|/MyData.s|"];
431 [label="Access variable R|<local>/q|"];
432 [label="Access variable R|/QImpl.data|"];
433 [label="Access variable R|/MyData.s|"];
434 [label="Function call: R|<local>/q|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()"];
435 [label="Access variable R|<local>/q2|"];
436 [label="Access variable R|/QImpl.data|"];
437 [label="Access variable R|<local>/q2|"];
438 [label="Access variable R|/QImpl.data|"];
439 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
440 [label="Access variable R|<local>/q2|"];
441 [label="Access variable R|/QImpl.data|"];
442 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
443 [label="Function call: R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()"];
subgraph cluster_94 {
color=blue
444 [label="Enter when"];
subgraph cluster_95 {
color=blue
445 [label="Enter when branch condition "];
446 [label="Access variable R|<local>/q2|"];
447 [label="Access variable R|/QImpl.data|"];
448 [label="Const: Null(null)"];
449 [label="Equality operator !="];
450 [label="Exit when branch condition"];
}
451 [label="Synthetic else branch"];
452 [label="Enter when branch result"];
subgraph cluster_96 {
color=blue
453 [label="Enter block"];
454 [label="Access variable R|<local>/q2|"];
455 [label="Access variable R|/QImpl.data|"];
456 [label="Access variable R|/MyData.s|"];
457 [label="Access variable R|<local>/q2|"];
458 [label="Access variable R|/QImpl.data|"];
459 [label="Access variable R|/MyData.s|"];
460 [label="Function call: R|<local>/q2|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()"];
461 [label="Exit block"];
}
462 [label="Exit when branch result"];
463 [label="Exit when"];
}
464 [label="Exit block"];
}
465 [label="Exit when branch result"];
466 [label="Exit when"];
}
467 [label="Exit block"];
}
468 [label="Exit function test_11" style="filled" fillcolor=red];
}
406 -> {407};
407 -> {408};
408 -> {409};
409 -> {410};
410 -> {411 413};
411 -> {412};
412 -> {413};
413 -> {414 416};
414 -> {415};
415 -> {416};
416 -> {417 419};
417 -> {418};
418 -> {419};
419 -> {420};
420 -> {421};
421 -> {422};
422 -> {424 423};
423 -> {466};
424 -> {425};
425 -> {426};
426 -> {427};
427 -> {428};
428 -> {429};
429 -> {430};
430 -> {431};
431 -> {432};
432 -> {433};
433 -> {434};
434 -> {435};
435 -> {436};
436 -> {437};
437 -> {438};
438 -> {439};
439 -> {440};
440 -> {441};
441 -> {442};
442 -> {443};
443 -> {444};
444 -> {445};
445 -> {446};
446 -> {447};
447 -> {448};
448 -> {449};
449 -> {450};
450 -> {452 451};
451 -> {463};
452 -> {453};
453 -> {454};
454 -> {455};
455 -> {456};
456 -> {457};
457 -> {458};
458 -> {459};
459 -> {460};
460 -> {461};
461 -> {462};
462 -> {463};
463 -> {464};
464 -> {465};
465 -> {466};
466 -> {467};
467 -> {468};
subgraph cluster_97 {
color=red
469 [label="Enter function test_12" style="filled" fillcolor=red];
subgraph cluster_98 {
color=blue
470 [label="Enter block"];
subgraph cluster_99 {
color=blue
471 [label="Enter when"];
subgraph cluster_100 {
color=blue
472 [label="Enter when branch condition "];
473 [label="Access variable R|<local>/q|"];
474 [label="Enter safe call"];
475 [label="Access variable R|/QImplWithCustomGetter.data|"];
476 [label="Exit safe call"];
477 [label="Enter safe call"];
478 [label="Access variable R|/MyData.s|"];
479 [label="Exit safe call"];
480 [label="Enter safe call"];
481 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
482 [label="Exit safe call"];
483 [label="Const: Null(null)"];
484 [label="Equality operator !="];
485 [label="Exit when branch condition"];
}
486 [label="Synthetic else branch"];
487 [label="Enter when branch result"];
subgraph cluster_101 {
color=blue
488 [label="Enter block"];
489 [label="Access variable R|<local>/q|"];
490 [label="Access variable R|/QImplWithCustomGetter.data|"];
491 [label="Access variable R|<local>/q|"];
492 [label="Access variable R|/QImplWithCustomGetter.data|"];
493 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
494 [label="Access variable R|<local>/q|"];
495 [label="Access variable R|/QImplWithCustomGetter.data|"];
496 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
497 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
498 [label="Exit block"];
}
499 [label="Exit when branch result"];
500 [label="Exit when"];
}
501 [label="Exit block"];
}
502 [label="Exit function test_12" style="filled" fillcolor=red];
}
469 -> {470};
470 -> {471};
471 -> {472};
472 -> {473};
473 -> {474 476};
474 -> {475};
475 -> {476};
476 -> {477 479};
477 -> {478};
478 -> {479};
479 -> {480 482};
480 -> {481};
481 -> {482};
482 -> {483};
483 -> {484};
484 -> {485};
485 -> {487 486};
486 -> {500};
487 -> {488};
488 -> {489};
489 -> {490};
490 -> {491};
491 -> {492};
492 -> {493};
493 -> {494};
494 -> {495};
495 -> {496};
496 -> {497};
497 -> {498};
498 -> {499};
499 -> {500};
500 -> {501};
501 -> {502};
subgraph cluster_102 {
color=red
503 [label="Enter function test_13" style="filled" fillcolor=red];
subgraph cluster_103 {
color=blue
504 [label="Enter block"];
subgraph cluster_104 {
color=blue
505 [label="Enter when"];
subgraph cluster_105 {
color=blue
506 [label="Enter when branch condition "];
507 [label="Access variable R|<local>/q|"];
508 [label="Enter safe call"];
509 [label="Access variable R|/QImplMutable.data|"];
510 [label="Exit safe call"];
511 [label="Enter safe call"];
512 [label="Access variable R|/MyData.s|"];
513 [label="Exit safe call"];
514 [label="Enter safe call"];
515 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
516 [label="Exit safe call"];
517 [label="Const: Null(null)"];
518 [label="Equality operator !="];
519 [label="Exit when branch condition"];
}
520 [label="Synthetic else branch"];
521 [label="Enter when branch result"];
subgraph cluster_106 {
color=blue
522 [label="Enter block"];
523 [label="Access variable R|<local>/q|"];
524 [label="Access variable R|/QImplMutable.data|"];
525 [label="Access variable R|<local>/q|"];
526 [label="Access variable R|/QImplMutable.data|"];
527 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
528 [label="Access variable R|<local>/q|"];
529 [label="Access variable R|/QImplMutable.data|"];
530 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
531 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
532 [label="Exit block"];
}
533 [label="Exit when branch result"];
534 [label="Exit when"];
}
535 [label="Exit block"];
}
536 [label="Exit function test_13" style="filled" fillcolor=red];
}
503 -> {504};
504 -> {505};
505 -> {506};
506 -> {507};
507 -> {508 510};
508 -> {509};
509 -> {510};
510 -> {511 513};
511 -> {512};
512 -> {513};
513 -> {514 516};
514 -> {515};
515 -> {516};
516 -> {517};
517 -> {518};
518 -> {519};
519 -> {521 520};
520 -> {534};
521 -> {522};
522 -> {523};
523 -> {524};
524 -> {525};
525 -> {526};
526 -> {527};
527 -> {528};
528 -> {529};
529 -> {530};
530 -> {531};
531 -> {532};
532 -> {533};
533 -> {534};
534 -> {535};
535 -> {536};
subgraph cluster_107 {
color=red
537 [label="Enter function test_14" style="filled" fillcolor=red];
subgraph cluster_108 {
color=blue
538 [label="Enter block"];
subgraph cluster_109 {
color=blue
539 [label="Enter when"];
subgraph cluster_110 {
color=blue
540 [label="Enter when branch condition "];
541 [label="Access variable R|<local>/q|"];
542 [label="Access variable R|/Q.data|"];
543 [label="Const: Null(null)"];
544 [label="Equality operator =="];
545 [label="Exit when branch condition"];
}
546 [label="Synthetic else branch"];
547 [label="Enter when branch result"];
subgraph cluster_111 {
color=blue
548 [label="Enter block"];
549 [label="Access variable R|<local>/q|"];
550 [label="Access variable R|/Q.data|"];
551 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
552 [label="Exit block"];
}
553 [label="Exit when branch result"];
554 [label="Exit when"];
}
555 [label="Exit block"];
}
556 [label="Exit function test_14" style="filled" fillcolor=red];
}
537 -> {538};
538 -> {539};
539 -> {540};
540 -> {541};
541 -> {542};
542 -> {543};
543 -> {544};
544 -> {545};
545 -> {547 546};
546 -> {554};
547 -> {548};
548 -> {549};
549 -> {550};
550 -> {551};
551 -> {552};
552 -> {553};
553 -> {554};
554 -> {555};
555 -> {556};
}