FIR CFG: add union nodes
Quick quiz:
Q: In a CFG, what does `a -> b -> c -> d` mean?
A: `a`, then `b`, then `c`, then `d`.
Q: In a CFG, what does `a -> b -> d; a -> c -> d` mean?
A: `a`, then `b` or `c`, then `d`.
Q: So how do you encode "a, then (b, then c) or (c, then b), then d`?
A: You can't.
Problem is, you need to, because that's what `a; run2({ b }, { c }); d`
does when `run2` has a contract that it calls both its lambda arguments
in-place: `shuffle(listOf(block1, block2)).forEach { it() }` is a
perfectly valid implementation for it, as little sense as that makes.
So that's what union nodes solve. When a node implements
`UnionNodeMarker`, its inputs are interpreted as "all visited in some
order" instead of the normal "one of the inputs is visited".
Currently this is used for data flow. It *should* also be used for
control flow, but it isn't. But it should be. But that's not so easy.
BTW, `try` exit is NOT a union node; although lambdas in one branch can
be completed according to types' of lambdas in another, data does not
flow between the branches anyway (since we don't know how much of the
`try` executed before jumping into `catch`, and `catch`es are mutually
exclusive) so a `try` expression is more like `when` than a function
call with called-in-place-exactly-once arguments. The fact that
`exitTryExpression` used `processUnionOfArguments` in a weird way
should've hinted at that, but now we know for certain.
This commit is contained in:
@@ -55,7 +55,7 @@ digraph nullability_kt {
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
14 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
15 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
16 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
14 -> {15};
|
||||
@@ -106,7 +106,7 @@ digraph nullability_kt {
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
30 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
31 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
32 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
30 -> {31};
|
||||
@@ -157,7 +157,7 @@ digraph nullability_kt {
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
46 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
47 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
48 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
46 -> {47};
|
||||
@@ -240,7 +240,7 @@ digraph nullability_kt {
|
||||
76 [label="Enter block"];
|
||||
77 [label="Access variable R|<local>/x|"];
|
||||
78 [label="Smart cast: R|<local>/x|"];
|
||||
79 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
|
||||
79 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
80 [label="Exit block"];
|
||||
}
|
||||
81 [label="Exit when branch result"];
|
||||
@@ -250,14 +250,14 @@ digraph nullability_kt {
|
||||
83 [label="Enter block"];
|
||||
84 [label="Access variable R|<local>/x|"];
|
||||
85 [label="Smart cast: R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
86 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
87 [label="Exit block"];
|
||||
}
|
||||
88 [label="Exit when branch result"];
|
||||
89 [label="Exit when"];
|
||||
}
|
||||
90 [label="Access variable R|<local>/x|"];
|
||||
91 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
|
||||
91 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
92 [label="Exit block"];
|
||||
}
|
||||
93 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
@@ -319,7 +319,7 @@ digraph nullability_kt {
|
||||
105 [label="Enter block"];
|
||||
106 [label="Access variable R|<local>/x|"];
|
||||
107 [label="Smart cast: R|<local>/x|"];
|
||||
108 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
108 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
109 [label="Exit block"];
|
||||
}
|
||||
110 [label="Exit when branch result"];
|
||||
@@ -329,14 +329,14 @@ digraph nullability_kt {
|
||||
112 [label="Enter block"];
|
||||
113 [label="Access variable R|<local>/x|"];
|
||||
114 [label="Smart cast: R|<local>/x|"];
|
||||
115 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
|
||||
115 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
116 [label="Exit block"];
|
||||
}
|
||||
117 [label="Exit when branch result"];
|
||||
118 [label="Exit when"];
|
||||
}
|
||||
119 [label="Access variable R|<local>/x|"];
|
||||
120 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
|
||||
120 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
121 [label="Exit block"];
|
||||
}
|
||||
122 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
@@ -385,7 +385,7 @@ digraph nullability_kt {
|
||||
131 [label="Exit ?:"];
|
||||
132 [label="Access variable R|<local>/x|"];
|
||||
133 [label="Smart cast: R|<local>/x|"];
|
||||
134 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
134 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
135 [label="Exit block"];
|
||||
}
|
||||
136 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
@@ -419,7 +419,7 @@ digraph nullability_kt {
|
||||
140 [label="Enter when branch condition "];
|
||||
141 [label="Access variable R|<local>/x|"];
|
||||
142 [label="Enter safe call"];
|
||||
143 [label="Function call: $subj$.R|/A.getA|()"];
|
||||
143 [label="Function call: $subj$.R|/A.getA|()" style="filled" fillcolor=yellow];
|
||||
144 [label="Exit safe call"];
|
||||
145 [label="Const: Null(null)"];
|
||||
146 [label="Equality operator =="];
|
||||
@@ -439,7 +439,7 @@ digraph nullability_kt {
|
||||
}
|
||||
156 [label="Access variable R|<local>/x|"];
|
||||
157 [label="Smart cast: R|<local>/x|"];
|
||||
158 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
158 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
159 [label="Exit block"];
|
||||
}
|
||||
160 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
@@ -487,7 +487,7 @@ digraph nullability_kt {
|
||||
168 [label="Enter safe call"];
|
||||
169 [label="Access variable R|/MyData.s|"];
|
||||
170 [label="Enter safe call"];
|
||||
171 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
|
||||
171 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
172 [label="Exit safe call"];
|
||||
173 [label="Exit safe call"];
|
||||
174 [label="Exit safe call"];
|
||||
@@ -514,7 +514,7 @@ digraph nullability_kt {
|
||||
192 [label="Access variable R|/Q.data|"];
|
||||
193 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
194 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
195 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
|
||||
195 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
196 [label="Exit block"];
|
||||
}
|
||||
197 [label="Exit when branch result"];
|
||||
@@ -576,7 +576,7 @@ digraph nullability_kt {
|
||||
206 [label="Enter safe call"];
|
||||
207 [label="Access variable R|/MyData.s|"];
|
||||
208 [label="Enter safe call"];
|
||||
209 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
|
||||
209 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
210 [label="Exit safe call"];
|
||||
211 [label="Exit lhs of ?:"];
|
||||
212 [label="Lhs of ?: is not null"];
|
||||
@@ -600,7 +600,7 @@ digraph nullability_kt {
|
||||
230 [label="Access variable R|/Q.data|"];
|
||||
231 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
232 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
233 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
|
||||
233 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
234 [label="Exit block"];
|
||||
}
|
||||
235 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
@@ -655,11 +655,11 @@ digraph nullability_kt {
|
||||
239 [label="Enter when branch condition "];
|
||||
240 [label="Access variable R|<local>/q|"];
|
||||
241 [label="Enter safe call"];
|
||||
242 [label="Function call: $subj$.R|/Q.fdata|()"];
|
||||
242 [label="Function call: $subj$.R|/Q.fdata|()" style="filled" fillcolor=yellow];
|
||||
243 [label="Enter safe call"];
|
||||
244 [label="Function call: $subj$.R|/MyData.fs|()"];
|
||||
244 [label="Function call: $subj$.R|/MyData.fs|()" style="filled" fillcolor=yellow];
|
||||
245 [label="Enter safe call"];
|
||||
246 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
|
||||
246 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
247 [label="Exit safe call"];
|
||||
248 [label="Exit safe call"];
|
||||
249 [label="Exit safe call"];
|
||||
@@ -674,16 +674,16 @@ digraph nullability_kt {
|
||||
255 [label="Enter block"];
|
||||
256 [label="Access variable R|<local>/q|"];
|
||||
257 [label="Smart cast: R|<local>/q|"];
|
||||
258 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
|
||||
258 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
|
||||
259 [label="Access variable R|<local>/q|"];
|
||||
260 [label="Smart cast: R|<local>/q|"];
|
||||
261 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
|
||||
262 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()"];
|
||||
261 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
|
||||
262 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()" style="filled" fillcolor=yellow];
|
||||
263 [label="Access variable R|<local>/q|"];
|
||||
264 [label="Smart cast: R|<local>/q|"];
|
||||
265 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
|
||||
266 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()"];
|
||||
267 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()"];
|
||||
265 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
|
||||
266 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()" style="filled" fillcolor=yellow];
|
||||
267 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
268 [label="Exit block"];
|
||||
}
|
||||
269 [label="Exit when branch result"];
|
||||
@@ -754,7 +754,7 @@ digraph nullability_kt {
|
||||
283 [label="Enter block"];
|
||||
284 [label="Access variable R|<local>/b|"];
|
||||
285 [label="Smart cast: R|<local>/b|"];
|
||||
286 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
286 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
|
||||
287 [label="Exit block"];
|
||||
}
|
||||
288 [label="Exit when branch result"];
|
||||
@@ -807,14 +807,14 @@ digraph nullability_kt {
|
||||
302 [label="Enter block"];
|
||||
303 [label="Access variable R|<local>/b|"];
|
||||
304 [label="Smart cast: R|<local>/b|"];
|
||||
305 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
|
||||
305 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
306 [label="Exit block"];
|
||||
}
|
||||
307 [label="Exit when branch result"];
|
||||
308 [label="Exit when"];
|
||||
}
|
||||
309 [label="Access variable R|<local>/b|"];
|
||||
310 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
310 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_66 {
|
||||
color=blue
|
||||
311 [label="Enter when"];
|
||||
@@ -833,14 +833,14 @@ digraph nullability_kt {
|
||||
319 [label="Enter block"];
|
||||
320 [label="Access variable R|<local>/b|"];
|
||||
321 [label="Smart cast: R|<local>/b|"];
|
||||
322 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
|
||||
322 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
323 [label="Exit block"];
|
||||
}
|
||||
324 [label="Exit when branch result"];
|
||||
325 [label="Exit when"];
|
||||
}
|
||||
326 [label="Access variable R|<local>/b|"];
|
||||
327 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
327 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_69 {
|
||||
color=blue
|
||||
328 [label="Enter when"];
|
||||
@@ -859,14 +859,14 @@ digraph nullability_kt {
|
||||
336 [label="Enter block"];
|
||||
337 [label="Access variable R|<local>/b|"];
|
||||
338 [label="Smart cast: R|<local>/b|"];
|
||||
339 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
|
||||
339 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
340 [label="Exit block"];
|
||||
}
|
||||
341 [label="Exit when branch result"];
|
||||
342 [label="Exit when"];
|
||||
}
|
||||
343 [label="Access variable R|<local>/b|"];
|
||||
344 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
344 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_72 {
|
||||
color=blue
|
||||
345 [label="Enter when"];
|
||||
@@ -885,14 +885,14 @@ digraph nullability_kt {
|
||||
353 [label="Enter block"];
|
||||
354 [label="Access variable R|<local>/b|"];
|
||||
355 [label="Smart cast: R|<local>/b|"];
|
||||
356 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
|
||||
356 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
357 [label="Exit block"];
|
||||
}
|
||||
358 [label="Exit when branch result"];
|
||||
359 [label="Exit when"];
|
||||
}
|
||||
360 [label="Access variable R|<local>/b|"];
|
||||
361 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
361 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
362 [label="Exit block"];
|
||||
}
|
||||
363 [label="Exit function test_9" style="filled" fillcolor=red];
|
||||
@@ -992,14 +992,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
374 [label="Enter block"];
|
||||
375 [label="Access variable R|<local>/b|"];
|
||||
376 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
376 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
377 [label="Exit block"];
|
||||
}
|
||||
378 [label="Exit when branch result"];
|
||||
379 [label="Exit when"];
|
||||
}
|
||||
380 [label="Access variable R|<local>/b|"];
|
||||
381 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
381 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_80 {
|
||||
color=blue
|
||||
382 [label="Enter when"];
|
||||
@@ -1017,14 +1017,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
390 [label="Enter block"];
|
||||
391 [label="Access variable R|<local>/b|"];
|
||||
392 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
392 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
393 [label="Exit block"];
|
||||
}
|
||||
394 [label="Exit when branch result"];
|
||||
395 [label="Exit when"];
|
||||
}
|
||||
396 [label="Access variable R|<local>/b|"];
|
||||
397 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
397 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_83 {
|
||||
color=blue
|
||||
398 [label="Enter when"];
|
||||
@@ -1042,14 +1042,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
406 [label="Enter block"];
|
||||
407 [label="Access variable R|<local>/b|"];
|
||||
408 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
408 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
409 [label="Exit block"];
|
||||
}
|
||||
410 [label="Exit when branch result"];
|
||||
411 [label="Exit when"];
|
||||
}
|
||||
412 [label="Access variable R|<local>/b|"];
|
||||
413 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
413 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_86 {
|
||||
color=blue
|
||||
414 [label="Enter when"];
|
||||
@@ -1067,14 +1067,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
422 [label="Enter block"];
|
||||
423 [label="Access variable R|<local>/b|"];
|
||||
424 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
424 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
425 [label="Exit block"];
|
||||
}
|
||||
426 [label="Exit when branch result"];
|
||||
427 [label="Exit when"];
|
||||
}
|
||||
428 [label="Access variable R|<local>/b|"];
|
||||
429 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
|
||||
429 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
430 [label="Exit block"];
|
||||
}
|
||||
431 [label="Exit function test_10" style="filled" fillcolor=red];
|
||||
@@ -1165,7 +1165,7 @@ digraph nullability_kt {
|
||||
439 [label="Enter safe call"];
|
||||
440 [label="Access variable R|/MyData.s|"];
|
||||
441 [label="Enter safe call"];
|
||||
442 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
|
||||
442 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
443 [label="Exit safe call"];
|
||||
444 [label="Exit safe call"];
|
||||
445 [label="Exit safe call"];
|
||||
@@ -1192,7 +1192,7 @@ digraph nullability_kt {
|
||||
463 [label="Access variable R|/QImpl.data|"];
|
||||
464 [label="Smart cast: R|<local>/q|.R|/QImpl.data|"];
|
||||
465 [label="Access variable R|/MyData.s|"];
|
||||
466 [label="Function call: R|<local>/q|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()"];
|
||||
466 [label="Function call: R|<local>/q|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
467 [label="Access variable R|<local>/q2|"];
|
||||
468 [label="Access variable R|/QImpl.data|"];
|
||||
469 [label="Access variable R|<local>/q2|"];
|
||||
@@ -1201,7 +1201,7 @@ digraph nullability_kt {
|
||||
472 [label="Access variable R|<local>/q2|"];
|
||||
473 [label="Access variable R|/QImpl.data|"];
|
||||
474 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
|
||||
475 [label="Function call: R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()"];
|
||||
475 [label="Function call: R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_94 {
|
||||
color=blue
|
||||
476 [label="Enter when"];
|
||||
@@ -1227,7 +1227,7 @@ digraph nullability_kt {
|
||||
491 [label="Access variable R|/QImpl.data|"];
|
||||
492 [label="Smart cast: R|<local>/q2|.R|/QImpl.data|"];
|
||||
493 [label="Access variable R|/MyData.s|"];
|
||||
494 [label="Function call: R|<local>/q2|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()"];
|
||||
494 [label="Function call: R|<local>/q2|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
495 [label="Exit block"];
|
||||
}
|
||||
496 [label="Exit when branch result"];
|
||||
@@ -1331,7 +1331,7 @@ digraph nullability_kt {
|
||||
510 [label="Enter safe call"];
|
||||
511 [label="Access variable R|/MyData.s|"];
|
||||
512 [label="Enter safe call"];
|
||||
513 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
|
||||
513 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
514 [label="Exit safe call"];
|
||||
515 [label="Exit safe call"];
|
||||
516 [label="Exit safe call"];
|
||||
@@ -1358,7 +1358,7 @@ digraph nullability_kt {
|
||||
534 [label="Access variable R|/QImplWithCustomGetter.data|"];
|
||||
535 [label="Smart cast: R|<local>/q|.R|/QImplWithCustomGetter.data|"];
|
||||
536 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
537 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
|
||||
537 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
538 [label="Exit block"];
|
||||
}
|
||||
539 [label="Exit when branch result"];
|
||||
@@ -1426,7 +1426,7 @@ digraph nullability_kt {
|
||||
550 [label="Enter safe call"];
|
||||
551 [label="Access variable R|/MyData.s|"];
|
||||
552 [label="Enter safe call"];
|
||||
553 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
|
||||
553 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
554 [label="Exit safe call"];
|
||||
555 [label="Exit safe call"];
|
||||
556 [label="Exit safe call"];
|
||||
@@ -1453,7 +1453,7 @@ digraph nullability_kt {
|
||||
574 [label="Access variable R|/QImplMutable.data|"];
|
||||
575 [label="Smart cast: R|<local>/q|.R|/QImplMutable.data|"];
|
||||
576 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
577 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
|
||||
577 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
578 [label="Exit block"];
|
||||
}
|
||||
579 [label="Exit when branch result"];
|
||||
|
||||
Reference in New Issue
Block a user