6a03f31e50
Previously unsafe call is reported as part of InapplicableWrongReceiver. This makes it difficult for the downstream checkers to report different diagnostics.
114 lines
3.4 KiB
Plaintext
Vendored
114 lines
3.4 KiB
Plaintext
Vendored
digraph delayedAssignment_kt {
|
|
graph [nodesep=3]
|
|
node [shape=box penwidth=2]
|
|
edge [penwidth=2]
|
|
|
|
subgraph cluster_0 {
|
|
color=red
|
|
0 [label="Enter class A" style="filled" fillcolor=red];
|
|
1 [label="Exit class A" style="filled" fillcolor=red];
|
|
}
|
|
0 -> {1} [color=green];
|
|
|
|
subgraph cluster_1 {
|
|
color=red
|
|
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
|
3 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
|
4 [label="Exit function <init>" style="filled" fillcolor=red];
|
|
}
|
|
2 -> {3};
|
|
3 -> {4};
|
|
|
|
subgraph cluster_2 {
|
|
color=red
|
|
5 [label="Enter function foo" style="filled" fillcolor=red];
|
|
subgraph cluster_3 {
|
|
color=blue
|
|
6 [label="Enter block"];
|
|
7 [label="Exit block"];
|
|
}
|
|
8 [label="Exit function foo" style="filled" fillcolor=red];
|
|
}
|
|
5 -> {6};
|
|
6 -> {7};
|
|
7 -> {8};
|
|
|
|
subgraph cluster_4 {
|
|
color=red
|
|
9 [label="Enter function test" style="filled" fillcolor=red];
|
|
subgraph cluster_5 {
|
|
color=blue
|
|
10 [label="Enter block"];
|
|
11 [label="Variable declaration: lval a: R|A?|"];
|
|
subgraph cluster_6 {
|
|
color=blue
|
|
12 [label="Enter when"];
|
|
subgraph cluster_7 {
|
|
color=blue
|
|
13 [label="Enter when branch condition "];
|
|
14 [label="Access variable R|<local>/b|"];
|
|
15 [label="Exit when branch condition"];
|
|
}
|
|
subgraph cluster_8 {
|
|
color=blue
|
|
16 [label="Enter when branch condition else"];
|
|
17 [label="Exit when branch condition"];
|
|
}
|
|
18 [label="Enter when branch result"];
|
|
subgraph cluster_9 {
|
|
color=blue
|
|
19 [label="Enter block"];
|
|
20 [label="Const: Null(null)"];
|
|
21 [label="Assignment: R|<local>/a|"];
|
|
22 [label="Exit block"];
|
|
}
|
|
23 [label="Exit when branch result"];
|
|
24 [label="Enter when branch result"];
|
|
subgraph cluster_10 {
|
|
color=blue
|
|
25 [label="Enter block"];
|
|
26 [label="Function call: R|/A.A|()"];
|
|
27 [label="Assignment: R|<local>/a|"];
|
|
28 [label="Access variable R|<local>/a|"];
|
|
29 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
|
30 [label="Exit block"];
|
|
}
|
|
31 [label="Exit when branch result"];
|
|
32 [label="Exit when"];
|
|
}
|
|
33 [label="Access variable R|<local>/a|"];
|
|
34 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
|
|
35 [label="Exit block"];
|
|
}
|
|
36 [label="Exit function test" style="filled" fillcolor=red];
|
|
}
|
|
9 -> {10};
|
|
10 -> {11};
|
|
11 -> {12};
|
|
12 -> {13};
|
|
13 -> {14};
|
|
14 -> {15};
|
|
15 -> {24 16};
|
|
16 -> {17};
|
|
17 -> {18};
|
|
18 -> {19};
|
|
19 -> {20};
|
|
20 -> {21};
|
|
21 -> {22};
|
|
22 -> {23};
|
|
23 -> {32};
|
|
24 -> {25};
|
|
25 -> {26};
|
|
26 -> {27};
|
|
27 -> {28};
|
|
28 -> {29};
|
|
29 -> {30};
|
|
30 -> {31};
|
|
31 -> {32};
|
|
32 -> {33};
|
|
33 -> {34};
|
|
34 -> {35};
|
|
35 -> {36};
|
|
|
|
}
|