[FIR] Introduce new algorithm for building CFG for declarations

This commit is contained in:
Dmitriy Novozhilov
2020-06-05 15:47:57 +03:00
parent 950bbfe3a5
commit 87859b0faa
95 changed files with 16070 additions and 13199 deletions
@@ -12,19 +12,24 @@ digraph bangbang_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter function test_0" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/a|"];
7 [label="Check not null: R|<local>/a|!!"];
8 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
9 [label="Access variable R|<local>/a|"];
10 [label="Function call: R|<local>/a|.R|/A.foo|()"];
subgraph cluster_3 {
color=blue
6 [label="Enter block"];
7 [label="Access variable R|<local>/a|"];
8 [label="Check not null: R|<local>/a|!!"];
9 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
10 [label="Access variable R|<local>/a|"];
11 [label="Function call: R|<local>/a|.R|/A.foo|()"];
12 [label="Exit block"];
}
5 [label="Exit function test_0" style="filled" fillcolor=red];
}
4 -> {6};
@@ -32,324 +37,375 @@ digraph bangbang_kt {
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {5};
10 -> {11};
11 -> {12};
12 -> {5};
subgraph cluster_3 {
subgraph cluster_4 {
color=red
11 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
13 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
13 [label="Enter when"];
subgraph cluster_5 {
color=blue
15 [label="Enter when branch condition "];
16 [label="Access variable R|<local>/a|"];
17 [label="Check not null: R|<local>/a|!!"];
18 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
19 [label="Exit when branch condition"];
}
26 [label="Synthetic else branch"];
20 [label="Enter when branch result"];
15 [label="Enter block"];
subgraph cluster_6 {
color=blue
21 [label="Enter block"];
22 [label="Access variable R|<local>/a|"];
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
24 [label="Exit block"];
16 [label="Enter when"];
subgraph cluster_7 {
color=blue
18 [label="Enter when branch condition "];
19 [label="Access variable R|<local>/a|"];
20 [label="Check not null: R|<local>/a|!!"];
21 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
22 [label="Exit when branch condition"];
}
29 [label="Synthetic else branch"];
23 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/a|"];
26 [label="Function call: R|<local>/a|.R|/A.foo|()"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
17 [label="Exit when"];
}
25 [label="Exit when branch result"];
14 [label="Exit when"];
30 [label="Access variable R|<local>/a|"];
31 [label="Function call: R|<local>/a|.R|/A.foo|()"];
32 [label="Exit block"];
}
27 [label="Access variable R|<local>/a|"];
28 [label="Function call: R|<local>/a|.R|/A.foo|()"];
12 [label="Exit function test_1" style="filled" fillcolor=red];
14 [label="Exit function test_1" style="filled" fillcolor=red];
}
11 -> {13};
13 -> {15};
14 -> {27};
15 -> {16};
16 -> {17};
17 -> {18};
16 -> {18};
17 -> {30};
18 -> {19};
19 -> {20 26};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
22 -> {23 29};
23 -> {24};
24 -> {25};
25 -> {14};
26 -> {14};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {12};
28 -> {17};
29 -> {17};
30 -> {31};
31 -> {32};
32 -> {14};
subgraph cluster_7 {
subgraph cluster_9 {
color=red
29 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 {
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
31 [label="Enter when"];
subgraph cluster_9 {
color=blue
33 [label="Enter when branch condition "];
subgraph cluster_10 {
color=blue
35 [label="Enter &&"];
36 [label="Access variable R|<local>/a|"];
37 [label="Check not null: R|<local>/a|!!"];
38 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
39 [label="Exit left part of &&"];
40 [label="Enter right part of &&"];
41 [label="Access variable R|<local>/b|"];
34 [label="Exit &&"];
}
42 [label="Exit when branch condition"];
}
49 [label="Synthetic else branch"];
43 [label="Enter when branch result"];
35 [label="Enter block"];
subgraph cluster_11 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/a|"];
46 [label="Function call: R|<local>/a|.R|/A.foo|()"];
47 [label="Exit block"];
}
48 [label="Exit when branch result"];
32 [label="Exit when"];
}
50 [label="Access variable R|<local>/a|"];
51 [label="Function call: R|<local>/a|.R|/A.foo|()"];
30 [label="Exit function test_2" style="filled" fillcolor=red];
}
29 -> {31};
31 -> {33};
32 -> {50};
33 -> {35};
34 -> {42};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {34 40};
40 -> {41};
41 -> {34};
42 -> {43 49};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {32};
49 -> {32};
50 -> {51};
51 -> {30};
subgraph cluster_12 {
color=red
52 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
54 [label="Enter when"];
subgraph cluster_14 {
color=blue
56 [label="Enter when branch condition "];
subgraph cluster_15 {
36 [label="Enter when"];
subgraph cluster_12 {
color=blue
58 [label="Enter &&"];
59 [label="Access variable R|<local>/b|"];
60 [label="Exit left part of &&"];
61 [label="Enter right part of &&"];
62 [label="Access variable R|<local>/a|"];
63 [label="Check not null: R|<local>/a|!!"];
64 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
57 [label="Exit &&"];
38 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
40 [label="Enter &&"];
41 [label="Access variable R|<local>/a|"];
42 [label="Check not null: R|<local>/a|!!"];
43 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
44 [label="Exit left part of &&"];
45 [label="Enter right part of &&"];
46 [label="Access variable R|<local>/b|"];
39 [label="Exit &&"];
}
47 [label="Exit when branch condition"];
}
65 [label="Exit when branch condition"];
54 [label="Synthetic else branch"];
48 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/a|"];
51 [label="Function call: R|<local>/a|.R|/A.foo|()"];
52 [label="Exit block"];
}
53 [label="Exit when branch result"];
37 [label="Exit when"];
}
72 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/a|"];
69 [label="Function call: R|<local>/a|.R|/A.foo|()"];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
55 [label="Exit when"];
55 [label="Access variable R|<local>/a|"];
56 [label="Function call: R|<local>/a|.R|/A.foo|()"];
57 [label="Exit block"];
}
73 [label="Access variable R|<local>/a|"];
74 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
53 [label="Exit function test_3" style="filled" fillcolor=red];
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
52 -> {54};
54 -> {56};
55 -> {73};
56 -> {58};
57 -> {65};
58 -> {59};
59 -> {60};
60 -> {57 61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {57};
65 -> {66 72};
33 -> {35};
35 -> {36};
36 -> {38};
37 -> {55};
38 -> {40};
39 -> {47};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {39 45};
45 -> {46};
46 -> {39};
47 -> {48 54};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {37};
54 -> {37};
55 -> {56};
56 -> {57};
57 -> {34};
subgraph cluster_15 {
color=red
58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
60 [label="Enter block"];
subgraph cluster_17 {
color=blue
61 [label="Enter when"];
subgraph cluster_18 {
color=blue
63 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
65 [label="Enter &&"];
66 [label="Access variable R|<local>/b|"];
67 [label="Exit left part of &&"];
68 [label="Enter right part of &&"];
69 [label="Access variable R|<local>/a|"];
70 [label="Check not null: R|<local>/a|!!"];
71 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
64 [label="Exit &&"];
}
72 [label="Exit when branch condition"];
}
79 [label="Synthetic else branch"];
73 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
74 [label="Enter block"];
75 [label="Access variable R|<local>/a|"];
76 [label="Function call: R|<local>/a|.R|/A.foo|()"];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
62 [label="Exit when"];
}
80 [label="Access variable R|<local>/a|"];
81 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
82 [label="Exit block"];
}
59 [label="Exit function test_3" style="filled" fillcolor=red];
}
58 -> {60};
60 -> {61};
61 -> {63};
62 -> {80};
63 -> {65};
64 -> {72};
65 -> {66};
66 -> {67};
67 -> {68};
67 -> {64 68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {55};
72 -> {55};
71 -> {64};
72 -> {73 79};
73 -> {74};
74 -> {53};
subgraph cluster_17 {
color=red
75 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
77 [label="Enter when"];
subgraph cluster_19 {
color=blue
79 [label="Enter when branch condition "];
subgraph cluster_20 {
color=blue
81 [label="Enter ||"];
82 [label="Access variable R|<local>/a|"];
83 [label="Check not null: R|<local>/a|!!"];
84 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
85 [label="Exit left part of ||"];
86 [label="Enter right part of ||"];
87 [label="Access variable R|<local>/b|"];
80 [label="Exit ||"];
}
88 [label="Exit when branch condition"];
}
95 [label="Synthetic else branch"];
89 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/a|"];
92 [label="Function call: R|<local>/a|.R|/A.foo|()"];
93 [label="Exit block"];
}
94 [label="Exit when branch result"];
78 [label="Exit when"];
}
96 [label="Access variable R|<local>/a|"];
97 [label="Function call: R|<local>/a|.R|/A.foo|()"];
76 [label="Exit function test_4" style="filled" fillcolor=red];
}
75 -> {77};
77 -> {79};
78 -> {96};
79 -> {81};
80 -> {88};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {62};
79 -> {62};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {80 86};
86 -> {87};
87 -> {80};
88 -> {89 95};
89 -> {90};
82 -> {59};
subgraph cluster_21 {
color=red
83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
85 [label="Enter block"];
subgraph cluster_23 {
color=blue
86 [label="Enter when"];
subgraph cluster_24 {
color=blue
88 [label="Enter when branch condition "];
subgraph cluster_25 {
color=blue
90 [label="Enter ||"];
91 [label="Access variable R|<local>/a|"];
92 [label="Check not null: R|<local>/a|!!"];
93 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
94 [label="Exit left part of ||"];
95 [label="Enter right part of ||"];
96 [label="Access variable R|<local>/b|"];
89 [label="Exit ||"];
}
97 [label="Exit when branch condition"];
}
104 [label="Synthetic else branch"];
98 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
99 [label="Enter block"];
100 [label="Access variable R|<local>/a|"];
101 [label="Function call: R|<local>/a|.R|/A.foo|()"];
102 [label="Exit block"];
}
103 [label="Exit when branch result"];
87 [label="Exit when"];
}
105 [label="Access variable R|<local>/a|"];
106 [label="Function call: R|<local>/a|.R|/A.foo|()"];
107 [label="Exit block"];
}
84 [label="Exit function test_4" style="filled" fillcolor=red];
}
83 -> {85};
85 -> {86};
86 -> {88};
87 -> {105};
88 -> {90};
89 -> {97};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {78};
95 -> {78};
96 -> {97};
97 -> {76};
subgraph cluster_22 {
color=red
98 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
100 [label="Enter when"];
subgraph cluster_24 {
color=blue
102 [label="Enter when branch condition "];
subgraph cluster_25 {
color=blue
104 [label="Enter ||"];
105 [label="Access variable R|<local>/b|"];
106 [label="Exit left part of ||"];
107 [label="Enter right part of ||"];
108 [label="Access variable R|<local>/a|"];
109 [label="Check not null: R|<local>/a|!!"];
110 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
103 [label="Exit ||"];
}
111 [label="Exit when branch condition"];
}
118 [label="Synthetic else branch"];
112 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/a|"];
115 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
116 [label="Exit block"];
}
117 [label="Exit when branch result"];
101 [label="Exit when"];
}
119 [label="Access variable R|<local>/a|"];
120 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
99 [label="Exit function test_5" style="filled" fillcolor=red];
}
98 -> {100};
100 -> {102};
101 -> {119};
102 -> {104};
103 -> {111};
104 -> {105};
94 -> {89 95};
95 -> {96};
96 -> {89};
97 -> {98 104};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {87};
104 -> {87};
105 -> {106};
106 -> {103 107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {103};
111 -> {112 118};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {101};
118 -> {101};
119 -> {120};
120 -> {99};
106 -> {107};
107 -> {84};
subgraph cluster_27 {
color=red
121 [label="Enter function test_6" style="filled" fillcolor=red];
123 [label="Access variable R|<local>/x|"];
124 [label="Check not null: R|<local>/x|!!"];
125 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
122 [label="Exit function test_6" style="filled" fillcolor=red];
108 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
110 [label="Enter block"];
subgraph cluster_29 {
color=blue
111 [label="Enter when"];
subgraph cluster_30 {
color=blue
113 [label="Enter when branch condition "];
subgraph cluster_31 {
color=blue
115 [label="Enter ||"];
116 [label="Access variable R|<local>/b|"];
117 [label="Exit left part of ||"];
118 [label="Enter right part of ||"];
119 [label="Access variable R|<local>/a|"];
120 [label="Check not null: R|<local>/a|!!"];
121 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
114 [label="Exit ||"];
}
122 [label="Exit when branch condition"];
}
129 [label="Synthetic else branch"];
123 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
124 [label="Enter block"];
125 [label="Access variable R|<local>/a|"];
126 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
127 [label="Exit block"];
}
128 [label="Exit when branch result"];
112 [label="Exit when"];
}
130 [label="Access variable R|<local>/a|"];
131 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
132 [label="Exit block"];
}
109 [label="Exit function test_5" style="filled" fillcolor=red];
}
121 -> {123};
108 -> {110};
110 -> {111};
111 -> {113};
112 -> {130};
113 -> {115};
114 -> {122};
115 -> {116};
116 -> {117};
117 -> {114 118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {114};
122 -> {123 129};
123 -> {124};
124 -> {125};
125 -> {122};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {112};
129 -> {112};
130 -> {131};
131 -> {132};
132 -> {109};
subgraph cluster_28 {
subgraph cluster_33 {
color=red
126 [label="Enter function test_7" style="filled" fillcolor=red];
128 [label="Access variable R|<local>/x|"];
129 [label="Check not null: R|<local>/x|!!"];
130 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
127 [label="Exit function test_7" style="filled" fillcolor=red];
133 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
135 [label="Enter block"];
136 [label="Access variable R|<local>/x|"];
137 [label="Check not null: R|<local>/x|!!"];
138 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
139 [label="Exit block"];
}
134 [label="Exit function test_6" style="filled" fillcolor=red];
}
126 -> {128};
128 -> {129};
129 -> {130};
130 -> {127};
133 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {134};
subgraph cluster_35 {
color=red
140 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
142 [label="Enter block"];
143 [label="Access variable R|<local>/x|"];
144 [label="Check not null: R|<local>/x|!!"];
145 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
146 [label="Exit block"];
}
141 [label="Exit function test_7" style="filled" fillcolor=red];
}
140 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {141};
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -12,413 +12,469 @@ digraph jumpFromRhsOfOperator_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter ||"];
8 [label="Access variable R|<local>/a|"];
9 [label="Const: Null(null)"];
10 [label="Operator !="];
11 [label="Exit left part of ||"];
12 [label="Enter right part of ||"];
13 [label="Function call: R|java/lang/Exception.Exception|()"];
14 [label="Throw: throw R|java/lang/Exception.Exception|()"];
15 [label="Stub" style="filled" fillcolor=gray];
6 [label="Exit ||"];
6 [label="Enter block"];
subgraph cluster_4 {
color=blue
8 [label="Enter ||"];
9 [label="Access variable R|<local>/a|"];
10 [label="Const: Null(null)"];
11 [label="Operator !="];
12 [label="Exit left part of ||"];
13 [label="Enter right part of ||"];
14 [label="Function call: R|java/lang/Exception.Exception|()"];
15 [label="Throw: throw R|java/lang/Exception.Exception|()"];
16 [label="Stub" style="filled" fillcolor=gray];
7 [label="Exit ||"];
}
17 [label="Access variable R|<local>/a|"];
18 [label="Function call: R|<local>/a|.R|/A.foo|()"];
19 [label="Exit block"];
}
16 [label="Access variable R|<local>/a|"];
17 [label="Function call: R|<local>/a|.R|/A.foo|()"];
5 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {7};
6 -> {16};
7 -> {8};
4 -> {6};
6 -> {8};
7 -> {17};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {6 12};
12 -> {13};
11 -> {12};
12 -> {7 13};
13 -> {14};
14 -> {5};
14 -> {15} [style=dotted];
15 -> {6} [style=dotted];
16 -> {17};
17 -> {5};
14 -> {15};
15 -> {5};
15 -> {16} [style=dotted];
16 -> {7} [style=dotted];
17 -> {18};
18 -> {19};
19 -> {5};
subgraph cluster_4 {
subgraph cluster_5 {
color=red
18 [label="Enter function teat_2" style="filled" fillcolor=red];
subgraph cluster_5 {
20 [label="Enter function teat_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
21 [label="Enter &&"];
22 [label="Access variable R|<local>/a|"];
23 [label="Const: Null(null)"];
24 [label="Operator =="];
25 [label="Exit left part of &&"];
26 [label="Enter right part of &&"];
27 [label="Function call: R|java/lang/Exception.Exception|()"];
28 [label="Throw: throw R|java/lang/Exception.Exception|()"];
29 [label="Stub" style="filled" fillcolor=gray];
20 [label="Exit &&"];
22 [label="Enter block"];
subgraph cluster_7 {
color=blue
24 [label="Enter &&"];
25 [label="Access variable R|<local>/a|"];
26 [label="Const: Null(null)"];
27 [label="Operator =="];
28 [label="Exit left part of &&"];
29 [label="Enter right part of &&"];
30 [label="Function call: R|java/lang/Exception.Exception|()"];
31 [label="Throw: throw R|java/lang/Exception.Exception|()"];
32 [label="Stub" style="filled" fillcolor=gray];
23 [label="Exit &&"];
}
33 [label="Access variable R|<local>/a|"];
34 [label="Function call: R|<local>/a|.R|/A.foo|()"];
35 [label="Exit block"];
}
30 [label="Access variable R|<local>/a|"];
31 [label="Function call: R|<local>/a|.R|/A.foo|()"];
19 [label="Exit function teat_2" style="filled" fillcolor=red];
21 [label="Exit function teat_2" style="filled" fillcolor=red];
}
18 -> {21};
20 -> {30};
21 -> {22};
22 -> {23};
23 -> {24};
20 -> {22};
22 -> {24};
23 -> {33};
24 -> {25};
25 -> {20 26};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {19};
28 -> {29} [style=dotted];
29 -> {20} [style=dotted];
28 -> {23 29};
29 -> {30};
30 -> {31};
31 -> {19};
31 -> {21};
31 -> {32} [style=dotted];
32 -> {23} [style=dotted];
33 -> {34};
34 -> {35};
35 -> {21};
subgraph cluster_6 {
subgraph cluster_8 {
color=red
32 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_7 {
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
34 [label="Enter when"];
subgraph cluster_8 {
color=blue
36 [label="Enter when branch condition "];
subgraph cluster_9 {
color=blue
38 [label="Enter ||"];
39 [label="Access variable R|<local>/a|"];
40 [label="Const: Null(null)"];
41 [label="Operator !="];
42 [label="Exit left part of ||"];
43 [label="Enter right part of ||"];
44 [label="Function call: R|java/lang/Exception.Exception|()"];
45 [label="Throw: throw R|java/lang/Exception.Exception|()"];
46 [label="Stub" style="filled" fillcolor=gray];
37 [label="Exit ||"];
}
47 [label="Exit when branch condition"];
}
54 [label="Synthetic else branch"];
48 [label="Enter when branch result"];
38 [label="Enter block"];
subgraph cluster_10 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/a|"];
51 [label="Function call: R|<local>/a|.R|/A.foo|()"];
52 [label="Exit block"];
39 [label="Enter when"];
subgraph cluster_11 {
color=blue
41 [label="Enter when branch condition "];
subgraph cluster_12 {
color=blue
43 [label="Enter ||"];
44 [label="Access variable R|<local>/a|"];
45 [label="Const: Null(null)"];
46 [label="Operator !="];
47 [label="Exit left part of ||"];
48 [label="Enter right part of ||"];
49 [label="Function call: R|java/lang/Exception.Exception|()"];
50 [label="Throw: throw R|java/lang/Exception.Exception|()"];
51 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit ||"];
}
52 [label="Exit when branch condition"];
}
59 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
54 [label="Enter block"];
55 [label="Access variable R|<local>/a|"];
56 [label="Function call: R|<local>/a|.R|/A.foo|()"];
57 [label="Exit block"];
}
58 [label="Exit when branch result"];
40 [label="Exit when"];
}
53 [label="Exit when branch result"];
35 [label="Exit when"];
60 [label="Access variable R|<local>/a|"];
61 [label="Function call: R|<local>/a|.R|/A.foo|()"];
62 [label="Exit block"];
}
55 [label="Access variable R|<local>/a|"];
56 [label="Function call: R|<local>/a|.R|/A.foo|()"];
33 [label="Exit function test_3" style="filled" fillcolor=red];
37 [label="Exit function test_3" style="filled" fillcolor=red];
}
32 -> {34};
34 -> {36};
35 -> {55};
36 -> {38};
37 -> {47};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {37 43};
39 -> {41};
40 -> {60};
41 -> {43};
42 -> {52};
43 -> {44};
44 -> {45};
45 -> {33};
45 -> {46} [style=dotted];
46 -> {37} [style=dotted];
47 -> {48 54};
45 -> {46};
46 -> {47};
47 -> {42 48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {35};
54 -> {35};
50 -> {37};
50 -> {51} [style=dotted];
51 -> {42} [style=dotted];
52 -> {53 59};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {33};
56 -> {57};
57 -> {58};
58 -> {40};
59 -> {40};
60 -> {61};
61 -> {62};
62 -> {37};
subgraph cluster_11 {
subgraph cluster_14 {
color=red
57 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_12 {
63 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
59 [label="Enter when"];
subgraph cluster_13 {
65 [label="Enter block"];
subgraph cluster_16 {
color=blue
61 [label="Enter when branch condition "];
subgraph cluster_14 {
66 [label="Enter when"];
subgraph cluster_17 {
color=blue
63 [label="Enter &&"];
64 [label="Access variable R|<local>/a|"];
65 [label="Const: Null(null)"];
66 [label="Operator =="];
67 [label="Exit left part of &&"];
68 [label="Enter right part of &&"];
69 [label="Function call: R|java/lang/Exception.Exception|()"];
70 [label="Throw: throw R|java/lang/Exception.Exception|()"];
71 [label="Stub" style="filled" fillcolor=gray];
62 [label="Exit &&"];
68 [label="Enter when branch condition "];
subgraph cluster_18 {
color=blue
70 [label="Enter &&"];
71 [label="Access variable R|<local>/a|"];
72 [label="Const: Null(null)"];
73 [label="Operator =="];
74 [label="Exit left part of &&"];
75 [label="Enter right part of &&"];
76 [label="Function call: R|java/lang/Exception.Exception|()"];
77 [label="Throw: throw R|java/lang/Exception.Exception|()"];
78 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit &&"];
}
79 [label="Exit when branch condition"];
}
72 [label="Exit when branch condition"];
86 [label="Synthetic else branch"];
80 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
81 [label="Enter block"];
82 [label="Access variable R|<local>/a|"];
83 [label="Function call: R|<local>/a|.R|/A.foo|()"];
84 [label="Exit block"];
}
85 [label="Exit when branch result"];
67 [label="Exit when"];
}
79 [label="Synthetic else branch"];
73 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
74 [label="Enter block"];
75 [label="Access variable R|<local>/a|"];
76 [label="Function call: R|<local>/a|.R|/A.foo|()"];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
60 [label="Exit when"];
87 [label="Access variable R|<local>/a|"];
88 [label="Function call: R|<local>/a|.R|/A.foo|()"];
89 [label="Exit block"];
}
80 [label="Access variable R|<local>/a|"];
81 [label="Function call: R|<local>/a|.R|/A.foo|()"];
58 [label="Exit function test_4" style="filled" fillcolor=red];
64 [label="Exit function test_4" style="filled" fillcolor=red];
}
57 -> {59};
59 -> {61};
60 -> {80};
61 -> {63};
62 -> {72};
63 -> {64};
64 -> {65};
63 -> {65};
65 -> {66};
66 -> {67};
67 -> {62 68};
68 -> {69};
69 -> {70};
70 -> {58};
70 -> {71} [style=dotted];
71 -> {62} [style=dotted];
72 -> {73 79};
66 -> {68};
67 -> {87};
68 -> {70};
69 -> {79};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
74 -> {69 75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {60};
79 -> {60};
77 -> {64};
77 -> {78} [style=dotted];
78 -> {69} [style=dotted];
79 -> {80 86};
80 -> {81};
81 -> {58};
subgraph cluster_16 {
color=red
82 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
85 [label="Enter ||"];
86 [label="Access variable R|<local>/a|"];
87 [label="Const: Null(null)"];
88 [label="Operator =="];
89 [label="Exit left part of ||"];
90 [label="Enter right part of ||"];
91 [label="Function call: R|java/lang/Exception.Exception|()"];
92 [label="Throw: throw R|java/lang/Exception.Exception|()"];
93 [label="Stub" style="filled" fillcolor=gray];
84 [label="Exit ||"];
}
94 [label="Access variable R|<local>/a|"];
95 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
83 [label="Exit function test_5" style="filled" fillcolor=red];
}
82 -> {85};
84 -> {94};
85 -> {86};
86 -> {87};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {67};
86 -> {67};
87 -> {88};
88 -> {89};
89 -> {84 90};
90 -> {91};
91 -> {92};
92 -> {83};
92 -> {93} [style=dotted];
93 -> {84} [style=dotted];
94 -> {95};
95 -> {83};
subgraph cluster_18 {
color=red
96 [label="Enter function teat_6" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
99 [label="Enter &&"];
100 [label="Access variable R|<local>/a|"];
101 [label="Const: Null(null)"];
102 [label="Operator !="];
103 [label="Exit left part of &&"];
104 [label="Enter right part of &&"];
105 [label="Function call: R|java/lang/Exception.Exception|()"];
106 [label="Throw: throw R|java/lang/Exception.Exception|()"];
107 [label="Stub" style="filled" fillcolor=gray];
98 [label="Exit &&"];
}
108 [label="Access variable R|<local>/a|"];
109 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
97 [label="Exit function teat_6" style="filled" fillcolor=red];
}
96 -> {99};
98 -> {108};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {98 104};
104 -> {105};
105 -> {106};
106 -> {97};
106 -> {107} [style=dotted];
107 -> {98} [style=dotted];
108 -> {109};
109 -> {97};
89 -> {64};
subgraph cluster_20 {
color=red
110 [label="Enter function test_7" style="filled" fillcolor=red];
90 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
112 [label="Enter when"];
92 [label="Enter block"];
subgraph cluster_22 {
color=blue
114 [label="Enter when branch condition "];
subgraph cluster_23 {
color=blue
116 [label="Enter ||"];
117 [label="Access variable R|<local>/a|"];
118 [label="Const: Null(null)"];
119 [label="Operator =="];
120 [label="Exit left part of ||"];
121 [label="Enter right part of ||"];
122 [label="Function call: R|java/lang/Exception.Exception|()"];
123 [label="Throw: throw R|java/lang/Exception.Exception|()"];
124 [label="Stub" style="filled" fillcolor=gray];
115 [label="Exit ||"];
}
125 [label="Exit when branch condition"];
94 [label="Enter ||"];
95 [label="Access variable R|<local>/a|"];
96 [label="Const: Null(null)"];
97 [label="Operator =="];
98 [label="Exit left part of ||"];
99 [label="Enter right part of ||"];
100 [label="Function call: R|java/lang/Exception.Exception|()"];
101 [label="Throw: throw R|java/lang/Exception.Exception|()"];
102 [label="Stub" style="filled" fillcolor=gray];
93 [label="Exit ||"];
}
132 [label="Synthetic else branch"];
126 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
127 [label="Enter block"];
128 [label="Access variable R|<local>/a|"];
129 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
130 [label="Exit block"];
}
131 [label="Exit when branch result"];
113 [label="Exit when"];
103 [label="Access variable R|<local>/a|"];
104 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
105 [label="Exit block"];
}
133 [label="Access variable R|<local>/a|"];
134 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
111 [label="Exit function test_7" style="filled" fillcolor=red];
91 [label="Exit function test_5" style="filled" fillcolor=red];
}
110 -> {112};
112 -> {114};
113 -> {133};
114 -> {116};
115 -> {125};
90 -> {92};
92 -> {94};
93 -> {103};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {93 99};
99 -> {100};
100 -> {101};
101 -> {91};
101 -> {102} [style=dotted];
102 -> {93} [style=dotted];
103 -> {104};
104 -> {105};
105 -> {91};
subgraph cluster_23 {
color=red
106 [label="Enter function teat_6" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
108 [label="Enter block"];
subgraph cluster_25 {
color=blue
110 [label="Enter &&"];
111 [label="Access variable R|<local>/a|"];
112 [label="Const: Null(null)"];
113 [label="Operator !="];
114 [label="Exit left part of &&"];
115 [label="Enter right part of &&"];
116 [label="Function call: R|java/lang/Exception.Exception|()"];
117 [label="Throw: throw R|java/lang/Exception.Exception|()"];
118 [label="Stub" style="filled" fillcolor=gray];
109 [label="Exit &&"];
}
119 [label="Access variable R|<local>/a|"];
120 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
121 [label="Exit block"];
}
107 [label="Exit function teat_6" style="filled" fillcolor=red];
}
106 -> {108};
108 -> {110};
109 -> {119};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {109 115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
117 -> {107};
117 -> {118} [style=dotted];
118 -> {109} [style=dotted];
119 -> {120};
120 -> {115 121};
121 -> {122};
122 -> {123};
123 -> {111};
123 -> {124} [style=dotted];
124 -> {115} [style=dotted];
125 -> {126 132};
126 -> {127};
127 -> {128};
128 -> {129};
120 -> {121};
121 -> {107};
subgraph cluster_26 {
color=red
122 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
124 [label="Enter block"];
subgraph cluster_28 {
color=blue
125 [label="Enter when"];
subgraph cluster_29 {
color=blue
127 [label="Enter when branch condition "];
subgraph cluster_30 {
color=blue
129 [label="Enter ||"];
130 [label="Access variable R|<local>/a|"];
131 [label="Const: Null(null)"];
132 [label="Operator =="];
133 [label="Exit left part of ||"];
134 [label="Enter right part of ||"];
135 [label="Function call: R|java/lang/Exception.Exception|()"];
136 [label="Throw: throw R|java/lang/Exception.Exception|()"];
137 [label="Stub" style="filled" fillcolor=gray];
128 [label="Exit ||"];
}
138 [label="Exit when branch condition"];
}
145 [label="Synthetic else branch"];
139 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
140 [label="Enter block"];
141 [label="Access variable R|<local>/a|"];
142 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
143 [label="Exit block"];
}
144 [label="Exit when branch result"];
126 [label="Exit when"];
}
146 [label="Access variable R|<local>/a|"];
147 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
148 [label="Exit block"];
}
123 [label="Exit function test_7" style="filled" fillcolor=red];
}
122 -> {124};
124 -> {125};
125 -> {127};
126 -> {146};
127 -> {129};
128 -> {138};
129 -> {130};
130 -> {131};
131 -> {113};
132 -> {113};
133 -> {134};
134 -> {111};
subgraph cluster_25 {
color=red
135 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
137 [label="Enter when"];
subgraph cluster_27 {
color=blue
139 [label="Enter when branch condition "];
subgraph cluster_28 {
color=blue
141 [label="Enter &&"];
142 [label="Access variable R|<local>/a|"];
143 [label="Const: Null(null)"];
144 [label="Operator !="];
145 [label="Exit left part of &&"];
146 [label="Enter right part of &&"];
147 [label="Function call: R|java/lang/Exception.Exception|()"];
148 [label="Throw: throw R|java/lang/Exception.Exception|()"];
149 [label="Stub" style="filled" fillcolor=gray];
140 [label="Exit &&"];
}
150 [label="Exit when branch condition"];
}
157 [label="Synthetic else branch"];
151 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
152 [label="Enter block"];
153 [label="Access variable R|<local>/a|"];
154 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
155 [label="Exit block"];
}
156 [label="Exit when branch result"];
138 [label="Exit when"];
}
158 [label="Access variable R|<local>/a|"];
159 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
136 [label="Exit function test_8" style="filled" fillcolor=red];
}
135 -> {137};
137 -> {139};
138 -> {158};
139 -> {141};
140 -> {150};
131 -> {132};
132 -> {133};
133 -> {128 134};
134 -> {135};
135 -> {136};
136 -> {123};
136 -> {137} [style=dotted];
137 -> {128} [style=dotted];
138 -> {139 145};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {140 146};
144 -> {126};
145 -> {126};
146 -> {147};
147 -> {148};
148 -> {136};
148 -> {149} [style=dotted];
149 -> {140} [style=dotted];
150 -> {151 157};
148 -> {123};
subgraph cluster_32 {
color=red
149 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
151 [label="Enter block"];
subgraph cluster_34 {
color=blue
152 [label="Enter when"];
subgraph cluster_35 {
color=blue
154 [label="Enter when branch condition "];
subgraph cluster_36 {
color=blue
156 [label="Enter &&"];
157 [label="Access variable R|<local>/a|"];
158 [label="Const: Null(null)"];
159 [label="Operator !="];
160 [label="Exit left part of &&"];
161 [label="Enter right part of &&"];
162 [label="Function call: R|java/lang/Exception.Exception|()"];
163 [label="Throw: throw R|java/lang/Exception.Exception|()"];
164 [label="Stub" style="filled" fillcolor=gray];
155 [label="Exit &&"];
}
165 [label="Exit when branch condition"];
}
172 [label="Synthetic else branch"];
166 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
167 [label="Enter block"];
168 [label="Access variable R|<local>/a|"];
169 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
170 [label="Exit block"];
}
171 [label="Exit when branch result"];
153 [label="Exit when"];
}
173 [label="Access variable R|<local>/a|"];
174 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
175 [label="Exit block"];
}
150 [label="Exit function test_8" style="filled" fillcolor=red];
}
149 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {138};
157 -> {138};
152 -> {154};
153 -> {173};
154 -> {156};
155 -> {165};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {136};
159 -> {160};
160 -> {155 161};
161 -> {162};
162 -> {163};
163 -> {150};
163 -> {164} [style=dotted];
164 -> {155} [style=dotted];
165 -> {166 172};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {153};
172 -> {153};
173 -> {174};
174 -> {175};
175 -> {150};
}
@@ -12,10 +12,10 @@ digraph boundSmartcasts_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
@@ -26,410 +26,423 @@ digraph boundSmartcasts_kt {
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
7 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {6} [color=green];
subgraph cluster_4 {
color=red
8 [label="Enter function test_1" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"];
11 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_5 {
color=blue
12 [label="Enter when"];
10 [label="Enter block"];
11 [label="Access variable R|<local>/x|"];
12 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_6 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Access variable R|<local>/x|"];
16 [label="Type operator: (R|<local>/x| is R|A|)"];
17 [label="Exit when branch condition"];
13 [label="Enter when"];
subgraph cluster_7 {
color=blue
15 [label="Enter when branch condition "];
16 [label="Access variable R|<local>/x|"];
17 [label="Type operator: (R|<local>/x| is R|A|)"];
18 [label="Exit when branch condition"];
}
27 [label="Synthetic else branch"];
19 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/x|"];
22 [label="Function call: R|<local>/x|.R|/A.foo|()"];
23 [label="Access variable R|<local>/y|"];
24 [label="Function call: R|<local>/y|.R|/A.foo|()"];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
14 [label="Exit when"];
}
26 [label="Synthetic else branch"];
18 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
19 [label="Enter block"];
20 [label="Access variable R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|/A.foo|()"];
22 [label="Access variable R|<local>/y|"];
23 [label="Function call: R|<local>/y|.R|/A.foo|()"];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
13 [label="Exit when"];
28 [label="Exit block"];
}
9 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {11};
11 -> {12};
12 -> {14};
13 -> {9};
14 -> {15};
12 -> {13};
13 -> {15};
14 -> {28};
15 -> {16};
16 -> {17};
17 -> {18 26};
18 -> {19};
17 -> {18};
18 -> {19 27};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {13};
26 -> {13};
25 -> {26};
26 -> {14};
27 -> {14};
28 -> {9};
subgraph cluster_8 {
subgraph cluster_9 {
color=red
27 [label="Enter function test_2" style="filled" fillcolor=red];
29 [label="Access variable R|<local>/x|"];
30 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_9 {
29 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
31 [label="Enter when"];
subgraph cluster_10 {
color=blue
33 [label="Enter when branch condition "];
34 [label="Access variable R|<local>/y|"];
35 [label="Type operator: (R|<local>/y| is R|A|)"];
36 [label="Exit when branch condition"];
}
45 [label="Synthetic else branch"];
37 [label="Enter when branch result"];
31 [label="Enter block"];
32 [label="Access variable R|<local>/x|"];
33 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_11 {
color=blue
38 [label="Enter block"];
39 [label="Access variable R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|/A.foo|()"];
41 [label="Access variable R|<local>/y|"];
42 [label="Function call: R|<local>/y|.R|/A.foo|()"];
43 [label="Exit block"];
34 [label="Enter when"];
subgraph cluster_12 {
color=blue
36 [label="Enter when branch condition "];
37 [label="Access variable R|<local>/y|"];
38 [label="Type operator: (R|<local>/y| is R|A|)"];
39 [label="Exit when branch condition"];
}
48 [label="Synthetic else branch"];
40 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.R|/A.foo|()"];
44 [label="Access variable R|<local>/y|"];
45 [label="Function call: R|<local>/y|.R|/A.foo|()"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
35 [label="Exit when"];
}
44 [label="Exit when branch result"];
32 [label="Exit when"];
49 [label="Exit block"];
}
28 [label="Exit function test_2" style="filled" fillcolor=red];
30 [label="Exit function test_2" style="filled" fillcolor=red];
}
27 -> {29};
29 -> {30};
30 -> {31};
31 -> {33};
32 -> {28};
29 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37 45};
34 -> {36};
35 -> {49};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {40 48};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {32};
45 -> {32};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {35};
48 -> {35};
49 -> {30};
subgraph cluster_12 {
subgraph cluster_14 {
color=red
46 [label="Enter function test_3" style="filled" fillcolor=red];
48 [label="Access variable R|<local>/x|"];
49 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_13 {
50 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
50 [label="Enter when"];
subgraph cluster_14 {
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_16 {
color=blue
52 [label="Enter when branch condition "];
53 [label="Access variable R|<local>/x|"];
54 [label="Type operator: (R|<local>/x| is R|A|)"];
55 [label="Exit when branch condition"];
55 [label="Enter when"];
subgraph cluster_17 {
color=blue
57 [label="Enter when branch condition "];
58 [label="Access variable R|<local>/x|"];
59 [label="Type operator: (R|<local>/x| is R|A|)"];
60 [label="Exit when branch condition"];
}
67 [label="Synthetic else branch"];
61 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
62 [label="Enter block"];
63 [label="Access variable R|<local>/z|"];
64 [label="Function call: R|<local>/z|.R|/A.foo|()"];
65 [label="Exit block"];
}
66 [label="Exit when branch result"];
56 [label="Exit when"];
}
62 [label="Synthetic else branch"];
56 [label="Enter when branch result"];
subgraph cluster_15 {
68 [label="Access variable R|<local>/y|"];
69 [label="Assignment: R|<local>/z|"];
subgraph cluster_19 {
color=blue
57 [label="Enter block"];
58 [label="Access variable R|<local>/z|"];
59 [label="Function call: R|<local>/z|.R|/A.foo|()"];
60 [label="Exit block"];
70 [label="Enter when"];
subgraph cluster_20 {
color=blue
72 [label="Enter when branch condition "];
73 [label="Access variable R|<local>/y|"];
74 [label="Type operator: (R|<local>/y| is R|B|)"];
75 [label="Exit when branch condition"];
}
84 [label="Synthetic else branch"];
76 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
77 [label="Enter block"];
78 [label="Access variable R|<local>/z|"];
79 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"];
80 [label="Access variable R|<local>/z|"];
81 [label="Function call: R|<local>/z|.R|/B.bar|()"];
82 [label="Exit block"];
}
83 [label="Exit when branch result"];
71 [label="Exit when"];
}
61 [label="Exit when branch result"];
51 [label="Exit when"];
85 [label="Exit block"];
}
63 [label="Access variable R|<local>/y|"];
64 [label="Assignment: R|<local>/z|"];
subgraph cluster_16 {
color=blue
65 [label="Enter when"];
subgraph cluster_17 {
color=blue
67 [label="Enter when branch condition "];
68 [label="Access variable R|<local>/y|"];
69 [label="Type operator: (R|<local>/y| is R|B|)"];
70 [label="Exit when branch condition"];
}
79 [label="Synthetic else branch"];
71 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/z|"];
74 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"];
75 [label="Access variable R|<local>/z|"];
76 [label="Function call: R|<local>/z|.R|/B.bar|()"];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
66 [label="Exit when"];
}
47 [label="Exit function test_3" style="filled" fillcolor=red];
51 [label="Exit function test_3" style="filled" fillcolor=red];
}
46 -> {48};
48 -> {49};
49 -> {50};
50 -> {52};
51 -> {63};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56 62};
56 -> {57};
55 -> {57};
56 -> {68};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {51};
62 -> {51};
60 -> {61 67};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {67};
66 -> {47};
67 -> {68};
65 -> {66};
66 -> {56};
67 -> {56};
68 -> {69};
69 -> {70};
70 -> {71 79};
71 -> {72};
70 -> {72};
71 -> {85};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
75 -> {76 84};
76 -> {77};
77 -> {78};
78 -> {66};
79 -> {66};
subgraph cluster_19 {
color=red
80 [label="Enter function test_4" style="filled" fillcolor=red];
82 [label="Const: Int(1)"];
83 [label="Variable declaration: lvar x: R|kotlin/Any|"];
84 [label="Access variable R|<local>/x|"];
85 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
86 [label="Access variable R|<local>/x|"];
87 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
88 [label="Access variable R|<local>/y|"];
89 [label="Assignment: R|<local>/x|"];
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
subgraph cluster_20 {
color=blue
92 [label="Enter when"];
subgraph cluster_21 {
color=blue
94 [label="Enter when branch condition "];
95 [label="Access variable R|<local>/y|"];
96 [label="Type operator: (R|<local>/y| is R|A|)"];
97 [label="Exit when branch condition"];
}
106 [label="Synthetic else branch"];
98 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
99 [label="Enter block"];
100 [label="Access variable R|<local>/x|"];
101 [label="Function call: R|<local>/x|.R|/A.foo|()"];
102 [label="Access variable R|<local>/y|"];
103 [label="Function call: R|<local>/y|.R|/A.foo|()"];
104 [label="Exit block"];
}
105 [label="Exit when branch result"];
93 [label="Exit when"];
}
81 [label="Exit function test_4" style="filled" fillcolor=red];
}
80 -> {82};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
83 -> {71};
84 -> {71};
85 -> {51};
subgraph cluster_22 {
color=red
86 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
88 [label="Enter block"];
89 [label="Const: Int(1)"];
90 [label="Variable declaration: lvar x: R|kotlin/Any|"];
91 [label="Access variable R|<local>/x|"];
92 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
93 [label="Access variable R|<local>/x|"];
94 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
95 [label="Access variable R|<local>/y|"];
96 [label="Assignment: R|<local>/x|"];
97 [label="Access variable R|<local>/x|"];
98 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
subgraph cluster_24 {
color=blue
99 [label="Enter when"];
subgraph cluster_25 {
color=blue
101 [label="Enter when branch condition "];
102 [label="Access variable R|<local>/y|"];
103 [label="Type operator: (R|<local>/y| is R|A|)"];
104 [label="Exit when branch condition"];
}
113 [label="Synthetic else branch"];
105 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/x|"];
108 [label="Function call: R|<local>/x|.R|/A.foo|()"];
109 [label="Access variable R|<local>/y|"];
110 [label="Function call: R|<local>/y|.R|/A.foo|()"];
111 [label="Exit block"];
}
112 [label="Exit when branch result"];
100 [label="Exit when"];
}
114 [label="Exit block"];
}
87 [label="Exit function test_4" style="filled" fillcolor=red];
}
86 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {94};
93 -> {81};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98 106};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
99 -> {101};
100 -> {114};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {93};
106 -> {93};
subgraph cluster_23 {
color=red
107 [label="Enter function <init>" style="filled" fillcolor=red];
109 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
108 [label="Exit function <init>" style="filled" fillcolor=red];
}
107 -> {109};
109 -> {108};
subgraph cluster_24 {
color=red
115 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
110 [label="Enter function getter" style="filled" fillcolor=red];
111 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_26 {
color=blue
112 [label="Enter property" style="filled" fillcolor=red];
114 [label="Access variable R|<local>/any|"];
113 [label="Exit property" style="filled" fillcolor=red];
}
116 [label="Exit class D" style="filled" fillcolor=red];
}
115 -> {112} [color=green];
112 -> {114};
113 -> {116} [color=green];
114 -> {113};
104 -> {105 113};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {100};
113 -> {100};
114 -> {87};
subgraph cluster_27 {
color=red
117 [label="Enter function baz" style="filled" fillcolor=red];
118 [label="Exit function baz" style="filled" fillcolor=red];
115 [label="Enter function <init>" style="filled" fillcolor=red];
117 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
116 [label="Exit function <init>" style="filled" fillcolor=red];
}
117 -> {118};
115 -> {117};
117 -> {116};
subgraph cluster_28 {
color=red
119 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
121 [label="Enter when"];
123 [label="Access variable R|<local>/d|"];
124 [label="Access variable R|/D.any|"];
125 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
subgraph cluster_30 {
color=blue
126 [label="Enter when branch condition "];
127 [label="Const: Null(null)"];
128 [label="Operator =="];
129 [label="Exit when branch condition"];
}
subgraph cluster_31 {
color=blue
136 [label="Enter when branch condition else"];
137 [label="Exit when branch condition"];
}
138 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
139 [label="Enter block"];
140 [label="Access variable R|<local>/<elvis>|"];
141 [label="Exit block"];
}
142 [label="Exit when branch result"];
130 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
131 [label="Enter block"];
132 [label="Jump: ^test_5 Unit"];
133 [label="Stub" style="filled" fillcolor=gray];
134 [label="Exit block" style="filled" fillcolor=gray];
}
135 [label="Exit when branch result" style="filled" fillcolor=gray];
122 [label="Exit when"];
}
143 [label="Variable declaration: lval a: R|kotlin/Any|"];
144 [label="Access variable R|<local>/a|"];
145 [label="Function call: R|<local>/a|.R|/baz|()"];
146 [label="Access variable R|<local>/d|"];
147 [label="Access variable R|/D.any|"];
148 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
149 [label="Access variable R|<local>/a|"];
150 [label="Type operator: (R|<local>/a| as R|A|)"];
151 [label="Access variable R|<local>/a|"];
152 [label="Function call: R|<local>/a|.R|/A.foo|()"];
120 [label="Exit function test_5" style="filled" fillcolor=red];
118 [label="Enter function getter" style="filled" fillcolor=red];
119 [label="Exit function getter" style="filled" fillcolor=red];
}
119 -> {121};
121 -> {123};
122 -> {143};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
118 -> {119};
subgraph cluster_29 {
color=red
124 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
120 [label="Enter property" style="filled" fillcolor=red];
122 [label="Access variable R|<local>/any|"];
121 [label="Exit property" style="filled" fillcolor=red];
}
123 [label="Exit class D" style="filled" fillcolor=red];
}
124 -> {120} [color=green];
120 -> {122};
121 -> {123} [color=green];
122 -> {121};
subgraph cluster_31 {
color=red
125 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
127 [label="Enter block"];
128 [label="Exit block"];
}
126 [label="Exit function baz" style="filled" fillcolor=red];
}
125 -> {127};
127 -> {128};
128 -> {129};
129 -> {130 136};
130 -> {131};
128 -> {126};
subgraph cluster_33 {
color=red
129 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
131 [label="Enter block"];
subgraph cluster_35 {
color=blue
132 [label="Enter when"];
134 [label="Access variable R|<local>/d|"];
135 [label="Access variable R|/D.any|"];
136 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
subgraph cluster_36 {
color=blue
137 [label="Enter when branch condition "];
138 [label="Const: Null(null)"];
139 [label="Operator =="];
140 [label="Exit when branch condition"];
}
subgraph cluster_37 {
color=blue
147 [label="Enter when branch condition else"];
148 [label="Exit when branch condition"];
}
149 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
150 [label="Enter block"];
151 [label="Access variable R|<local>/<elvis>|"];
152 [label="Exit block"];
}
153 [label="Exit when branch result"];
141 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
142 [label="Enter block"];
143 [label="Jump: ^test_5 Unit"];
144 [label="Stub" style="filled" fillcolor=gray];
145 [label="Exit block" style="filled" fillcolor=gray];
}
146 [label="Exit when branch result" style="filled" fillcolor=gray];
133 [label="Exit when"];
}
154 [label="Variable declaration: lval a: R|kotlin/Any|"];
155 [label="Access variable R|<local>/a|"];
156 [label="Function call: R|<local>/a|.R|/baz|()"];
157 [label="Access variable R|<local>/d|"];
158 [label="Access variable R|/D.any|"];
159 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
160 [label="Access variable R|<local>/a|"];
161 [label="Type operator: (R|<local>/a| as R|A|)"];
162 [label="Access variable R|<local>/a|"];
163 [label="Function call: R|<local>/a|.R|/A.foo|()"];
164 [label="Exit block"];
}
130 [label="Exit function test_5" style="filled" fillcolor=red];
}
129 -> {131};
131 -> {132};
132 -> {120};
132 -> {133} [style=dotted];
133 -> {134} [style=dotted];
134 -> {135} [style=dotted];
135 -> {122} [style=dotted];
132 -> {134};
133 -> {154};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
140 -> {141 147};
141 -> {142};
142 -> {122};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
142 -> {143};
143 -> {130};
143 -> {144} [style=dotted];
144 -> {145} [style=dotted];
145 -> {146} [style=dotted];
146 -> {133} [style=dotted];
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {120};
subgraph cluster_34 {
color=red
153 [label="Enter function test_6" style="filled" fillcolor=red];
155 [label="Access variable R|<local>/d1|"];
156 [label="Access variable R|/D.any|"];
157 [label="Variable declaration: lval a: R|kotlin/Any?|"];
158 [label="Access variable R|<local>/a|"];
159 [label="Type operator: (R|<local>/a| as R|A|)"];
160 [label="Access variable R|<local>/a|"];
161 [label="Function call: R|<local>/a|.R|/A.foo|()"];
162 [label="Access variable R|<local>/d1|"];
163 [label="Access variable R|/D.any|"];
164 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
165 [label="Access variable R|<local>/d1|"];
166 [label="Access variable R|/D.any|"];
167 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
154 [label="Exit function test_6" style="filled" fillcolor=red];
}
153 -> {155};
152 -> {153};
153 -> {133};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
@@ -439,52 +452,96 @@ digraph boundSmartcasts_kt {
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {154};
164 -> {130};
subgraph cluster_35 {
subgraph cluster_40 {
color=red
168 [label="Enter function test_7" style="filled" fillcolor=red];
170 [label="Access variable R|<local>/d1|"];
171 [label="Enter safe call"];
173 [label="Access variable R|/D.any|"];
172 [label="Exit safe call"];
174 [label="Variable declaration: lval a: R|kotlin/Any?|"];
175 [label="Access variable R|<local>/d2|"];
176 [label="Enter safe call"];
178 [label="Access variable R|/D.any|"];
177 [label="Exit safe call"];
179 [label="Variable declaration: lval b: R|kotlin/Any?|"];
180 [label="Access variable R|<local>/a|"];
181 [label="Type operator: (R|<local>/a| as R|A|)"];
182 [label="Access variable R|<local>/a|"];
183 [label="Function call: R|<local>/a|.R|/A.foo|()"];
184 [label="Access variable R|<local>/b|"];
185 [label="Type operator: (R|<local>/b| as R|B|)"];
186 [label="Access variable R|<local>/b|"];
187 [label="Function call: R|<local>/b|.R|/B.bar|()"];
169 [label="Exit function test_7" style="filled" fillcolor=red];
165 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_41 {
color=blue
167 [label="Enter block"];
168 [label="Access variable R|<local>/d1|"];
169 [label="Access variable R|/D.any|"];
170 [label="Variable declaration: lval a: R|kotlin/Any?|"];
171 [label="Access variable R|<local>/a|"];
172 [label="Type operator: (R|<local>/a| as R|A|)"];
173 [label="Access variable R|<local>/a|"];
174 [label="Function call: R|<local>/a|.R|/A.foo|()"];
175 [label="Access variable R|<local>/d1|"];
176 [label="Access variable R|/D.any|"];
177 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
178 [label="Access variable R|<local>/d1|"];
179 [label="Access variable R|/D.any|"];
180 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
181 [label="Exit block"];
}
166 [label="Exit function test_6" style="filled" fillcolor=red];
}
168 -> {170};
170 -> {171 172};
171 -> {173};
172 -> {174};
173 -> {172};
165 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176 177};
176 -> {178};
177 -> {179};
178 -> {177};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
181 -> {166};
subgraph cluster_42 {
color=red
182 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_43 {
color=blue
184 [label="Enter block"];
185 [label="Access variable R|<local>/d1|"];
186 [label="Enter safe call"];
188 [label="Access variable R|/D.any|"];
187 [label="Exit safe call"];
189 [label="Variable declaration: lval a: R|kotlin/Any?|"];
190 [label="Access variable R|<local>/d2|"];
191 [label="Enter safe call"];
193 [label="Access variable R|/D.any|"];
192 [label="Exit safe call"];
194 [label="Variable declaration: lval b: R|kotlin/Any?|"];
195 [label="Access variable R|<local>/a|"];
196 [label="Type operator: (R|<local>/a| as R|A|)"];
197 [label="Access variable R|<local>/a|"];
198 [label="Function call: R|<local>/a|.R|/A.foo|()"];
199 [label="Access variable R|<local>/b|"];
200 [label="Type operator: (R|<local>/b| as R|B|)"];
201 [label="Access variable R|<local>/b|"];
202 [label="Function call: R|<local>/b|.R|/B.bar|()"];
203 [label="Exit block"];
}
183 [label="Exit function test_7" style="filled" fillcolor=red];
}
182 -> {184};
184 -> {185};
185 -> {186};
186 -> {187};
187 -> {169};
185 -> {186 187};
186 -> {188};
187 -> {189};
188 -> {187};
189 -> {190};
190 -> {191 192};
191 -> {193};
192 -> {194};
193 -> {192};
194 -> {195};
195 -> {196};
196 -> {197};
197 -> {198};
198 -> {199};
199 -> {200};
200 -> {201};
201 -> {202};
202 -> {203};
203 -> {183};
}
@@ -14,10 +14,10 @@ digraph functionCallBound_kt {
subgraph cluster_1 {
color=red
3 [label="Enter class Base" style="filled" fillcolor=red];
4 [label="Exit class Base" style="filled" fillcolor=red];
4 [label="Enter class Base" style="filled" fillcolor=red];
3 [label="Exit class Base" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
4 -> {3} [color=green];
subgraph cluster_2 {
color=red
@@ -30,83 +30,94 @@ digraph functionCallBound_kt {
subgraph cluster_3 {
color=red
13 [label="Enter class Sub" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_4 {
color=red
14 [label="Enter class Sub" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/data|"];
11 [label="Exit property" style="filled" fillcolor=red];
}
14 [label="Exit class Sub" style="filled" fillcolor=red];
13 [label="Exit class Sub" style="filled" fillcolor=red];
}
13 -> {10} [color=green];
14 -> {10} [color=green];
10 -> {12};
11 -> {14} [color=green];
11 -> {13} [color=green];
12 -> {11};
8 -> {9};
subgraph cluster_6 {
color=red
15 [label="Enter function isOk" style="filled" fillcolor=red];
17 [label="Const: Boolean(true)"];
18 [label="Jump: ^isOk Boolean(true)"];
19 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_7 {
color=blue
17 [label="Enter block"];
18 [label="Const: Boolean(true)"];
19 [label="Jump: ^isOk Boolean(true)"];
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit block" style="filled" fillcolor=gray];
}
16 [label="Exit function isOk" style="filled" fillcolor=red];
}
15 -> {17};
17 -> {18};
18 -> {16};
18 -> {19} [style=dotted];
19 -> {16} [style=dotted];
18 -> {19};
19 -> {16};
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {16} [style=dotted];
subgraph cluster_7 {
subgraph cluster_8 {
color=red
20 [label="Enter function check" style="filled" fillcolor=red];
subgraph cluster_8 {
22 [label="Enter function check" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
22 [label="Enter when"];
subgraph cluster_9 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/base|"];
26 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
27 [label="Enter safe call"];
29 [label="Function call: $subj$.R|/isOk|()"];
28 [label="Exit safe call"];
30 [label="Const: Boolean(true)"];
31 [label="Operator =="];
32 [label="Exit when branch condition"];
}
24 [label="Enter block"];
subgraph cluster_10 {
color=blue
39 [label="Enter when branch condition else"];
40 [label="Exit when branch condition"];
25 [label="Enter when"];
subgraph cluster_11 {
color=blue
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/base|"];
29 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
30 [label="Enter safe call"];
32 [label="Function call: $subj$.R|/isOk|()"];
31 [label="Exit safe call"];
33 [label="Const: Boolean(true)"];
34 [label="Operator =="];
35 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
42 [label="Enter when branch condition else"];
43 [label="Exit when branch condition"];
}
44 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
45 [label="Enter block"];
46 [label="Access variable R|<local>/base|"];
47 [label="Exit block"];
}
48 [label="Exit when branch result"];
36 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/base|"];
39 [label="Access variable R|/Sub.data|"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
26 [label="Exit when"];
}
41 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
42 [label="Enter block"];
43 [label="Access variable R|<local>/base|"];
44 [label="Exit block"];
}
45 [label="Exit when branch result"];
33 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
34 [label="Enter block"];
35 [label="Access variable R|<local>/base|"];
36 [label="Access variable R|/Sub.data|"];
37 [label="Exit block"];
}
38 [label="Exit when branch result"];
23 [label="Exit when"];
}
46 [label="Jump: ^check when () {
49 [label="Jump: ^check when () {
==((R|<local>/base| as? R|Sub|)?.{ $subj$.R|/isOk|() }, Boolean(true)) -> {
R|<local>/base|.R|/Sub.data|
}
@@ -115,36 +126,40 @@ digraph functionCallBound_kt {
}
}
"];
47 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit function check" style="filled" fillcolor=red];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
}
23 [label="Exit function check" style="filled" fillcolor=red];
}
20 -> {22};
22 -> {24};
23 -> {46};
24 -> {25};
25 -> {26};
26 -> {27 28};
27 -> {29};
28 -> {30};
29 -> {28};
30 -> {31};
31 -> {32};
32 -> {33 39};
25 -> {27};
26 -> {49};
27 -> {28};
28 -> {29};
29 -> {30 31};
30 -> {32};
31 -> {33};
32 -> {31};
33 -> {34};
34 -> {35};
35 -> {36};
35 -> {36 42};
36 -> {37};
37 -> {38};
38 -> {23};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
41 -> {26};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {23};
46 -> {21};
46 -> {47} [style=dotted];
47 -> {21} [style=dotted];
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {26};
49 -> {23};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {23} [style=dotted];
}
@@ -6,362 +6,390 @@ digraph casts_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
2 [label="Access variable R|<local>/x|"];
3 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
4 [label="Access variable R|<local>/x|"];
5 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Access variable R|<local>/x|"];
4 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
5 [label="Access variable R|<local>/x|"];
6 [label="Access variable R|kotlin/String.length|"];
7 [label="Exit block"];
}
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {1};
5 -> {6};
6 -> {7};
7 -> {1};
subgraph cluster_1 {
subgraph cluster_2 {
color=red
6 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_2 {
8 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
8 [label="Enter when"];
subgraph cluster_3 {
color=blue
10 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/x|"];
12 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
13 [label="Exit when branch condition"];
}
20 [label="Synthetic else branch"];
14 [label="Enter when branch result"];
10 [label="Enter block"];
subgraph cluster_4 {
color=blue
15 [label="Enter block"];
16 [label="Access variable R|<local>/x|"];
17 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
18 [label="Exit block"];
11 [label="Enter when"];
subgraph cluster_5 {
color=blue
13 [label="Enter when branch condition "];
14 [label="Access variable R|<local>/x|"];
15 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
16 [label="Exit when branch condition"];
}
23 [label="Synthetic else branch"];
17 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/x|"];
20 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
12 [label="Exit when"];
}
19 [label="Exit when branch result"];
9 [label="Exit when"];
24 [label="Access variable R|<local>/x|"];
25 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
26 [label="Exit block"];
}
21 [label="Access variable R|<local>/x|"];
22 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
7 [label="Exit function test_2" style="filled" fillcolor=red];
9 [label="Exit function test_2" style="filled" fillcolor=red];
}
6 -> {8};
8 -> {10};
9 -> {21};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14 20};
11 -> {13};
12 -> {24};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
16 -> {17 23};
17 -> {18};
18 -> {19};
19 -> {9};
20 -> {9};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {7};
22 -> {12};
23 -> {12};
24 -> {25};
25 -> {26};
26 -> {9};
subgraph cluster_5 {
subgraph cluster_7 {
color=red
23 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_6 {
27 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
25 [label="Enter when"];
subgraph cluster_7 {
color=blue
27 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
29 [label="Enter &&"];
30 [label="Access variable R|<local>/b|"];
31 [label="Exit left part of &&"];
32 [label="Enter right part of &&"];
33 [label="Access variable R|<local>/x|"];
34 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
28 [label="Exit &&"];
}
35 [label="Exit when branch condition"];
}
42 [label="Synthetic else branch"];
36 [label="Enter when branch result"];
29 [label="Enter block"];
subgraph cluster_9 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
26 [label="Exit when"];
}
43 [label="Access variable R|<local>/x|"];
44 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_10 {
color=blue
45 [label="Enter when"];
subgraph cluster_11 {
color=blue
47 [label="Enter when branch condition "];
30 [label="Enter when"];
subgraph cluster_10 {
color=blue
32 [label="Enter when branch condition "];
subgraph cluster_11 {
color=blue
34 [label="Enter &&"];
35 [label="Access variable R|<local>/b|"];
36 [label="Exit left part of &&"];
37 [label="Enter right part of &&"];
38 [label="Access variable R|<local>/x|"];
39 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
33 [label="Exit &&"];
}
40 [label="Exit when branch condition"];
}
47 [label="Synthetic else branch"];
41 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
49 [label="Enter &&"];
50 [label="Access variable R|<local>/b|"];
51 [label="Exit left part of &&"];
52 [label="Enter right part of &&"];
53 [label="Access variable R|<local>/x|"];
54 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
55 [label="Const: Boolean(true)"];
56 [label="Operator =="];
48 [label="Exit &&"];
42 [label="Enter block"];
43 [label="Access variable R|<local>/x|"];
44 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
45 [label="Exit block"];
}
57 [label="Exit when branch condition"];
46 [label="Exit when branch result"];
31 [label="Exit when"];
}
64 [label="Synthetic else branch"];
58 [label="Enter when branch result"];
48 [label="Access variable R|<local>/x|"];
49 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_13 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/x|"];
61 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
62 [label="Exit block"];
}
63 [label="Exit when branch result"];
46 [label="Exit when"];
}
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_14 {
color=blue
67 [label="Enter when"];
subgraph cluster_15 {
color=blue
69 [label="Enter when branch condition "];
50 [label="Enter when"];
subgraph cluster_14 {
color=blue
52 [label="Enter when branch condition "];
subgraph cluster_15 {
color=blue
54 [label="Enter &&"];
55 [label="Access variable R|<local>/b|"];
56 [label="Exit left part of &&"];
57 [label="Enter right part of &&"];
58 [label="Access variable R|<local>/x|"];
59 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
60 [label="Const: Boolean(true)"];
61 [label="Operator =="];
53 [label="Exit &&"];
}
62 [label="Exit when branch condition"];
}
69 [label="Synthetic else branch"];
63 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
71 [label="Enter ||"];
72 [label="Access variable R|<local>/b|"];
73 [label="Exit left part of ||"];
74 [label="Enter right part of ||"];
75 [label="Access variable R|<local>/x|"];
76 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
70 [label="Exit ||"];
64 [label="Enter block"];
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
67 [label="Exit block"];
}
77 [label="Exit when branch condition"];
68 [label="Exit when branch result"];
51 [label="Exit when"];
}
84 [label="Synthetic else branch"];
78 [label="Enter when branch result"];
70 [label="Access variable R|<local>/x|"];
71 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_17 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/x|"];
81 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
82 [label="Exit block"];
72 [label="Enter when"];
subgraph cluster_18 {
color=blue
74 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
76 [label="Enter ||"];
77 [label="Access variable R|<local>/b|"];
78 [label="Exit left part of ||"];
79 [label="Enter right part of ||"];
80 [label="Access variable R|<local>/x|"];
81 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
75 [label="Exit ||"];
}
82 [label="Exit when branch condition"];
}
89 [label="Synthetic else branch"];
83 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
84 [label="Enter block"];
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
87 [label="Exit block"];
}
88 [label="Exit when branch result"];
73 [label="Exit when"];
}
83 [label="Exit when branch result"];
68 [label="Exit when"];
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
92 [label="Exit block"];
}
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
24 [label="Exit function test_3" style="filled" fillcolor=red];
28 [label="Exit function test_3" style="filled" fillcolor=red];
}
23 -> {25};
25 -> {27};
26 -> {43};
27 -> {29};
28 -> {35};
29 -> {30};
30 -> {31};
31 -> {28 32};
32 -> {33};
33 -> {34};
34 -> {28};
35 -> {36 42};
36 -> {37};
30 -> {32};
31 -> {48};
32 -> {34};
33 -> {40};
34 -> {35};
35 -> {36};
36 -> {33 37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {26};
42 -> {26};
39 -> {33};
40 -> {41 47};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {47};
46 -> {65};
47 -> {49};
48 -> {57};
45 -> {46};
46 -> {31};
47 -> {31};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {48 52};
52 -> {53};
53 -> {54};
50 -> {52};
51 -> {70};
52 -> {54};
53 -> {62};
54 -> {55};
55 -> {56};
56 -> {48};
57 -> {58 64};
56 -> {53 57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {46};
64 -> {46};
61 -> {53};
62 -> {63 69};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {69};
68 -> {85};
69 -> {71};
70 -> {77};
67 -> {68};
68 -> {51};
69 -> {51};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {70 74};
74 -> {75};
75 -> {76};
76 -> {70};
77 -> {78 84};
78 -> {79};
72 -> {74};
73 -> {90};
74 -> {76};
75 -> {82};
76 -> {77};
77 -> {78};
78 -> {75 79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {68};
84 -> {68};
81 -> {75};
82 -> {83 89};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {24};
86 -> {87};
87 -> {88};
88 -> {73};
89 -> {73};
90 -> {91};
91 -> {92};
92 -> {28};
subgraph cluster_18 {
subgraph cluster_21 {
color=red
87 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_19 {
93 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
89 [label="Enter when"];
subgraph cluster_20 {
color=blue
91 [label="Enter when branch condition "];
92 [label="Access variable R|<local>/b|"];
93 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
94 [label="Const: Null(null)"];
95 [label="Operator !="];
96 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
103 [label="Enter when branch condition else"];
104 [label="Exit when branch condition"];
}
105 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/b|"];
108 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
109 [label="Exit block"];
}
110 [label="Exit when branch result"];
97 [label="Enter when branch result"];
95 [label="Enter block"];
subgraph cluster_23 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/b|"];
100 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
101 [label="Exit block"];
96 [label="Enter when"];
subgraph cluster_24 {
color=blue
98 [label="Enter when branch condition "];
99 [label="Access variable R|<local>/b|"];
100 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
101 [label="Const: Null(null)"];
102 [label="Operator !="];
103 [label="Exit when branch condition"];
}
subgraph cluster_25 {
color=blue
110 [label="Enter when branch condition else"];
111 [label="Exit when branch condition"];
}
112 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/b|"];
115 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
116 [label="Exit block"];
}
117 [label="Exit when branch result"];
104 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
105 [label="Enter block"];
106 [label="Access variable R|<local>/b|"];
107 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
108 [label="Exit block"];
}
109 [label="Exit when branch result"];
97 [label="Exit when"];
}
102 [label="Exit when branch result"];
90 [label="Exit when"];
}
111 [label="Access variable R|<local>/b|"];
112 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
subgraph cluster_24 {
color=blue
113 [label="Enter when"];
subgraph cluster_25 {
color=blue
115 [label="Enter when branch condition "];
116 [label="Access variable R|<local>/b|"];
117 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
118 [label="Const: Null(null)"];
119 [label="Operator =="];
120 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
127 [label="Enter when branch condition else"];
128 [label="Exit when branch condition"];
}
129 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
130 [label="Enter block"];
131 [label="Access variable R|<local>/b|"];
132 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
121 [label="Enter when branch result"];
118 [label="Access variable R|<local>/b|"];
119 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
subgraph cluster_28 {
color=blue
122 [label="Enter block"];
123 [label="Access variable R|<local>/b|"];
124 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
125 [label="Exit block"];
120 [label="Enter when"];
subgraph cluster_29 {
color=blue
122 [label="Enter when branch condition "];
123 [label="Access variable R|<local>/b|"];
124 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
125 [label="Const: Null(null)"];
126 [label="Operator =="];
127 [label="Exit when branch condition"];
}
subgraph cluster_30 {
color=blue
134 [label="Enter when branch condition else"];
135 [label="Exit when branch condition"];
}
136 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
137 [label="Enter block"];
138 [label="Access variable R|<local>/b|"];
139 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
140 [label="Exit block"];
}
141 [label="Exit when branch result"];
128 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
129 [label="Enter block"];
130 [label="Access variable R|<local>/b|"];
131 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
132 [label="Exit block"];
}
133 [label="Exit when branch result"];
121 [label="Exit when"];
}
126 [label="Exit when branch result"];
114 [label="Exit when"];
142 [label="Access variable R|<local>/b|"];
143 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
144 [label="Exit block"];
}
135 [label="Access variable R|<local>/b|"];
136 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
88 [label="Exit function test_4" style="filled" fillcolor=red];
94 [label="Exit function test_4" style="filled" fillcolor=red];
}
87 -> {89};
89 -> {91};
90 -> {111};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
93 -> {95};
95 -> {96};
96 -> {97 103};
97 -> {98};
96 -> {98};
97 -> {118};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {90};
103 -> {104};
102 -> {103};
103 -> {104 110};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {90};
109 -> {97};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {115};
114 -> {135};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
117 -> {97};
118 -> {119};
119 -> {120};
120 -> {121 127};
121 -> {122};
120 -> {122};
121 -> {142};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {114};
127 -> {128};
126 -> {127};
127 -> {128 134};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {114};
133 -> {121};
134 -> {135};
135 -> {136};
136 -> {88};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {121};
142 -> {143};
143 -> {144};
144 -> {94};
}
@@ -12,211 +12,215 @@ digraph elvis_kt {
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];
2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red];
}
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
2 -> {3};
subgraph cluster_4 {
subgraph cluster_2 {
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 "];
subgraph cluster_7 {
color=blue
13 [label="Enter when"];
15 [label="Access variable R|<local>/x|"];
16 [label="Enter safe call"];
18 [label="Access variable R|/A.b|"];
17 [label="Exit safe call"];
19 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
subgraph cluster_8 {
color=blue
20 [label="Enter when branch condition "];
21 [label="Const: Null(null)"];
22 [label="Operator =="];
23 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
30 [label="Enter when branch condition else"];
31 [label="Exit when branch condition"];
}
32 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
33 [label="Enter block"];
34 [label="Access variable R|<local>/<elvis>|"];
35 [label="Exit block"];
}
36 [label="Exit when branch result"];
24 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
25 [label="Enter block"];
26 [label="Jump: ^test_1 Unit"];
27 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit block" style="filled" fillcolor=gray];
}
29 [label="Exit when branch result" style="filled" fillcolor=gray];
14 [label="Exit when"];
}
37 [label="Exit when branch condition"];
}
44 [label="Synthetic else branch"];
38 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/x|"];
41 [label="Function call: R|<local>/x|.R|/A.foo|()"];
42 [label="Exit block"];
}
43 [label="Exit when branch result"];
11 [label="Exit when"];
}
9 [label="Exit function test_1" style="filled" fillcolor=red];
5 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {12};
11 -> {9};
12 -> {13};
13 -> {15};
14 -> {37};
15 -> {16 17};
5 -> {4} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
9 [label="Enter when"];
subgraph cluster_6 {
color=blue
11 [label="Enter when branch condition "];
subgraph cluster_7 {
color=blue
12 [label="Enter when"];
14 [label="Access variable R|<local>/x|"];
15 [label="Enter safe call"];
17 [label="Access variable R|/A.b|"];
16 [label="Exit safe call"];
18 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
subgraph cluster_8 {
color=blue
19 [label="Enter when branch condition "];
20 [label="Const: Null(null)"];
21 [label="Operator =="];
22 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
29 [label="Enter when branch condition else"];
30 [label="Exit when branch condition"];
}
31 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
32 [label="Enter block"];
33 [label="Access variable R|<local>/<elvis>|"];
34 [label="Exit block"];
}
35 [label="Exit when branch result"];
23 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
24 [label="Enter block"];
25 [label="Jump: ^test_1 Unit"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit block" style="filled" fillcolor=gray];
}
28 [label="Exit when branch result" style="filled" fillcolor=gray];
13 [label="Exit when"];
}
36 [label="Exit when branch condition"];
}
43 [label="Synthetic else branch"];
37 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
38 [label="Enter block"];
39 [label="Access variable R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|/A.foo|()"];
41 [label="Exit block"];
}
42 [label="Exit when branch result"];
10 [label="Exit when"];
}
44 [label="Exit block"];
}
7 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {8};
8 -> {9};
9 -> {11};
10 -> {44};
11 -> {12};
12 -> {14};
13 -> {36};
14 -> {15 16};
15 -> {17};
16 -> {18};
17 -> {19};
18 -> {17};
17 -> {16};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24 30};
22 -> {23 29};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {9};
25 -> {7};
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {14} [style=dotted];
28 -> {13} [style=dotted];
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {14};
37 -> {38 44};
35 -> {13};
36 -> {37 43};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {11};
44 -> {11};
42 -> {10};
43 -> {10};
44 -> {7};
subgraph cluster_13 {
color=red
45 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
47 [label="Enter when"];
47 [label="Enter block"];
subgraph cluster_15 {
color=blue
49 [label="Enter when branch condition "];
50 [label="Access variable R|<local>/b|"];
51 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
52 [label="Exit when branch condition"];
48 [label="Enter when"];
subgraph cluster_16 {
color=blue
50 [label="Enter when branch condition "];
51 [label="Access variable R|<local>/b|"];
52 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
53 [label="Exit when branch condition"];
}
61 [label="Synthetic else branch"];
54 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
55 [label="Enter block"];
56 [label="Const: String()"];
57 [label="Jump: ^test2 String()"];
58 [label="Stub" style="filled" fillcolor=gray];
59 [label="Exit block" style="filled" fillcolor=gray];
}
60 [label="Exit when branch result" style="filled" fillcolor=gray];
49 [label="Exit when"];
}
60 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
54 [label="Enter block"];
55 [label="Const: String()"];
56 [label="Jump: ^test2 String()"];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit block" style="filled" fillcolor=gray];
}
59 [label="Exit when branch result" style="filled" fillcolor=gray];
48 [label="Exit when"];
}
subgraph cluster_17 {
color=blue
61 [label="Enter when"];
subgraph cluster_18 {
color=blue
63 [label="Enter when branch condition "];
64 [label="Access variable R|<local>/a|"];
65 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
66 [label="Exit when branch condition"];
62 [label="Enter when"];
subgraph cluster_19 {
color=blue
64 [label="Enter when branch condition "];
65 [label="Access variable R|<local>/a|"];
66 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
67 [label="Exit when branch condition"];
}
75 [label="Synthetic else branch"];
68 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
69 [label="Enter block"];
70 [label="Const: String()"];
71 [label="Jump: ^test2 String()"];
72 [label="Stub" style="filled" fillcolor=gray];
73 [label="Exit block" style="filled" fillcolor=gray];
}
74 [label="Exit when branch result" style="filled" fillcolor=gray];
63 [label="Exit when"];
}
74 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
68 [label="Enter block"];
69 [label="Const: String()"];
70 [label="Jump: ^test2 String()"];
71 [label="Stub" style="filled" fillcolor=gray];
72 [label="Exit block" style="filled" fillcolor=gray];
}
73 [label="Exit when branch result" style="filled" fillcolor=gray];
62 [label="Exit when"];
}
subgraph cluster_20 {
color=blue
75 [label="Enter when"];
77 [label="Access variable R|<local>/a|"];
78 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
subgraph cluster_21 {
color=blue
79 [label="Enter when branch condition "];
80 [label="Const: Null(null)"];
81 [label="Operator =="];
82 [label="Exit when branch condition"];
76 [label="Enter when"];
78 [label="Access variable R|<local>/a|"];
79 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
subgraph cluster_22 {
color=blue
80 [label="Enter when branch condition "];
81 [label="Const: Null(null)"];
82 [label="Operator =="];
83 [label="Exit when branch condition"];
}
subgraph cluster_23 {
color=blue
89 [label="Enter when branch condition else"];
90 [label="Exit when branch condition"];
}
91 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
92 [label="Enter block"];
93 [label="Access variable R|<local>/<elvis>|"];
94 [label="Exit block"];
}
95 [label="Exit when branch result"];
84 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
85 [label="Enter block"];
86 [label="Access variable R|<local>/b|"];
87 [label="Exit block"];
}
88 [label="Exit when branch result"];
77 [label="Exit when"];
}
subgraph cluster_22 {
color=blue
88 [label="Enter when branch condition else"];
89 [label="Exit when branch condition"];
}
90 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
91 [label="Enter block"];
92 [label="Access variable R|<local>/<elvis>|"];
93 [label="Exit block"];
}
94 [label="Exit when branch result"];
83 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
84 [label="Enter block"];
85 [label="Access variable R|<local>/b|"];
86 [label="Exit block"];
}
87 [label="Exit when branch result"];
76 [label="Exit when"];
}
95 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
96 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
==($subj$, Null(null)) -> {
R|<local>/b|
}
@@ -225,62 +229,66 @@ digraph elvis_kt {
}
}
"];
96 [label="Stub" style="filled" fillcolor=gray];
97 [label="Stub" style="filled" fillcolor=gray];
98 [label="Exit block" style="filled" fillcolor=gray];
}
46 [label="Exit function test2" style="filled" fillcolor=red];
}
45 -> {47};
47 -> {49};
48 -> {61};
49 -> {50};
47 -> {48};
48 -> {50};
49 -> {62};
50 -> {51};
51 -> {52};
52 -> {53 60};
53 -> {54};
52 -> {53};
53 -> {54 61};
54 -> {55};
55 -> {56};
56 -> {46};
56 -> {57} [style=dotted];
56 -> {57};
57 -> {46};
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
59 -> {48} [style=dotted];
60 -> {48};
61 -> {63};
62 -> {75};
63 -> {64};
59 -> {60} [style=dotted];
60 -> {49} [style=dotted];
61 -> {49};
62 -> {64};
63 -> {76};
64 -> {65};
65 -> {66};
66 -> {67 74};
67 -> {68};
66 -> {67};
67 -> {68 75};
68 -> {69};
69 -> {70};
70 -> {46};
70 -> {71} [style=dotted];
70 -> {71};
71 -> {46};
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {62} [style=dotted];
74 -> {62};
75 -> {77};
76 -> {95};
77 -> {78};
73 -> {74} [style=dotted];
74 -> {63} [style=dotted];
75 -> {63};
76 -> {78};
77 -> {96};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83 88};
83 -> {84};
82 -> {83};
83 -> {84 89};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {76};
88 -> {89};
87 -> {88};
88 -> {77};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {76};
95 -> {46};
95 -> {96} [style=dotted];
96 -> {46} [style=dotted];
94 -> {95};
95 -> {77};
96 -> {46};
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {46} [style=dotted];
}
@@ -8,481 +8,530 @@ digraph returns_kt {
0 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter when"];
2 [label="Enter block"];
subgraph cluster_2 {
color=blue
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/x|"];
6 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
7 [label="Exit when branch condition"];
3 [label="Enter when"];
subgraph cluster_3 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"];
7 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
8 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
15 [label="Enter when branch condition else"];
16 [label="Exit when branch condition"];
}
17 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
18 [label="Enter block"];
19 [label="Exit block"];
}
20 [label="Exit when branch result"];
9 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
10 [label="Enter block"];
11 [label="Access variable R|<local>/x|"];
12 [label="Access variable R|kotlin/String.length|"];
13 [label="Exit block"];
}
14 [label="Exit when branch result"];
4 [label="Exit when"];
}
subgraph cluster_3 {
color=blue
14 [label="Enter when branch condition else"];
15 [label="Exit when branch condition"];
}
16 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
17 [label="Enter block"];
18 [label="Exit block"];
}
19 [label="Exit when branch result"];
8 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|kotlin/String.length|"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
3 [label="Exit when"];
21 [label="Access variable R|<local>/x|"];
22 [label="Access variable <Unresolved name: length>#"];
23 [label="Exit block"];
}
20 [label="Access variable R|<local>/x|"];
21 [label="Access variable <Unresolved name: length>#"];
1 [label="Exit function test_0" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {4};
3 -> {20};
4 -> {5};
2 -> {3};
3 -> {5};
4 -> {21};
5 -> {6};
6 -> {7};
7 -> {8 14};
8 -> {9};
7 -> {8};
8 -> {9 15};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {3};
14 -> {15};
13 -> {14};
14 -> {4};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {3};
20 -> {21};
21 -> {1};
19 -> {20};
20 -> {4};
21 -> {22};
22 -> {23};
23 -> {1};
subgraph cluster_6 {
subgraph cluster_7 {
color=red
22 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
24 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
24 [label="Enter when"];
subgraph cluster_8 {
color=blue
26 [label="Enter when branch condition "];
27 [label="Access variable R|<local>/x|"];
28 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
29 [label="Exit when branch condition"];
}
26 [label="Enter block"];
subgraph cluster_9 {
color=blue
36 [label="Enter when branch condition else"];
37 [label="Exit when branch condition"];
27 [label="Enter when"];
subgraph cluster_10 {
color=blue
29 [label="Enter when branch condition "];
30 [label="Access variable R|<local>/x|"];
31 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
32 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
39 [label="Enter when branch condition else"];
40 [label="Exit when branch condition"];
}
41 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
42 [label="Enter block"];
43 [label="Jump: ^test_1 Unit"];
44 [label="Stub" style="filled" fillcolor=gray];
45 [label="Exit block" style="filled" fillcolor=gray];
}
46 [label="Exit when branch result" style="filled" fillcolor=gray];
33 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
34 [label="Enter block"];
35 [label="Access variable R|<local>/x|"];
36 [label="Access variable R|kotlin/String.length|"];
37 [label="Exit block"];
}
38 [label="Exit when branch result"];
28 [label="Exit when"];
}
38 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
39 [label="Enter block"];
40 [label="Jump: ^test_1 Unit"];
41 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit block" style="filled" fillcolor=gray];
}
43 [label="Exit when branch result" style="filled" fillcolor=gray];
30 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/x|"];
33 [label="Access variable R|kotlin/String.length|"];
34 [label="Exit block"];
}
35 [label="Exit when branch result"];
25 [label="Exit when"];
47 [label="Access variable R|<local>/x|"];
48 [label="Access variable R|kotlin/String.length|"];
49 [label="Exit block"];
}
44 [label="Access variable R|<local>/x|"];
45 [label="Access variable R|kotlin/String.length|"];
23 [label="Exit function test_1" style="filled" fillcolor=red];
25 [label="Exit function test_1" style="filled" fillcolor=red];
}
22 -> {24};
24 -> {26};
25 -> {44};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30 36};
27 -> {29};
28 -> {47};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
32 -> {33 39};
33 -> {34};
34 -> {35};
35 -> {25};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
38 -> {28};
39 -> {40};
40 -> {23};
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
42 -> {43} [style=dotted];
43 -> {25} [style=dotted];
44 -> {45};
45 -> {23};
subgraph cluster_12 {
color=red
46 [label="Enter function foo" style="filled" fillcolor=red];
47 [label="Exit function foo" style="filled" fillcolor=red];
}
46 -> {47};
subgraph cluster_13 {
color=red
48 [label="Enter class A" style="filled" fillcolor=red];
49 [label="Exit class A" style="filled" fillcolor=red];
}
48 -> {49} [color=green];
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {25};
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
45 -> {46} [style=dotted];
46 -> {28} [style=dotted];
47 -> {48};
48 -> {49};
49 -> {25};
subgraph cluster_14 {
color=red
50 [label="Enter function bar" style="filled" fillcolor=red];
51 [label="Exit function bar" style="filled" fillcolor=red];
50 [label="Enter function foo" style="filled" fillcolor=red];
51 [label="Exit function foo" style="filled" fillcolor=red];
}
50 -> {51};
subgraph cluster_15 {
color=red
52 [label="Enter class B" style="filled" fillcolor=red];
53 [label="Exit class B" style="filled" fillcolor=red];
53 [label="Enter class A" style="filled" fillcolor=red];
52 [label="Exit class A" style="filled" fillcolor=red];
}
52 -> {53} [color=green];
53 -> {52} [color=green];
subgraph cluster_16 {
color=red
54 [label="Enter function baz" style="filled" fillcolor=red];
55 [label="Exit function baz" style="filled" fillcolor=red];
54 [label="Enter function bar" style="filled" fillcolor=red];
55 [label="Exit function bar" style="filled" fillcolor=red];
}
54 -> {55};
subgraph cluster_17 {
color=red
56 [label="Enter class C" style="filled" fillcolor=red];
57 [label="Exit class C" style="filled" fillcolor=red];
57 [label="Enter class B" style="filled" fillcolor=red];
56 [label="Exit class B" style="filled" fillcolor=red];
}
56 -> {57} [color=green];
57 -> {56} [color=green];
subgraph cluster_18 {
color=red
58 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_19 {
58 [label="Enter function baz" style="filled" fillcolor=red];
59 [label="Exit function baz" style="filled" fillcolor=red];
}
58 -> {59};
subgraph cluster_19 {
color=red
61 [label="Enter class C" style="filled" fillcolor=red];
60 [label="Exit class C" style="filled" fillcolor=red];
}
61 -> {60} [color=green];
subgraph cluster_20 {
color=red
62 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
60 [label="Enter when"];
subgraph cluster_20 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/x|"];
64 [label="Type operator: (R|<local>/x| is R|B|)"];
65 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
72 [label="Enter when branch condition "];
73 [label="Access variable R|<local>/x|"];
74 [label="Type operator: (R|<local>/x| is R|C|)"];
75 [label="Exit when branch condition"];
}
64 [label="Enter block"];
subgraph cluster_22 {
color=blue
82 [label="Enter when branch condition else"];
83 [label="Exit when branch condition"];
65 [label="Enter when"];
subgraph cluster_23 {
color=blue
67 [label="Enter when branch condition "];
68 [label="Access variable R|<local>/x|"];
69 [label="Type operator: (R|<local>/x| is R|B|)"];
70 [label="Exit when branch condition"];
}
subgraph cluster_24 {
color=blue
77 [label="Enter when branch condition "];
78 [label="Access variable R|<local>/x|"];
79 [label="Type operator: (R|<local>/x| is R|C|)"];
80 [label="Exit when branch condition"];
}
subgraph cluster_25 {
color=blue
87 [label="Enter when branch condition else"];
88 [label="Exit when branch condition"];
}
89 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
90 [label="Enter block"];
91 [label="Jump: ^test_2 Unit"];
92 [label="Stub" style="filled" fillcolor=gray];
93 [label="Exit block" style="filled" fillcolor=gray];
}
94 [label="Exit when branch result" style="filled" fillcolor=gray];
81 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
82 [label="Enter block"];
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|/C.baz|()"];
85 [label="Exit block"];
}
86 [label="Exit when branch result"];
71 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|/B.bar|()"];
75 [label="Exit block"];
}
76 [label="Exit when branch result"];
66 [label="Exit when"];
}
84 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
85 [label="Enter block"];
86 [label="Jump: ^test_2 Unit"];
87 [label="Stub" style="filled" fillcolor=gray];
88 [label="Exit block" style="filled" fillcolor=gray];
}
89 [label="Exit when branch result" style="filled" fillcolor=gray];
76 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
77 [label="Enter block"];
78 [label="Access variable R|<local>/x|"];
79 [label="Function call: R|<local>/x|.R|/C.baz|()"];
80 [label="Exit block"];
}
81 [label="Exit when branch result"];
66 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Function call: R|<local>/x|.R|/B.bar|()"];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
61 [label="Exit when"];
95 [label="Access variable R|<local>/x|"];
96 [label="Function call: R|<local>/x|.R|/A.foo|()"];
97 [label="Access variable R|<local>/x|"];
98 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
99 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
101 [label="Exit block"];
}
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.R|/A.foo|()"];
92 [label="Access variable R|<local>/x|"];
93 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
94 [label="Access variable R|<local>/x|"];
95 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
59 [label="Exit function test_2" style="filled" fillcolor=red];
63 [label="Exit function test_2" style="filled" fillcolor=red];
}
58 -> {60};
60 -> {62};
61 -> {90};
62 -> {63};
63 -> {64};
62 -> {64};
64 -> {65};
65 -> {66 72};
66 -> {67};
65 -> {67};
66 -> {95};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {61};
70 -> {71 77};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76 82};
76 -> {77};
75 -> {76};
76 -> {66};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {61};
80 -> {81 87};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {59};
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {61} [style=dotted];
86 -> {66};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {59};
91 -> {63};
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {94} [style=dotted];
94 -> {66} [style=dotted];
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {63};
subgraph cluster_26 {
subgraph cluster_29 {
color=red
96 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_27 {
102 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
98 [label="Enter when"];
subgraph cluster_28 {
color=blue
100 [label="Enter when branch condition "];
101 [label="Access variable R|<local>/x|"];
102 [label="Type operator: (R|<local>/x| is R|B|)"];
103 [label="Exit when branch condition"];
}
subgraph cluster_29 {
color=blue
110 [label="Enter when branch condition "];
111 [label="Access variable R|<local>/x|"];
112 [label="Type operator: (R|<local>/x| is R|C|)"];
113 [label="Exit when branch condition"];
}
120 [label="Synthetic else branch"];
114 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
115 [label="Enter block"];
116 [label="Access variable R|<local>/x|"];
117 [label="Function call: R|<local>/x|.R|/C.baz|()"];
118 [label="Exit block"];
}
119 [label="Exit when branch result"];
104 [label="Enter when branch result"];
104 [label="Enter block"];
subgraph cluster_31 {
color=blue
105 [label="Enter block"];
106 [label="Access variable R|<local>/x|"];
107 [label="Function call: R|<local>/x|.R|/B.bar|()"];
108 [label="Exit block"];
105 [label="Enter when"];
subgraph cluster_32 {
color=blue
107 [label="Enter when branch condition "];
108 [label="Access variable R|<local>/x|"];
109 [label="Type operator: (R|<local>/x| is R|B|)"];
110 [label="Exit when branch condition"];
}
subgraph cluster_33 {
color=blue
117 [label="Enter when branch condition "];
118 [label="Access variable R|<local>/x|"];
119 [label="Type operator: (R|<local>/x| is R|C|)"];
120 [label="Exit when branch condition"];
}
127 [label="Synthetic else branch"];
121 [label="Enter when branch result"];
subgraph cluster_34 {
color=blue
122 [label="Enter block"];
123 [label="Access variable R|<local>/x|"];
124 [label="Function call: R|<local>/x|.R|/C.baz|()"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
111 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
112 [label="Enter block"];
113 [label="Access variable R|<local>/x|"];
114 [label="Function call: R|<local>/x|.R|/B.bar|()"];
115 [label="Exit block"];
}
116 [label="Exit when branch result"];
106 [label="Exit when"];
}
109 [label="Exit when branch result"];
99 [label="Exit when"];
128 [label="Access variable R|<local>/x|"];
129 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
130 [label="Access variable R|<local>/x|"];
131 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
132 [label="Access variable R|<local>/x|"];
133 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
134 [label="Exit block"];
}
121 [label="Access variable R|<local>/x|"];
122 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
123 [label="Access variable R|<local>/x|"];
124 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
125 [label="Access variable R|<local>/x|"];
126 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
97 [label="Exit function test_3" style="filled" fillcolor=red];
103 [label="Exit function test_3" style="filled" fillcolor=red];
}
96 -> {98};
98 -> {100};
99 -> {121};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104 110};
102 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
105 -> {107};
106 -> {128};
107 -> {108};
108 -> {109};
109 -> {99};
110 -> {111};
109 -> {110};
110 -> {111 117};
111 -> {112};
112 -> {113};
113 -> {114 120};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
116 -> {106};
117 -> {118};
118 -> {119};
119 -> {99};
120 -> {99};
119 -> {120};
120 -> {121 127};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {97};
subgraph cluster_32 {
color=red
127 [label="Enter function runHigherOrder" style="filled" fillcolor=red];
129 [label="Function call: R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
130 [label="Jump: ^runHigherOrder R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
131 [label="Stub" style="filled" fillcolor=gray];
128 [label="Exit function runHigherOrder" style="filled" fillcolor=red];
}
127 -> {129};
126 -> {106};
127 -> {106};
128 -> {129};
129 -> {130};
130 -> {128};
130 -> {131} [style=dotted];
131 -> {128} [style=dotted];
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {103};
subgraph cluster_33 {
subgraph cluster_36 {
color=red
137 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_34 {
135 [label="Enter function runHigherOrder" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
132 [label="Enter function getter" style="filled" fillcolor=red];
134 [label="Access variable R|kotlin/String.length|"];
135 [label="Jump: ^ this@R|/ext|.R|kotlin/String.length|"];
136 [label="Stub" style="filled" fillcolor=gray];
133 [label="Exit function getter" style="filled" fillcolor=red];
137 [label="Enter block"];
138 [label="Function call: R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
139 [label="Jump: ^runHigherOrder R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
140 [label="Stub" style="filled" fillcolor=gray];
141 [label="Exit block" style="filled" fillcolor=gray];
}
138 [label="Exit property" style="filled" fillcolor=red];
136 [label="Exit function runHigherOrder" style="filled" fillcolor=red];
}
135 -> {137};
137 -> {138};
132 -> {134};
134 -> {135};
135 -> {133};
135 -> {136} [style=dotted];
136 -> {133} [style=dotted];
138 -> {139};
139 -> {136};
139 -> {140} [style=dotted];
140 -> {141} [style=dotted];
141 -> {136} [style=dotted];
subgraph cluster_35 {
subgraph cluster_38 {
color=red
139 [label="Enter function test_4" style="filled" fillcolor=red];
141 [label="Access variable R|<local>/a|"];
142 [label="Type operator: (R|<local>/a| as? R|kotlin/String|)"];
143 [label="Variable declaration: lval s: R|kotlin/String?|"];
subgraph cluster_36 {
142 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
144 [label="Enter when"];
146 [label="Access variable R|<local>/s|"];
147 [label="Enter safe call"];
149 [label="Access variable R|/ext|"];
148 [label="Exit safe call"];
150 [label="Variable declaration: lval <elvis>: R|kotlin/Int?|"];
subgraph cluster_37 {
color=blue
151 [label="Enter when branch condition "];
152 [label="Const: Null(null)"];
153 [label="Operator =="];
154 [label="Exit when branch condition"];
}
subgraph cluster_38 {
color=blue
161 [label="Enter when branch condition else"];
162 [label="Exit when branch condition"];
}
163 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
164 [label="Enter block"];
165 [label="Access variable R|<local>/<elvis>|"];
166 [label="Exit block"];
}
167 [label="Exit when branch result"];
155 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
156 [label="Enter block"];
157 [label="Jump: ^test_4 Unit"];
158 [label="Stub" style="filled" fillcolor=gray];
159 [label="Exit block" style="filled" fillcolor=gray];
}
160 [label="Exit when branch result" style="filled" fillcolor=gray];
145 [label="Exit when"];
144 [label="Enter block"];
145 [label="Access variable R|kotlin/String.length|"];
146 [label="Jump: ^ this@R|/ext|.R|kotlin/String.length|"];
147 [label="Stub" style="filled" fillcolor=gray];
148 [label="Exit block" style="filled" fillcolor=gray];
}
168 [label="Variable declaration: lval length: R|kotlin/Int|"];
169 [label="Postponed enter to lambda"];
143 [label="Exit function getter" style="filled" fillcolor=red];
}
142 -> {144};
144 -> {145};
145 -> {146};
146 -> {143};
146 -> {147} [style=dotted];
147 -> {148} [style=dotted];
148 -> {143} [style=dotted];
subgraph cluster_40 {
color=red
149 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_41 {
color=blue
172 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
174 [label="Access variable R|<local>/s|"];
175 [label="Access variable R|kotlin/String.length|"];
173 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
151 [label="Enter block"];
152 [label="Access variable R|<local>/a|"];
153 [label="Type operator: (R|<local>/a| as? R|kotlin/String|)"];
154 [label="Variable declaration: lval s: R|kotlin/String?|"];
subgraph cluster_42 {
color=blue
155 [label="Enter when"];
157 [label="Access variable R|<local>/s|"];
158 [label="Enter safe call"];
160 [label="Access variable R|/ext|"];
159 [label="Exit safe call"];
161 [label="Variable declaration: lval <elvis>: R|kotlin/Int?|"];
subgraph cluster_43 {
color=blue
162 [label="Enter when branch condition "];
163 [label="Const: Null(null)"];
164 [label="Operator =="];
165 [label="Exit when branch condition"];
}
subgraph cluster_44 {
color=blue
172 [label="Enter when branch condition else"];
173 [label="Exit when branch condition"];
}
174 [label="Enter when branch result"];
subgraph cluster_45 {
color=blue
175 [label="Enter block"];
176 [label="Access variable R|<local>/<elvis>|"];
177 [label="Exit block"];
}
178 [label="Exit when branch result"];
166 [label="Enter when branch result"];
subgraph cluster_46 {
color=blue
167 [label="Enter block"];
168 [label="Jump: ^test_4 Unit"];
169 [label="Stub" style="filled" fillcolor=gray];
170 [label="Exit block" style="filled" fillcolor=gray];
}
171 [label="Exit when branch result" style="filled" fillcolor=gray];
156 [label="Exit when"];
}
179 [label="Variable declaration: lval length: R|kotlin/Int|"];
180 [label="Postponed enter to lambda"];
subgraph cluster_47 {
color=blue
184 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_48 {
color=blue
186 [label="Enter block"];
187 [label="Access variable R|<local>/s|"];
188 [label="Access variable R|kotlin/String.length|"];
189 [label="Exit block"];
}
185 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
181 [label="Postponed exit from lambda"];
182 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)"];
183 [label="Exit block"];
}
170 [label="Postponed exit from lambda"];
171 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)"];
140 [label="Exit function test_4" style="filled" fillcolor=red];
150 [label="Exit function test_4" style="filled" fillcolor=red];
}
139 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {146};
145 -> {168};
146 -> {147 148};
147 -> {149};
148 -> {150};
149 -> {148};
150 -> {151};
149 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155 161};
155 -> {156};
156 -> {157};
157 -> {140};
157 -> {158} [style=dotted];
158 -> {159} [style=dotted];
159 -> {160} [style=dotted];
160 -> {145} [style=dotted];
154 -> {155};
155 -> {157};
156 -> {179};
157 -> {158 159};
158 -> {160};
159 -> {161};
160 -> {159};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
165 -> {166 172};
166 -> {167};
167 -> {145};
168 -> {169};
169 -> {170};
169 -> {172} [color=red];
170 -> {171};
171 -> {140};
172 -> {174};
167 -> {168};
168 -> {150};
168 -> {169} [style=dotted];
169 -> {170} [style=dotted];
170 -> {171} [style=dotted];
171 -> {156} [style=dotted];
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {173};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {156};
179 -> {180};
180 -> {181 184};
181 -> {182};
182 -> {183};
183 -> {150};
184 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {185};
}
@@ -8,179 +8,200 @@ digraph simpleIf_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter when"];
2 [label="Enter block"];
subgraph cluster_2 {
color=blue
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/x|"];
6 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
7 [label="Exit when branch condition"];
3 [label="Enter when"];
subgraph cluster_3 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"];
7 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
8 [label="Exit when branch condition"];
}
15 [label="Synthetic else branch"];
9 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Access variable R|<local>/x|"];
12 [label="Access variable R|kotlin/String.length|"];
13 [label="Exit block"];
}
14 [label="Exit when branch result"];
4 [label="Exit when"];
}
14 [label="Synthetic else branch"];
8 [label="Enter when branch result"];
subgraph cluster_3 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|kotlin/String.length|"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
3 [label="Exit when"];
16 [label="Access variable R|<local>/x|"];
17 [label="Access variable <Unresolved name: length>#"];
18 [label="Exit block"];
}
15 [label="Access variable R|<local>/x|"];
16 [label="Access variable <Unresolved name: length>#"];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {4};
3 -> {15};
4 -> {5};
2 -> {3};
3 -> {5};
4 -> {16};
5 -> {6};
6 -> {7};
7 -> {8 14};
8 -> {9};
7 -> {8};
8 -> {9 15};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {3};
14 -> {3};
15 -> {16};
16 -> {1};
13 -> {14};
14 -> {4};
15 -> {4};
16 -> {17};
17 -> {18};
18 -> {1};
subgraph cluster_4 {
subgraph cluster_5 {
color=red
17 [label="Enter function test_2" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/x|"];
20 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
21 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
subgraph cluster_5 {
19 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
22 [label="Enter when"];
subgraph cluster_6 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/b|"];
26 [label="Exit when branch condition"];
}
33 [label="Synthetic else branch"];
27 [label="Enter when branch result"];
21 [label="Enter block"];
22 [label="Access variable R|<local>/x|"];
23 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
24 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
subgraph cluster_7 {
color=blue
28 [label="Enter block"];
29 [label="Access variable R|<local>/x|"];
30 [label="Access variable R|kotlin/String.length|"];
31 [label="Exit block"];
25 [label="Enter when"];
subgraph cluster_8 {
color=blue
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/b|"];
29 [label="Exit when branch condition"];
}
36 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/x|"];
33 [label="Access variable R|kotlin/String.length|"];
34 [label="Exit block"];
}
35 [label="Exit when branch result"];
26 [label="Exit when"];
}
32 [label="Exit when branch result"];
23 [label="Exit when"];
37 [label="Access variable R|<local>/x|"];
38 [label="Access variable <Unresolved name: length>#"];
39 [label="Exit block"];
}
34 [label="Access variable R|<local>/x|"];
35 [label="Access variable <Unresolved name: length>#"];
18 [label="Exit function test_2" style="filled" fillcolor=red];
20 [label="Exit function test_2" style="filled" fillcolor=red];
}
17 -> {19};
19 -> {20};
20 -> {21};
19 -> {21};
21 -> {22};
22 -> {24};
23 -> {34};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27 33};
25 -> {27};
26 -> {37};
27 -> {28};
28 -> {29};
29 -> {30};
29 -> {30 36};
30 -> {31};
31 -> {32};
32 -> {23};
33 -> {23};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {18};
35 -> {26};
36 -> {26};
37 -> {38};
38 -> {39};
39 -> {20};
subgraph cluster_8 {
subgraph cluster_10 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
40 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
38 [label="Enter when"];
subgraph cluster_10 {
color=blue
40 [label="Enter when branch condition "];
41 [label="Access variable R|<local>/x|"];
42 [label="Type operator: (R|<local>/x| !is R|kotlin/String|)"];
43 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/x|"];
50 [label="Type operator: (R|<local>/x| !is R|kotlin/Int|)"];
51 [label="Exit when branch condition"];
}
42 [label="Enter block"];
subgraph cluster_12 {
color=blue
56 [label="Enter when branch condition else"];
57 [label="Exit when branch condition"];
43 [label="Enter when"];
subgraph cluster_13 {
color=blue
45 [label="Enter when branch condition "];
46 [label="Access variable R|<local>/x|"];
47 [label="Type operator: (R|<local>/x| !is R|kotlin/String|)"];
48 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
53 [label="Enter when branch condition "];
54 [label="Access variable R|<local>/x|"];
55 [label="Type operator: (R|<local>/x| !is R|kotlin/Int|)"];
56 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
61 [label="Enter when branch condition else"];
62 [label="Exit when branch condition"];
}
63 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/x|"];
66 [label="Access variable R|kotlin/String.length|"];
67 [label="Access variable R|<local>/x|"];
68 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
69 [label="Exit block"];
}
70 [label="Exit when branch result"];
57 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
58 [label="Enter block"];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
49 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
50 [label="Enter block"];
51 [label="Exit block"];
}
52 [label="Exit when branch result"];
44 [label="Exit when"];
}
58 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/x|"];
61 [label="Access variable R|kotlin/String.length|"];
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
52 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
53 [label="Enter block"];
54 [label="Exit block"];
}
55 [label="Exit when branch result"];
44 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
45 [label="Enter block"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
39 [label="Exit when"];
71 [label="Exit block"];
}
37 [label="Exit function test_3" style="filled" fillcolor=red];
41 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {38};
38 -> {40};
39 -> {37};
40 -> {41};
41 -> {42};
40 -> {42};
42 -> {43};
43 -> {44 48};
44 -> {45};
43 -> {45};
44 -> {71};
45 -> {46};
46 -> {47};
47 -> {39};
48 -> {49};
47 -> {48};
48 -> {49 53};
49 -> {50};
50 -> {51};
51 -> {52 56};
52 -> {53};
51 -> {52};
52 -> {44};
53 -> {54};
54 -> {55};
55 -> {39};
56 -> {57};
55 -> {56};
56 -> {57 61};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
60 -> {44};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {39};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {44};
71 -> {41};
}
@@ -12,123 +12,137 @@ digraph smartcastFromArgument_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter function takeA" style="filled" fillcolor=red];
6 [label="Const: Boolean(true)"];
7 [label="Jump: ^takeA Boolean(true)"];
8 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_3 {
color=blue
6 [label="Enter block"];
7 [label="Const: Boolean(true)"];
8 [label="Jump: ^takeA Boolean(true)"];
9 [label="Stub" style="filled" fillcolor=gray];
10 [label="Exit block" style="filled" fillcolor=gray];
}
5 [label="Exit function takeA" style="filled" fillcolor=red];
}
4 -> {6};
6 -> {7};
7 -> {5};
7 -> {8} [style=dotted];
8 -> {5} [style=dotted];
7 -> {8};
8 -> {5};
8 -> {9} [style=dotted];
9 -> {10} [style=dotted];
10 -> {5} [style=dotted];
subgraph cluster_3 {
subgraph cluster_4 {
color=red
9 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_4 {
11 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
11 [label="Enter when"];
subgraph cluster_5 {
13 [label="Enter block"];
subgraph cluster_6 {
color=blue
13 [label="Enter when branch condition "];
subgraph cluster_6 {
14 [label="Enter when"];
subgraph cluster_7 {
color=blue
14 [label="Enter when"];
16 [label="Access variable R|<local>/a|"];
17 [label="Type operator: (R|<local>/a| as? R|A|)"];
18 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_7 {
color=blue
19 [label="Enter when branch condition "];
20 [label="Const: Null(null)"];
21 [label="Operator =="];
22 [label="Exit when branch condition"];
}
16 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
29 [label="Enter when branch condition else"];
30 [label="Exit when branch condition"];
17 [label="Enter when"];
19 [label="Access variable R|<local>/a|"];
20 [label="Type operator: (R|<local>/a| as? R|A|)"];
21 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_9 {
color=blue
22 [label="Enter when branch condition "];
23 [label="Const: Null(null)"];
24 [label="Operator =="];
25 [label="Exit when branch condition"];
}
subgraph cluster_10 {
color=blue
32 [label="Enter when branch condition else"];
33 [label="Exit when branch condition"];
}
34 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
36 [label="Access variable R|<local>/<elvis>|"];
37 [label="Exit block"];
}
38 [label="Exit when branch result"];
26 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
27 [label="Enter block"];
28 [label="Jump: ^test Unit"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
}
31 [label="Exit when branch result" style="filled" fillcolor=gray];
18 [label="Exit when"];
}
31 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
32 [label="Enter block"];
33 [label="Access variable R|<local>/<elvis>|"];
34 [label="Exit block"];
}
35 [label="Exit when branch result"];
23 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
24 [label="Enter block"];
25 [label="Jump: ^test Unit"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit block" style="filled" fillcolor=gray];
}
28 [label="Exit when branch result" style="filled" fillcolor=gray];
15 [label="Exit when"];
39 [label="Function call: R|/takeA|(...)"];
40 [label="Exit when branch condition"];
}
36 [label="Function call: R|/takeA|(...)"];
37 [label="Exit when branch condition"];
47 [label="Synthetic else branch"];
41 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
42 [label="Enter block"];
43 [label="Access variable R|<local>/a|"];
44 [label="Function call: R|<local>/a|.R|/A.foo|()"];
45 [label="Exit block"];
}
46 [label="Exit when branch result"];
15 [label="Exit when"];
}
44 [label="Synthetic else branch"];
38 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/a|"];
41 [label="Function call: R|<local>/a|.R|/A.foo|()"];
42 [label="Exit block"];
}
43 [label="Exit when branch result"];
12 [label="Exit when"];
48 [label="Exit block"];
}
10 [label="Exit function test" style="filled" fillcolor=red];
12 [label="Exit function test" style="filled" fillcolor=red];
}
9 -> {11};
11 -> {13};
12 -> {10};
13 -> {14};
14 -> {16};
15 -> {36};
15 -> {48};
16 -> {17};
17 -> {18};
18 -> {19};
17 -> {19};
18 -> {39};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23 29};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {10};
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
28 -> {15} [style=dotted];
29 -> {30};
30 -> {31};
31 -> {32};
25 -> {26 32};
26 -> {27};
27 -> {28};
28 -> {12};
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {18} [style=dotted];
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {15};
35 -> {36};
36 -> {37};
37 -> {38 44};
38 -> {39};
37 -> {38};
38 -> {18};
39 -> {40};
40 -> {41};
40 -> {41 47};
41 -> {42};
42 -> {43};
43 -> {12};
44 -> {12};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {15};
47 -> {15};
48 -> {12};
}
File diff suppressed because it is too large Load Diff
@@ -12,314 +12,335 @@ digraph equalsAndIdentity_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter when"];
6 [label="Enter block"];
subgraph cluster_4 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/x|"];
10 [label="Access variable R|<local>/y|"];
11 [label="Operator =="];
12 [label="Exit when branch condition"];
7 [label="Enter when"];
subgraph cluster_5 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|<local>/y|"];
12 [label="Operator =="];
13 [label="Exit when branch condition"];
}
22 [label="Synthetic else branch"];
14 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
15 [label="Enter block"];
16 [label="Access variable R|<local>/x|"];
17 [label="Function call: R|<local>/x|.R|/A.foo|()"];
18 [label="Access variable R|<local>/y|"];
19 [label="Function call: R|<local>/y|.R|/A.foo|()"];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
8 [label="Exit when"];
}
21 [label="Synthetic else branch"];
13 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Function call: R|<local>/x|.R|/A.foo|()"];
17 [label="Access variable R|<local>/y|"];
18 [label="Function call: R|<local>/y|.R|/A.foo|()"];
19 [label="Exit block"];
}
20 [label="Exit when branch result"];
7 [label="Exit when"];
}
subgraph cluster_6 {
color=blue
22 [label="Enter when"];
subgraph cluster_7 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/x|"];
26 [label="Access variable R|<local>/y|"];
27 [label="Operator ==="];
28 [label="Exit when branch condition"];
23 [label="Enter when"];
subgraph cluster_8 {
color=blue
25 [label="Enter when branch condition "];
26 [label="Access variable R|<local>/x|"];
27 [label="Access variable R|<local>/y|"];
28 [label="Operator ==="];
29 [label="Exit when branch condition"];
}
38 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/x|"];
33 [label="Function call: R|<local>/x|.R|/A.foo|()"];
34 [label="Access variable R|<local>/y|"];
35 [label="Function call: R|<local>/y|.R|/A.foo|()"];
36 [label="Exit block"];
}
37 [label="Exit when branch result"];
24 [label="Exit when"];
}
37 [label="Synthetic else branch"];
29 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
30 [label="Enter block"];
31 [label="Access variable R|<local>/x|"];
32 [label="Function call: R|<local>/x|.R|/A.foo|()"];
33 [label="Access variable R|<local>/y|"];
34 [label="Function call: R|<local>/y|.R|/A.foo|()"];
35 [label="Exit block"];
}
36 [label="Exit when branch result"];
23 [label="Exit when"];
39 [label="Exit block"];
}
5 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {6};
6 -> {8};
7 -> {22};
8 -> {9};
6 -> {7};
7 -> {9};
8 -> {23};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13 21};
13 -> {14};
12 -> {13};
13 -> {14 22};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {7};
21 -> {7};
22 -> {24};
23 -> {5};
24 -> {25};
20 -> {21};
21 -> {8};
22 -> {8};
23 -> {25};
24 -> {39};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29 37};
29 -> {30};
28 -> {29};
29 -> {30 38};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {23};
37 -> {23};
36 -> {37};
37 -> {24};
38 -> {24};
39 -> {5};
subgraph cluster_9 {
subgraph cluster_10 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
40 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
40 [label="Enter when"];
subgraph cluster_11 {
color=blue
42 [label="Enter when branch condition "];
43 [label="Access variable R|<local>/x|"];
44 [label="Access variable R|<local>/y|"];
45 [label="Operator =="];
46 [label="Exit when branch condition"];
}
55 [label="Synthetic else branch"];
47 [label="Enter when branch result"];
42 [label="Enter block"];
subgraph cluster_12 {
color=blue
48 [label="Enter block"];
49 [label="Access variable R|<local>/x|"];
50 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
51 [label="Access variable R|<local>/y|"];
52 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
53 [label="Exit block"];
43 [label="Enter when"];
subgraph cluster_13 {
color=blue
45 [label="Enter when branch condition "];
46 [label="Access variable R|<local>/x|"];
47 [label="Access variable R|<local>/y|"];
48 [label="Operator =="];
49 [label="Exit when branch condition"];
}
58 [label="Synthetic else branch"];
50 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
51 [label="Enter block"];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
54 [label="Access variable R|<local>/y|"];
55 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
44 [label="Exit when"];
}
54 [label="Exit when branch result"];
41 [label="Exit when"];
}
subgraph cluster_13 {
color=blue
56 [label="Enter when"];
subgraph cluster_14 {
color=blue
58 [label="Enter when branch condition "];
59 [label="Access variable R|<local>/x|"];
60 [label="Access variable R|<local>/y|"];
61 [label="Operator ==="];
62 [label="Exit when branch condition"];
}
71 [label="Synthetic else branch"];
63 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
67 [label="Access variable R|<local>/y|"];
68 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
69 [label="Exit block"];
59 [label="Enter when"];
subgraph cluster_16 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/x|"];
63 [label="Access variable R|<local>/y|"];
64 [label="Operator ==="];
65 [label="Exit when branch condition"];
}
74 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
70 [label="Access variable R|<local>/y|"];
71 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
72 [label="Exit block"];
}
73 [label="Exit when branch result"];
60 [label="Exit when"];
}
70 [label="Exit when branch result"];
57 [label="Exit when"];
75 [label="Exit block"];
}
39 [label="Exit function test_2" style="filled" fillcolor=red];
41 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {40};
40 -> {42};
41 -> {56};
42 -> {43};
43 -> {44};
44 -> {45};
43 -> {45};
44 -> {59};
45 -> {46};
46 -> {47 55};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
49 -> {50 58};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {41};
55 -> {41};
56 -> {58};
57 -> {39};
58 -> {59};
59 -> {60};
60 -> {61};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {44};
58 -> {44};
59 -> {61};
60 -> {75};
61 -> {62};
62 -> {63 71};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
65 -> {66 74};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {57};
71 -> {57};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {60};
74 -> {60};
75 -> {41};
subgraph cluster_16 {
subgraph cluster_18 {
color=red
72 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
76 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
74 [label="Enter when"];
subgraph cluster_18 {
78 [label="Enter block"];
subgraph cluster_20 {
color=blue
76 [label="Enter when branch condition "];
77 [label="Access variable R|<local>/y|"];
78 [label="Const: Null(null)"];
79 [label="Operator =="];
80 [label="Exit when branch condition"];
79 [label="Enter when"];
subgraph cluster_21 {
color=blue
81 [label="Enter when branch condition "];
82 [label="Access variable R|<local>/y|"];
83 [label="Const: Null(null)"];
84 [label="Operator =="];
85 [label="Exit when branch condition"];
}
92 [label="Synthetic else branch"];
86 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
87 [label="Enter block"];
88 [label="Jump: ^test_3 Unit"];
89 [label="Stub" style="filled" fillcolor=gray];
90 [label="Exit block" style="filled" fillcolor=gray];
}
91 [label="Exit when branch result" style="filled" fillcolor=gray];
80 [label="Exit when"];
}
87 [label="Synthetic else branch"];
81 [label="Enter when branch result"];
subgraph cluster_19 {
subgraph cluster_23 {
color=blue
82 [label="Enter block"];
83 [label="Jump: ^test_3 Unit"];
84 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit block" style="filled" fillcolor=gray];
93 [label="Enter when"];
subgraph cluster_24 {
color=blue
95 [label="Enter when branch condition "];
96 [label="Access variable R|<local>/x|"];
97 [label="Access variable R|<local>/y|"];
98 [label="Operator =="];
99 [label="Exit when branch condition"];
}
108 [label="Synthetic else branch"];
100 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
101 [label="Enter block"];
102 [label="Access variable R|<local>/x|"];
103 [label="Function call: R|<local>/x|.R|/A.foo|()"];
104 [label="Access variable R|<local>/y|"];
105 [label="Function call: R|<local>/y|.R|/A.foo|()"];
106 [label="Exit block"];
}
107 [label="Exit when branch result"];
94 [label="Exit when"];
}
86 [label="Exit when branch result" style="filled" fillcolor=gray];
75 [label="Exit when"];
subgraph cluster_26 {
color=blue
109 [label="Enter when"];
subgraph cluster_27 {
color=blue
111 [label="Enter when branch condition "];
112 [label="Access variable R|<local>/x|"];
113 [label="Access variable R|<local>/y|"];
114 [label="Operator ==="];
115 [label="Exit when branch condition"];
}
124 [label="Synthetic else branch"];
116 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
117 [label="Enter block"];
118 [label="Access variable R|<local>/x|"];
119 [label="Function call: R|<local>/x|.R|/A.foo|()"];
120 [label="Access variable R|<local>/y|"];
121 [label="Function call: R|<local>/y|.R|/A.foo|()"];
122 [label="Exit block"];
}
123 [label="Exit when branch result"];
110 [label="Exit when"];
}
125 [label="Exit block"];
}
subgraph cluster_20 {
color=blue
88 [label="Enter when"];
subgraph cluster_21 {
color=blue
90 [label="Enter when branch condition "];
91 [label="Access variable R|<local>/x|"];
92 [label="Access variable R|<local>/y|"];
93 [label="Operator =="];
94 [label="Exit when branch condition"];
}
103 [label="Synthetic else branch"];
95 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
96 [label="Enter block"];
97 [label="Access variable R|<local>/x|"];
98 [label="Function call: R|<local>/x|.R|/A.foo|()"];
99 [label="Access variable R|<local>/y|"];
100 [label="Function call: R|<local>/y|.R|/A.foo|()"];
101 [label="Exit block"];
}
102 [label="Exit when branch result"];
89 [label="Exit when"];
}
subgraph cluster_23 {
color=blue
104 [label="Enter when"];
subgraph cluster_24 {
color=blue
106 [label="Enter when branch condition "];
107 [label="Access variable R|<local>/x|"];
108 [label="Access variable R|<local>/y|"];
109 [label="Operator ==="];
110 [label="Exit when branch condition"];
}
119 [label="Synthetic else branch"];
111 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
112 [label="Enter block"];
113 [label="Access variable R|<local>/x|"];
114 [label="Function call: R|<local>/x|.R|/A.foo|()"];
115 [label="Access variable R|<local>/y|"];
116 [label="Function call: R|<local>/y|.R|/A.foo|()"];
117 [label="Exit block"];
}
118 [label="Exit when branch result"];
105 [label="Exit when"];
}
73 [label="Exit function test_3" style="filled" fillcolor=red];
77 [label="Exit function test_3" style="filled" fillcolor=red];
}
72 -> {74};
74 -> {76};
75 -> {88};
76 -> {77};
77 -> {78};
76 -> {78};
78 -> {79};
79 -> {80};
80 -> {81 87};
79 -> {81};
80 -> {93};
81 -> {82};
82 -> {83};
83 -> {73};
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {75} [style=dotted];
87 -> {75};
88 -> {90};
89 -> {104};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95 103};
83 -> {84};
84 -> {85};
85 -> {86 92};
86 -> {87};
87 -> {88};
88 -> {77};
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
91 -> {80} [style=dotted];
92 -> {80};
93 -> {95};
94 -> {109};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
99 -> {100 108};
100 -> {101};
101 -> {102};
102 -> {89};
103 -> {89};
104 -> {106};
105 -> {73};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111 119};
107 -> {94};
108 -> {94};
109 -> {111};
110 -> {125};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
115 -> {116 124};
116 -> {117};
117 -> {118};
118 -> {105};
119 -> {105};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {110};
124 -> {110};
125 -> {77};
}
@@ -12,10 +12,10 @@ digraph inPlaceLambdas_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
@@ -26,167 +26,209 @@ digraph inPlaceLambdas_kt {
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
7 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {6} [color=green];
subgraph cluster_4 {
color=red
8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter when"];
10 [label="Enter block"];
subgraph cluster_6 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/x|"];
14 [label="Type operator: (R|<local>/x| is R|A|)"];
15 [label="Exit when branch condition"];
}
24 [label="Synthetic else branch"];
16 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
17 [label="Enter block"];
18 [label="Postponed enter to lambda"];
11 [label="Enter when"];
subgraph cluster_7 {
color=blue
13 [label="Enter when branch condition "];
14 [label="Access variable R|<local>/x|"];
15 [label="Type operator: (R|<local>/x| is R|A|)"];
16 [label="Exit when branch condition"];
}
25 [label="Synthetic else branch"];
17 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
27 [label="Access variable R|<local>/x|"];
28 [label="Function call: R|<local>/x|.R|/A.foo|()"];
26 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
18 [label="Enter block"];
19 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
27 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
29 [label="Enter block"];
30 [label="Access variable R|<local>/x|"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()"];
32 [label="Exit block"];
}
28 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
22 [label="Call arguments union" style="filled" fillcolor=yellow];
20 [label="Postponed exit from lambda"];
21 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
23 [label="Exit block"];
}
21 [label="Call arguments union" style="filled" fillcolor=yellow];
19 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
22 [label="Exit block"];
24 [label="Exit when branch result"];
12 [label="Exit when"];
}
23 [label="Exit when branch result"];
11 [label="Exit when"];
26 [label="Exit block"];
}
9 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {12};
11 -> {9};
12 -> {13};
10 -> {11};
11 -> {13};
12 -> {26};
13 -> {14};
14 -> {15};
15 -> {16 24};
16 -> {17};
15 -> {16};
16 -> {17 25};
17 -> {18};
18 -> {25};
18 -> {19} [color=red];
19 -> {20} [color=green];
20 -> {22};
21 -> {20} [color=red];
22 -> {23};
23 -> {11};
24 -> {11};
25 -> {27};
26 -> {19} [color=green];
26 -> {21} [color=red];
27 -> {28};
28 -> {26};
subgraph cluster_9 {
color=red
29 [label="Enter function test_2" style="filled" fillcolor=red];
31 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
39 [label="Access variable R|<local>/x|"];
40 [label="Type operator: (R|<local>/x| as R|B|)"];
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
34 [label="Call arguments union" style="filled" fillcolor=yellow];
32 [label="Postponed exit from lambda"];
33 [label="Function call: R|kotlin/run|<R|B|>(...)"];
35 [label="Access variable R|<local>/x|"];
36 [label="Function call: R|<local>/x|.R|/B.bar|()"];
30 [label="Exit function test_2" style="filled" fillcolor=red];
}
29 -> {31};
31 -> {37};
31 -> {32} [color=red];
32 -> {33} [color=green];
33 -> {35};
34 -> {33} [color=red];
35 -> {36};
36 -> {30};
37 -> {39};
38 -> {32} [color=green];
38 -> {34} [color=red];
39 -> {40};
40 -> {38};
18 -> {19};
19 -> {27};
19 -> {20} [color=red];
20 -> {21} [color=green];
21 -> {23};
22 -> {21} [color=red];
23 -> {24};
24 -> {12};
25 -> {12};
26 -> {9};
27 -> {29};
28 -> {20} [color=green];
28 -> {22} [color=red];
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {28};
subgraph cluster_11 {
color=red
41 [label="Enter function test_3" style="filled" fillcolor=red];
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
43 [label="Enter when"];
35 [label="Enter block"];
36 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
45 [label="Enter when branch condition "];
46 [label="Access variable R|<local>/x|"];
47 [label="Type operator: (R|<local>/x| is R|A|)"];
48 [label="Exit when branch condition"];
}
59 [label="Synthetic else branch"];
49 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
50 [label="Enter block"];
51 [label="Postponed enter to lambda"];
subgraph cluster_15 {
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|<local>/x|.R|/A.foo|()"];
64 [label="Access variable R|<local>/x|"];
65 [label="Type operator: (R|<local>/x| as R|B|)"];
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
45 [label="Enter block"];
46 [label="Access variable R|<local>/x|"];
47 [label="Type operator: (R|<local>/x| as R|B|)"];
48 [label="Exit block"];
}
54 [label="Call arguments union" style="filled" fillcolor=yellow];
52 [label="Postponed exit from lambda"];
53 [label="Function call: R|kotlin/run|<R|B|>(...)"];
55 [label="Access variable R|<local>/x|"];
56 [label="Function call: R|<local>/x|.R|/B.bar|()"];
57 [label="Exit block"];
44 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
58 [label="Exit when branch result"];
44 [label="Exit when"];
39 [label="Call arguments union" style="filled" fillcolor=yellow];
37 [label="Postponed exit from lambda"];
38 [label="Function call: R|kotlin/run|<R|B|>(...)"];
40 [label="Access variable R|<local>/x|"];
41 [label="Function call: R|<local>/x|.R|/B.bar|()"];
42 [label="Exit block"];
}
42 [label="Exit function test_3" style="filled" fillcolor=red];
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
41 -> {43};
33 -> {35};
35 -> {36};
36 -> {43};
36 -> {37} [color=red];
37 -> {38} [color=green];
38 -> {40};
39 -> {38} [color=red];
40 -> {41};
41 -> {42};
42 -> {34};
43 -> {45};
44 -> {42};
44 -> {37} [color=green];
44 -> {39} [color=red];
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49 59};
49 -> {50};
50 -> {51};
51 -> {60};
51 -> {52} [color=red];
52 -> {53} [color=green];
53 -> {55};
54 -> {53} [color=red];
48 -> {44};
subgraph cluster_15 {
color=red
49 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
51 [label="Enter block"];
subgraph cluster_17 {
color=blue
52 [label="Enter when"];
subgraph cluster_18 {
color=blue
54 [label="Enter when branch condition "];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: (R|<local>/x| is R|A|)"];
57 [label="Exit when branch condition"];
}
68 [label="Synthetic else branch"];
58 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
59 [label="Enter block"];
60 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
70 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|/A.foo|()"];
75 [label="Access variable R|<local>/x|"];
76 [label="Type operator: (R|<local>/x| as R|B|)"];
77 [label="Exit block"];
}
71 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
63 [label="Call arguments union" style="filled" fillcolor=yellow];
61 [label="Postponed exit from lambda"];
62 [label="Function call: R|kotlin/run|<R|B|>(...)"];
64 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|<local>/x|.R|/B.bar|()"];
66 [label="Exit block"];
}
67 [label="Exit when branch result"];
53 [label="Exit when"];
}
69 [label="Exit block"];
}
50 [label="Exit function test_3" style="filled" fillcolor=red];
}
49 -> {51};
51 -> {52};
52 -> {54};
53 -> {69};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {44};
59 -> {44};
60 -> {62};
61 -> {52} [color=green];
61 -> {54} [color=red];
62 -> {63};
63 -> {64};
57 -> {58 68};
58 -> {59};
59 -> {60};
60 -> {70};
60 -> {61} [color=red];
61 -> {62} [color=green];
62 -> {64};
63 -> {62} [color=red];
64 -> {65};
65 -> {61};
65 -> {66};
66 -> {67};
67 -> {53};
68 -> {53};
69 -> {50};
70 -> {72};
71 -> {61} [color=green];
71 -> {63} [color=red];
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {71};
}
@@ -8,41 +8,48 @@ digraph smartcastOnLambda_kt {
0 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter when"];
2 [label="Enter block"];
subgraph cluster_2 {
color=blue
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/func|"];
6 [label="Const: Null(null)"];
7 [label="Operator !="];
8 [label="Exit when branch condition"];
3 [label="Enter when"];
subgraph cluster_3 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/func|"];
7 [label="Const: Null(null)"];
8 [label="Operator !="];
9 [label="Exit when branch condition"];
}
15 [label="Synthetic else branch"];
10 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
11 [label="Enter block"];
12 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
13 [label="Exit block"];
}
14 [label="Exit when branch result"];
4 [label="Exit when"];
}
14 [label="Synthetic else branch"];
9 [label="Enter when branch result"];
subgraph cluster_3 {
color=blue
10 [label="Enter block"];
11 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
3 [label="Exit when"];
16 [label="Exit block"];
}
1 [label="Exit function test" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {4};
3 -> {1};
4 -> {5};
2 -> {3};
3 -> {5};
4 -> {16};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9 14};
9 -> {10};
8 -> {9};
9 -> {10 15};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {3};
14 -> {3};
13 -> {14};
14 -> {4};
15 -> {4};
16 -> {1};
}
@@ -12,85 +12,92 @@ digraph dataFlowInfoFromWhileCondition_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter class B" style="filled" fillcolor=red];
5 [label="Exit class B" style="filled" fillcolor=red];
5 [label="Enter class B" style="filled" fillcolor=red];
4 [label="Exit class B" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
5 -> {4} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter class C" style="filled" fillcolor=red];
7 [label="Exit class C" style="filled" fillcolor=red];
7 [label="Enter class C" style="filled" fillcolor=red];
6 [label="Exit class C" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {6} [color=green];
subgraph cluster_4 {
color=red
8 [label="Enter function test" style="filled" fillcolor=red];
10 [label="Const: Null(null)"];
11 [label="Variable declaration: lvar a: R|A?|"];
subgraph cluster_5 {
color=blue
12 [label="Enter while loop"];
10 [label="Enter block"];
11 [label="Const: Null(null)"];
12 [label="Variable declaration: lvar a: R|A?|"];
subgraph cluster_6 {
color=blue
14 [label="Enter loop condition"];
13 [label="Enter while loop"];
subgraph cluster_7 {
color=blue
16 [label="Enter ||"];
17 [label="Access variable R|<local>/a|"];
18 [label="Type operator: (R|<local>/a| is R|B|)"];
19 [label="Exit left part of ||"];
20 [label="Enter right part of ||"];
21 [label="Access variable R|<local>/a|"];
22 [label="Type operator: (R|<local>/a| is R|C|)"];
15 [label="Exit ||"];
15 [label="Enter loop condition"];
subgraph cluster_8 {
color=blue
17 [label="Enter ||"];
18 [label="Access variable R|<local>/a|"];
19 [label="Type operator: (R|<local>/a| is R|B|)"];
20 [label="Exit left part of ||"];
21 [label="Enter right part of ||"];
22 [label="Access variable R|<local>/a|"];
23 [label="Type operator: (R|<local>/a| is R|C|)"];
16 [label="Exit ||"];
}
24 [label="Exit loop condition"];
}
23 [label="Exit loop condition"];
}
subgraph cluster_8 {
color=blue
24 [label="Enter loop block"];
subgraph cluster_9 {
color=blue
25 [label="Enter block"];
26 [label="Access variable R|<local>/a|"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()"];
28 [label="Exit block"];
25 [label="Enter loop block"];
subgraph cluster_10 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/a|"];
28 [label="Function call: R|<local>/a|.R|/A.foo|()"];
29 [label="Exit block"];
}
30 [label="Exit loop block"];
}
29 [label="Exit loop block"];
14 [label="Exit whileloop"];
}
13 [label="Exit whileloop"];
31 [label="Exit block"];
}
9 [label="Exit function test" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {11};
11 -> {12};
12 -> {14};
13 -> {9};
14 -> {16};
15 -> {23};
16 -> {17};
12 -> {13};
13 -> {15};
14 -> {31};
15 -> {17};
16 -> {24};
17 -> {18};
18 -> {19};
19 -> {15 20};
20 -> {21};
19 -> {20};
20 -> {16 21};
21 -> {22};
22 -> {15};
23 -> {13 24};
24 -> {25};
22 -> {23};
23 -> {16};
24 -> {14 25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {14} [color=green style=dashed];
29 -> {30};
30 -> {15} [color=green style=dashed];
31 -> {9};
}
File diff suppressed because it is too large Load Diff
@@ -12,10 +12,10 @@ digraph multipleCasts_kt {
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
3 [label="Enter class A" style="filled" fillcolor=red];
2 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {2} [color=green];
subgraph cluster_2 {
color=red
@@ -26,45 +26,55 @@ digraph multipleCasts_kt {
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
7 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {6} [color=green];
subgraph cluster_4 {
color=red
8 [label="Enter function getAny" style="filled" fillcolor=red];
10 [label="Const: Null(null)"];
11 [label="Jump: ^getAny Null(null)"];
12 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_5 {
color=blue
10 [label="Enter block"];
11 [label="Const: Null(null)"];
12 [label="Jump: ^getAny Null(null)"];
13 [label="Stub" style="filled" fillcolor=gray];
14 [label="Exit block" style="filled" fillcolor=gray];
}
9 [label="Exit function getAny" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {11};
11 -> {9};
11 -> {12} [style=dotted];
12 -> {9} [style=dotted];
11 -> {12};
12 -> {9};
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
14 -> {9} [style=dotted];
subgraph cluster_5 {
subgraph cluster_6 {
color=red
13 [label="Enter function test_0" style="filled" fillcolor=red];
15 [label="Function call: R|/getAny|()"];
16 [label="Variable declaration: lval a: R|kotlin/Any?|"];
17 [label="Function call: R|/getAny|()"];
18 [label="Variable declaration: lval b: R|kotlin/Any?|"];
19 [label="Access variable R|<local>/a|"];
20 [label="Type operator: (R|<local>/a| as R|A|)"];
21 [label="Access variable R|<local>/a|"];
22 [label="Function call: R|<local>/a|.R|/A.foo|()"];
23 [label="Access variable R|<local>/b|"];
24 [label="Type operator: (R|<local>/b| as R|B|)"];
25 [label="Access variable R|<local>/b|"];
26 [label="Function call: R|<local>/b|.R|/B.foo|()"];
14 [label="Exit function test_0" style="filled" fillcolor=red];
15 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
17 [label="Enter block"];
18 [label="Function call: R|/getAny|()"];
19 [label="Variable declaration: lval a: R|kotlin/Any?|"];
20 [label="Function call: R|/getAny|()"];
21 [label="Variable declaration: lval b: R|kotlin/Any?|"];
22 [label="Access variable R|<local>/a|"];
23 [label="Type operator: (R|<local>/a| as R|A|)"];
24 [label="Access variable R|<local>/a|"];
25 [label="Function call: R|<local>/a|.R|/A.foo|()"];
26 [label="Access variable R|<local>/b|"];
27 [label="Type operator: (R|<local>/b| as R|B|)"];
28 [label="Access variable R|<local>/b|"];
29 [label="Function call: R|<local>/b|.R|/B.foo|()"];
30 [label="Exit block"];
}
16 [label="Exit function test_0" style="filled" fillcolor=red];
}
13 -> {15};
15 -> {16};
16 -> {17};
15 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
@@ -74,75 +84,86 @@ digraph multipleCasts_kt {
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {14};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {16};
subgraph cluster_6 {
subgraph cluster_8 {
color=red
27 [label="Enter function test_1" style="filled" fillcolor=red];
29 [label="Function call: R|/getAny|()"];
30 [label="Variable declaration: lval a: R|kotlin/Any?|"];
31 [label="Function call: R|/getAny|()"];
32 [label="Variable declaration: lval b: R|kotlin/Any?|"];
subgraph cluster_7 {
31 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
33 [label="Enter when"];
subgraph cluster_8 {
color=blue
35 [label="Enter when branch condition "];
subgraph cluster_9 {
color=blue
37 [label="Enter &&"];
38 [label="Access variable R|<local>/a|"];
39 [label="Type operator: (R|<local>/a| is R|A|)"];
40 [label="Exit left part of &&"];
41 [label="Enter right part of &&"];
42 [label="Access variable R|<local>/b|"];
43 [label="Type operator: (R|<local>/b| is R|B|)"];
36 [label="Exit &&"];
}
44 [label="Exit when branch condition"];
}
53 [label="Synthetic else branch"];
45 [label="Enter when branch result"];
33 [label="Enter block"];
34 [label="Function call: R|/getAny|()"];
35 [label="Variable declaration: lval a: R|kotlin/Any?|"];
36 [label="Function call: R|/getAny|()"];
37 [label="Variable declaration: lval b: R|kotlin/Any?|"];
subgraph cluster_10 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/a|"];
48 [label="Function call: R|<local>/a|.R|/A.foo|()"];
49 [label="Access variable R|<local>/b|"];
50 [label="Function call: R|<local>/b|.R|/B.foo|()"];
51 [label="Exit block"];
38 [label="Enter when"];
subgraph cluster_11 {
color=blue
40 [label="Enter when branch condition "];
subgraph cluster_12 {
color=blue
42 [label="Enter &&"];
43 [label="Access variable R|<local>/a|"];
44 [label="Type operator: (R|<local>/a| is R|A|)"];
45 [label="Exit left part of &&"];
46 [label="Enter right part of &&"];
47 [label="Access variable R|<local>/b|"];
48 [label="Type operator: (R|<local>/b| is R|B|)"];
41 [label="Exit &&"];
}
49 [label="Exit when branch condition"];
}
58 [label="Synthetic else branch"];
50 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
51 [label="Enter block"];
52 [label="Access variable R|<local>/a|"];
53 [label="Function call: R|<local>/a|.R|/A.foo|()"];
54 [label="Access variable R|<local>/b|"];
55 [label="Function call: R|<local>/b|.R|/B.foo|()"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
39 [label="Exit when"];
}
52 [label="Exit when branch result"];
34 [label="Exit when"];
59 [label="Exit block"];
}
28 [label="Exit function test_1" style="filled" fillcolor=red];
32 [label="Exit function test_1" style="filled" fillcolor=red];
}
27 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {35};
34 -> {28};
35 -> {37};
36 -> {44};
31 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {36 41};
41 -> {42};
38 -> {40};
39 -> {59};
40 -> {42};
41 -> {49};
42 -> {43};
43 -> {36};
44 -> {45 53};
45 -> {46};
43 -> {44};
44 -> {45};
45 -> {41 46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
48 -> {41};
49 -> {50 58};
50 -> {51};
51 -> {52};
52 -> {34};
53 -> {34};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {39};
58 -> {39};
59 -> {32};
}
File diff suppressed because it is too large Load Diff
@@ -8,53 +8,56 @@ digraph implicitReceiverAsWhenSubject_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter when"];
4 [label="Access variable this@R|/test_1|"];
2 [label="Enter block"];
subgraph cluster_2 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
7 [label="Exit when branch condition"];
3 [label="Enter when"];
5 [label="Access variable this@R|/test_1|"];
subgraph cluster_3 {
color=blue
6 [label="Enter when branch condition "];
7 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
8 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
15 [label="Enter when branch condition "];
16 [label="Type operator: ($subj$ is R|kotlin/String|)"];
17 [label="Exit when branch condition"];
}
subgraph cluster_5 {
color=blue
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
}
25 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
26 [label="Enter block"];
27 [label="Const: Int(0)"];
28 [label="Exit block"];
}
29 [label="Exit when branch result"];
18 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
19 [label="Enter block"];
20 [label="Access variable R|kotlin/String.length|"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
9 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
10 [label="Enter block"];
11 [label="Access variable this@R|/test_1|"];
12 [label="Access variable R|kotlin/collections/List.size|"];
13 [label="Exit block"];
}
14 [label="Exit when branch result"];
4 [label="Exit when"];
}
subgraph cluster_3 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Type operator: ($subj$ is R|kotlin/String|)"];
16 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
22 [label="Enter when branch condition else"];
23 [label="Exit when branch condition"];
}
24 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
25 [label="Enter block"];
26 [label="Const: Int(0)"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
17 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|kotlin/String.length|"];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
8 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
9 [label="Enter block"];
10 [label="Access variable this@R|/test_1|"];
11 [label="Access variable R|kotlin/collections/List.size|"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
3 [label="Exit when"];
}
29 [label="Jump: ^test_1 when (this@R|/test_1|) {
30 [label="Jump: ^test_1 when (this@R|/test_1|) {
($subj$ is R|kotlin/collections/List<*>|) -> {
this@R|/test_1|.R|kotlin/collections/List.size|
}
@@ -66,98 +69,105 @@ digraph implicitReceiverAsWhenSubject_kt {
}
}
"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
}
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {4};
3 -> {29};
4 -> {5};
2 -> {3};
3 -> {5};
4 -> {30};
5 -> {6};
6 -> {7};
7 -> {8 14};
8 -> {9};
7 -> {8};
8 -> {9 15};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {3};
14 -> {15};
13 -> {14};
14 -> {4};
15 -> {16};
16 -> {17 22};
17 -> {18};
16 -> {17};
17 -> {18 23};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {3};
22 -> {23};
21 -> {22};
22 -> {4};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {3};
29 -> {1};
29 -> {30} [style=dotted];
30 -> {1} [style=dotted];
28 -> {29};
29 -> {4};
30 -> {1};
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {1} [style=dotted];
subgraph cluster_8 {
subgraph cluster_9 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
33 [label="Enter when"];
35 [label="Access variable this@R|/test_2|"];
36 [label="Variable declaration: lval x: R|kotlin/Any|"];
subgraph cluster_10 {
color=blue
37 [label="Enter when branch condition "];
38 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
39 [label="Exit when branch condition"];
}
35 [label="Enter block"];
subgraph cluster_11 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Type operator: ($subj$ is R|kotlin/String|)"];
50 [label="Exit when branch condition"];
36 [label="Enter when"];
38 [label="Access variable this@R|/test_2|"];
39 [label="Variable declaration: lval x: R|kotlin/Any|"];
subgraph cluster_12 {
color=blue
40 [label="Enter when branch condition "];
41 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
42 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
51 [label="Enter when branch condition "];
52 [label="Type operator: ($subj$ is R|kotlin/String|)"];
53 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
61 [label="Enter when branch condition else"];
62 [label="Exit when branch condition"];
}
63 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
64 [label="Enter block"];
65 [label="Const: Int(0)"];
66 [label="Exit block"];
}
67 [label="Exit when branch result"];
54 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
55 [label="Enter block"];
56 [label="Access variable R|<local>/x|"];
57 [label="Access variable R|kotlin/String.length|"];
58 [label="Access variable R|kotlin/String.length|"];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Access variable R|kotlin/collections/List.size|"];
47 [label="Access variable this@R|/test_2|"];
48 [label="Access variable R|kotlin/collections/List.size|"];
49 [label="Exit block"];
}
50 [label="Exit when branch result"];
37 [label="Exit when"];
}
subgraph cluster_12 {
color=blue
58 [label="Enter when branch condition else"];
59 [label="Exit when branch condition"];
}
60 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
61 [label="Enter block"];
62 [label="Const: Int(0)"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Access variable R|kotlin/String.length|"];
55 [label="Access variable R|kotlin/String.length|"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/x|"];
43 [label="Access variable R|kotlin/collections/List.size|"];
44 [label="Access variable this@R|/test_2|"];
45 [label="Access variable R|kotlin/collections/List.size|"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
34 [label="Exit when"];
}
65 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
68 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
($subj$ is R|kotlin/collections/List<*>|) -> {
R|<local>/x|.R|kotlin/collections/List.size|
this@R|/test_2|.R|kotlin/collections/List.size|
@@ -171,44 +181,48 @@ digraph implicitReceiverAsWhenSubject_kt {
}
}
"];
66 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit function test_2" style="filled" fillcolor=red];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit block" style="filled" fillcolor=gray];
}
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {33};
33 -> {35};
34 -> {65};
35 -> {36};
36 -> {37};
37 -> {38};
36 -> {38};
37 -> {68};
38 -> {39};
39 -> {40 48};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {43 51};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {34};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51 58};
50 -> {37};
51 -> {52};
52 -> {53};
53 -> {54};
53 -> {54 61};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {34};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
60 -> {37};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {34};
65 -> {32};
65 -> {66} [style=dotted];
66 -> {32} [style=dotted];
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {37};
68 -> {34};
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
70 -> {34} [style=dotted];
}
File diff suppressed because it is too large Load Diff
@@ -5,101 +5,97 @@ digraph thisOfExtensionProperty_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
1 [label="Enter class A" style="filled" fillcolor=red];
0 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {0} [color=green];
subgraph cluster_1 {
color=red
6 [label="Enter class B" 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 B" style="filled" fillcolor=red];
2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red];
}
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
2 -> {3};
subgraph cluster_4 {
subgraph cluster_2 {
color=red
19 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
8 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
11 [label="Enter &&"];
12 [label="Access variable this@R|/check_1|"];
13 [label="Type operator: (this@R|/check_1| is R|B|)"];
14 [label="Exit left part of &&"];
15 [label="Enter right part of &&"];
16 [label="Access variable R|/B.b|"];
10 [label="Exit &&"];
}
17 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"];
18 [label="Stub" style="filled" fillcolor=gray];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
20 [label="Exit property" style="filled" fillcolor=red];
5 [label="Enter class B" style="filled" fillcolor=red];
4 [label="Exit class B" style="filled" fillcolor=red];
}
19 -> {20};
8 -> {11};
10 -> {17};
5 -> {4} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
10 [label="Enter &&"];
11 [label="Access variable this@R|/check_1|"];
12 [label="Type operator: (this@R|/check_1| is R|B|)"];
13 [label="Exit left part of &&"];
14 [label="Enter right part of &&"];
15 [label="Access variable R|/B.b|"];
9 [label="Exit &&"];
}
16 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"];
17 [label="Stub" style="filled" fillcolor=gray];
18 [label="Exit block" style="filled" fillcolor=gray];
}
7 [label="Exit function getter" style="filled" fillcolor=red];
}
6 -> {8};
8 -> {10};
9 -> {16};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {10 15};
15 -> {16};
16 -> {10};
17 -> {9};
13 -> {9 14};
14 -> {15};
15 -> {9};
16 -> {7};
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
18 -> {9} [style=dotted];
18 -> {7} [style=dotted];
subgraph cluster_7 {
subgraph cluster_6 {
color=red
33 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_8 {
19 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
21 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_9 {
21 [label="Enter block"];
subgraph cluster_8 {
color=blue
24 [label="Enter &&"];
25 [label="Access variable this@R|/check_2|"];
26 [label="Type operator: (this@R|/check_2| is R|B|)"];
27 [label="Exit left part of &&"];
28 [label="Enter right part of &&"];
29 [label="Access variable this@R|/check_2|"];
30 [label="Access variable R|/B.b|"];
23 [label="Exit &&"];
23 [label="Enter &&"];
24 [label="Access variable this@R|/check_2|"];
25 [label="Type operator: (this@R|/check_2| is R|B|)"];
26 [label="Exit left part of &&"];
27 [label="Enter right part of &&"];
28 [label="Access variable this@R|/check_2|"];
29 [label="Access variable R|/B.b|"];
22 [label="Exit &&"];
}
31 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"];
32 [label="Stub" style="filled" fillcolor=gray];
22 [label="Exit function getter" style="filled" fillcolor=red];
30 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
}
34 [label="Exit property" style="filled" fillcolor=red];
20 [label="Exit function getter" style="filled" fillcolor=red];
}
33 -> {34};
21 -> {24};
23 -> {31};
19 -> {21};
21 -> {23};
22 -> {30};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {23 28};
26 -> {22 27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {23};
31 -> {22};
29 -> {22};
30 -> {20};
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {22} [style=dotted];
32 -> {20} [style=dotted];
}
@@ -15,448 +15,499 @@ digraph assignSafeCall_kt {
subgraph cluster_1 {
color=red
3 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Const: Int(1)"];
6 [label="Jump: ^foo Int(1)"];
7 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_2 {
color=blue
5 [label="Enter block"];
6 [label="Const: Int(1)"];
7 [label="Jump: ^foo Int(1)"];
8 [label="Stub" style="filled" fillcolor=gray];
9 [label="Exit block" style="filled" fillcolor=gray];
}
4 [label="Exit function foo" style="filled" fillcolor=red];
}
3 -> {5};
5 -> {6};
6 -> {4};
6 -> {7} [style=dotted];
7 -> {4} [style=dotted];
subgraph cluster_2 {
color=red
13 [label="Enter function bar" style="filled" fillcolor=red];
14 [label="Exit function bar" style="filled" fillcolor=red];
}
13 -> {14};
6 -> {7};
7 -> {4};
7 -> {8} [style=dotted];
8 -> {9} [style=dotted];
9 -> {4} [style=dotted];
subgraph cluster_3 {
color=red
15 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
10 [label="Enter function getter" style="filled" fillcolor=red];
11 [label="Exit function getter" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_4 {
color=red
15 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
12 [label="Const: Int(1)"];
11 [label="Exit property" style="filled" fillcolor=red];
17 [label="Enter block"];
18 [label="Exit block"];
}
16 [label="Exit class A" style="filled" fillcolor=red];
16 [label="Exit function bar" style="filled" fillcolor=red];
}
15 -> {10} [color=green];
10 -> {12};
11 -> {16} [color=green];
12 -> {11};
8 -> {9};
15 -> {17};
17 -> {18};
18 -> {16};
subgraph cluster_6 {
color=red
17 [label="Enter function test_1" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/a|"];
20 [label="Enter safe call"];
22 [label="Access variable R|/A.x|"];
21 [label="Exit safe call"];
23 [label="Variable declaration: lval x: R|kotlin/Int?|"];
20 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
24 [label="Enter when"];
subgraph cluster_8 {
color=blue
26 [label="Enter when branch condition "];
27 [label="Access variable R|<local>/x|"];
28 [label="Const: Null(null)"];
29 [label="Operator !="];
30 [label="Exit when branch condition"];
}
37 [label="Synthetic else branch"];
31 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
32 [label="Enter block"];
33 [label="Access variable R|<local>/a|"];
34 [label="Function call: R|<local>/a|.R|/A.bar|()"];
35 [label="Exit block"];
}
36 [label="Exit when branch result"];
25 [label="Exit when"];
12 [label="Enter property" style="filled" fillcolor=red];
14 [label="Const: Int(1)"];
13 [label="Exit property" style="filled" fillcolor=red];
}
18 [label="Exit function test_1" style="filled" fillcolor=red];
19 [label="Exit class A" style="filled" fillcolor=red];
}
20 -> {12} [color=green];
12 -> {14};
13 -> {19} [color=green];
14 -> {13};
subgraph cluster_8 {
color=red
21 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/a|"];
25 [label="Enter safe call"];
27 [label="Access variable R|/A.x|"];
26 [label="Exit safe call"];
28 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_10 {
color=blue
29 [label="Enter when"];
subgraph cluster_11 {
color=blue
31 [label="Enter when branch condition "];
32 [label="Access variable R|<local>/x|"];
33 [label="Const: Null(null)"];
34 [label="Operator !="];
35 [label="Exit when branch condition"];
}
42 [label="Synthetic else branch"];
36 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/a|"];
39 [label="Function call: R|<local>/a|.R|/A.bar|()"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
30 [label="Exit when"];
}
43 [label="Exit block"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
}
17 -> {19};
19 -> {20 21};
20 -> {22};
21 -> {23};
22 -> {21};
23 -> {24};
24 -> {26};
25 -> {18};
26 -> {27};
27 -> {28};
24 -> {25 26};
25 -> {27};
26 -> {28};
27 -> {26};
28 -> {29};
29 -> {30};
30 -> {31 37};
29 -> {31};
30 -> {43};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {25};
37 -> {25};
35 -> {36 42};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {30};
42 -> {30};
43 -> {22};
subgraph cluster_10 {
subgraph cluster_13 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
40 [label="Access variable R|<local>/a|"];
41 [label="Enter safe call"];
43 [label="Function call: $subj$.R|/A.foo|()"];
42 [label="Exit safe call"];
44 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_11 {
44 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
45 [label="Enter when"];
subgraph cluster_12 {
46 [label="Enter block"];
47 [label="Access variable R|<local>/a|"];
48 [label="Enter safe call"];
50 [label="Function call: $subj$.R|/A.foo|()"];
49 [label="Exit safe call"];
51 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_15 {
color=blue
47 [label="Enter when branch condition "];
48 [label="Access variable R|<local>/x|"];
49 [label="Const: Null(null)"];
50 [label="Operator !="];
51 [label="Exit when branch condition"];
52 [label="Enter when"];
subgraph cluster_16 {
color=blue
54 [label="Enter when branch condition "];
55 [label="Access variable R|<local>/x|"];
56 [label="Const: Null(null)"];
57 [label="Operator !="];
58 [label="Exit when branch condition"];
}
65 [label="Synthetic else branch"];
59 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
60 [label="Enter block"];
61 [label="Access variable R|<local>/a|"];
62 [label="Function call: R|<local>/a|.R|/A.bar|()"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
53 [label="Exit when"];
}
58 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
53 [label="Enter block"];
54 [label="Access variable R|<local>/a|"];
55 [label="Function call: R|<local>/a|.R|/A.bar|()"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
46 [label="Exit when"];
66 [label="Exit block"];
}
39 [label="Exit function test_2" style="filled" fillcolor=red];
45 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {40};
40 -> {41 42};
41 -> {43};
42 -> {44};
43 -> {42};
44 -> {45};
45 -> {47};
46 -> {39};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52 58};
52 -> {53};
53 -> {54};
44 -> {46};
46 -> {47};
47 -> {48 49};
48 -> {50};
49 -> {51};
50 -> {49};
51 -> {52};
52 -> {54};
53 -> {66};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {46};
58 -> {46};
subgraph cluster_14 {
color=red
59 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
61 [label="Enter when"];
63 [label="Access variable R|<local>/x|"];
64 [label="Type operator: (R|<local>/x| as? R|A|)"];
65 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_16 {
color=blue
66 [label="Enter when branch condition "];
67 [label="Const: Null(null)"];
68 [label="Operator =="];
69 [label="Exit when branch condition"];
}
subgraph cluster_17 {
color=blue
76 [label="Enter when branch condition else"];
77 [label="Exit when branch condition"];
}
78 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/<elvis>|"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
70 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
71 [label="Enter block"];
72 [label="Jump: ^test_3 Unit"];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Exit block" style="filled" fillcolor=gray];
}
75 [label="Exit when branch result" style="filled" fillcolor=gray];
62 [label="Exit when"];
}
83 [label="Variable declaration: lval a: R|A|"];
84 [label="Access variable R|<local>/a|"];
85 [label="Function call: R|<local>/a|.R|/A.foo|()"];
86 [label="Access variable R|<local>/x|"];
87 [label="Function call: R|<local>/x|.R|/A.foo|()"];
60 [label="Exit function test_3" style="filled" fillcolor=red];
}
59 -> {61};
61 -> {63};
62 -> {83};
57 -> {58};
58 -> {59 65};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70 76};
70 -> {71};
71 -> {72};
72 -> {60};
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75} [style=dotted];
75 -> {62} [style=dotted];
64 -> {53};
65 -> {53};
66 -> {45};
subgraph cluster_18 {
color=red
67 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
69 [label="Enter block"];
subgraph cluster_20 {
color=blue
70 [label="Enter when"];
72 [label="Access variable R|<local>/x|"];
73 [label="Type operator: (R|<local>/x| as? R|A|)"];
74 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_21 {
color=blue
75 [label="Enter when branch condition "];
76 [label="Const: Null(null)"];
77 [label="Operator =="];
78 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
85 [label="Enter when branch condition else"];
86 [label="Exit when branch condition"];
}
87 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
88 [label="Enter block"];
89 [label="Access variable R|<local>/<elvis>|"];
90 [label="Exit block"];
}
91 [label="Exit when branch result"];
79 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
80 [label="Enter block"];
81 [label="Jump: ^test_3 Unit"];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Exit block" style="filled" fillcolor=gray];
}
84 [label="Exit when branch result" style="filled" fillcolor=gray];
71 [label="Exit when"];
}
92 [label="Variable declaration: lval a: R|A|"];
93 [label="Access variable R|<local>/a|"];
94 [label="Function call: R|<local>/a|.R|/A.foo|()"];
95 [label="Access variable R|<local>/x|"];
96 [label="Function call: R|<local>/x|.R|/A.foo|()"];
97 [label="Exit block"];
}
68 [label="Exit function test_3" style="filled" fillcolor=red];
}
67 -> {69};
69 -> {70};
70 -> {72};
71 -> {92};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
78 -> {79 85};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {62};
83 -> {84};
84 -> {85};
81 -> {68};
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {71} [style=dotted];
85 -> {86};
86 -> {87};
87 -> {60};
subgraph cluster_20 {
color=red
88 [label="Enter function foo" style="filled" fillcolor=red];
89 [label="Exit function foo" style="filled" fillcolor=red];
}
87 -> {88};
88 -> {89};
subgraph cluster_21 {
color=red
94 [label="Enter function bar" style="filled" fillcolor=red];
95 [label="Exit function bar" style="filled" fillcolor=red];
}
94 -> {95};
subgraph cluster_22 {
color=red
96 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
90 [label="Enter function getter" style="filled" fillcolor=red];
91 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_24 {
color=blue
92 [label="Enter property" style="filled" fillcolor=red];
93 [label="Exit property" style="filled" fillcolor=red];
}
97 [label="Exit class B" style="filled" fillcolor=red];
}
96 -> {92} [color=green];
92 -> {93};
93 -> {97} [color=green];
89 -> {90};
90 -> {91};
91 -> {71};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {68};
subgraph cluster_25 {
color=red
98 [label="Enter function test_1" style="filled" fillcolor=red];
100 [label="Access variable R|<local>/a|"];
101 [label="Enter safe call"];
103 [label="Access variable R|/B.x|"];
102 [label="Exit safe call"];
104 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_26 {
color=blue
105 [label="Enter when"];
subgraph cluster_27 {
color=blue
107 [label="Enter when branch condition "];
108 [label="Access variable R|<local>/x|"];
109 [label="Const: Null(null)"];
110 [label="Operator !="];
111 [label="Exit when branch condition"];
}
118 [label="Synthetic else branch"];
112 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/a|"];
115 [label="Function call: R|<local>/a|.R|/B.bar|()"];
116 [label="Exit block"];
}
117 [label="Exit when branch result"];
106 [label="Exit when"];
}
99 [label="Exit function test_1" style="filled" fillcolor=red];
98 [label="Enter function foo" style="filled" fillcolor=red];
99 [label="Exit function foo" style="filled" fillcolor=red];
}
98 -> {100};
100 -> {101 102};
101 -> {103};
102 -> {104};
103 -> {102};
104 -> {105};
105 -> {107};
106 -> {99};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112 118};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {106};
118 -> {106};
98 -> {99};
subgraph cluster_26 {
color=red
100 [label="Enter function getter" style="filled" fillcolor=red];
101 [label="Exit function getter" style="filled" fillcolor=red];
}
100 -> {101};
subgraph cluster_27 {
color=red
102 [label="Enter function bar" style="filled" fillcolor=red];
103 [label="Exit function bar" style="filled" fillcolor=red];
}
102 -> {103};
subgraph cluster_28 {
color=red
105 [label="Enter class B" style="filled" fillcolor=red];
104 [label="Exit class B" style="filled" fillcolor=red];
}
105 -> {104} [color=green];
subgraph cluster_29 {
color=red
119 [label="Enter function test_2" style="filled" fillcolor=red];
121 [label="Access variable R|<local>/a|"];
122 [label="Enter safe call"];
124 [label="Function call: $subj$.R|/B.foo|()"];
123 [label="Exit safe call"];
125 [label="Variable declaration: lval x: R|kotlin/Int?|"];
106 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
126 [label="Enter when"];
108 [label="Enter block"];
109 [label="Access variable R|<local>/a|"];
110 [label="Enter safe call"];
112 [label="Access variable R|/B.x|"];
111 [label="Exit safe call"];
113 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_31 {
color=blue
128 [label="Enter when branch condition "];
129 [label="Access variable R|<local>/x|"];
130 [label="Const: Null(null)"];
131 [label="Operator !="];
132 [label="Exit when branch condition"];
114 [label="Enter when"];
subgraph cluster_32 {
color=blue
116 [label="Enter when branch condition "];
117 [label="Access variable R|<local>/x|"];
118 [label="Const: Null(null)"];
119 [label="Operator !="];
120 [label="Exit when branch condition"];
}
127 [label="Synthetic else branch"];
121 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
122 [label="Enter block"];
123 [label="Access variable R|<local>/a|"];
124 [label="Function call: R|<local>/a|.R|/B.bar|()"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
115 [label="Exit when"];
}
139 [label="Synthetic else branch"];
133 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
134 [label="Enter block"];
135 [label="Access variable R|<local>/a|"];
136 [label="Function call: R|<local>/a|.R|/B.bar|()"];
137 [label="Exit block"];
}
138 [label="Exit when branch result"];
127 [label="Exit when"];
128 [label="Exit block"];
}
120 [label="Exit function test_2" style="filled" fillcolor=red];
107 [label="Exit function test_1" style="filled" fillcolor=red];
}
119 -> {121};
121 -> {122 123};
122 -> {124};
123 -> {125};
124 -> {123};
106 -> {108};
108 -> {109};
109 -> {110 111};
110 -> {112};
111 -> {113};
112 -> {111};
113 -> {114};
114 -> {116};
115 -> {128};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121 127};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {128};
127 -> {120};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133 139};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {127};
139 -> {127};
126 -> {115};
127 -> {115};
128 -> {107};
subgraph cluster_33 {
subgraph cluster_34 {
color=red
140 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_34 {
129 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
142 [label="Enter when"];
144 [label="Access variable R|<local>/x|"];
145 [label="Type operator: (R|<local>/x| as? R|B|)"];
146 [label="Variable declaration: lval <elvis>: R|B?|"];
subgraph cluster_35 {
color=blue
147 [label="Enter when branch condition "];
148 [label="Const: Null(null)"];
149 [label="Operator =="];
150 [label="Exit when branch condition"];
}
131 [label="Enter block"];
132 [label="Access variable R|<local>/a|"];
133 [label="Enter safe call"];
135 [label="Function call: $subj$.R|/B.foo|()"];
134 [label="Exit safe call"];
136 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_36 {
color=blue
157 [label="Enter when branch condition else"];
158 [label="Exit when branch condition"];
137 [label="Enter when"];
subgraph cluster_37 {
color=blue
139 [label="Enter when branch condition "];
140 [label="Access variable R|<local>/x|"];
141 [label="Const: Null(null)"];
142 [label="Operator !="];
143 [label="Exit when branch condition"];
}
150 [label="Synthetic else branch"];
144 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
145 [label="Enter block"];
146 [label="Access variable R|<local>/a|"];
147 [label="Function call: R|<local>/a|.R|/B.bar|()"];
148 [label="Exit block"];
}
149 [label="Exit when branch result"];
138 [label="Exit when"];
}
159 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
160 [label="Enter block"];
161 [label="Access variable R|<local>/<elvis>|"];
162 [label="Exit block"];
}
163 [label="Exit when branch result"];
151 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
152 [label="Enter block"];
153 [label="Jump: ^test_3 Unit"];
154 [label="Stub" style="filled" fillcolor=gray];
155 [label="Exit block" style="filled" fillcolor=gray];
}
156 [label="Exit when branch result" style="filled" fillcolor=gray];
143 [label="Exit when"];
151 [label="Exit block"];
}
164 [label="Variable declaration: lval a: R|B|"];
165 [label="Access variable R|<local>/a|"];
166 [label="Function call: R|<local>/a|.R|/B.foo|()"];
167 [label="Access variable R|<local>/x|"];
168 [label="Function call: R|<local>/x|.R|/B.foo|()"];
141 [label="Exit function test_3" style="filled" fillcolor=red];
130 [label="Exit function test_2" style="filled" fillcolor=red];
}
140 -> {142};
142 -> {144};
143 -> {164};
129 -> {131};
131 -> {132};
132 -> {133 134};
133 -> {135};
134 -> {136};
135 -> {134};
136 -> {137};
137 -> {139};
138 -> {151};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144 150};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151 157};
151 -> {152};
152 -> {153};
153 -> {141};
153 -> {154} [style=dotted];
154 -> {155} [style=dotted];
155 -> {156} [style=dotted];
156 -> {143} [style=dotted];
149 -> {138};
150 -> {138};
151 -> {130};
subgraph cluster_39 {
color=red
152 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
154 [label="Enter block"];
subgraph cluster_41 {
color=blue
155 [label="Enter when"];
157 [label="Access variable R|<local>/x|"];
158 [label="Type operator: (R|<local>/x| as? R|B|)"];
159 [label="Variable declaration: lval <elvis>: R|B?|"];
subgraph cluster_42 {
color=blue
160 [label="Enter when branch condition "];
161 [label="Const: Null(null)"];
162 [label="Operator =="];
163 [label="Exit when branch condition"];
}
subgraph cluster_43 {
color=blue
170 [label="Enter when branch condition else"];
171 [label="Exit when branch condition"];
}
172 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
173 [label="Enter block"];
174 [label="Access variable R|<local>/<elvis>|"];
175 [label="Exit block"];
}
176 [label="Exit when branch result"];
164 [label="Enter when branch result"];
subgraph cluster_45 {
color=blue
165 [label="Enter block"];
166 [label="Jump: ^test_3 Unit"];
167 [label="Stub" style="filled" fillcolor=gray];
168 [label="Exit block" style="filled" fillcolor=gray];
}
169 [label="Exit when branch result" style="filled" fillcolor=gray];
156 [label="Exit when"];
}
177 [label="Variable declaration: lval a: R|B|"];
178 [label="Access variable R|<local>/a|"];
179 [label="Function call: R|<local>/a|.R|/B.foo|()"];
180 [label="Access variable R|<local>/x|"];
181 [label="Function call: R|<local>/x|.R|/B.foo|()"];
182 [label="Exit block"];
}
153 [label="Exit function test_3" style="filled" fillcolor=red];
}
152 -> {154};
154 -> {155};
155 -> {157};
156 -> {177};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {143};
163 -> {164 170};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {141};
166 -> {153};
166 -> {167} [style=dotted];
167 -> {168} [style=dotted];
168 -> {169} [style=dotted];
169 -> {156} [style=dotted];
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {156};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {153};
}
@@ -6,295 +6,330 @@ digraph safeCallAndEqualityToBool_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function check" style="filled" fillcolor=red];
2 [label="Const: Boolean(true)"];
3 [label="Jump: ^check Boolean(true)"];
4 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Const: Boolean(true)"];
4 [label="Jump: ^check Boolean(true)"];
5 [label="Stub" style="filled" fillcolor=gray];
6 [label="Exit block" style="filled" fillcolor=gray];
}
1 [label="Exit function check" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {1};
3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
3 -> {4};
4 -> {1};
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
6 -> {1} [style=dotted];
subgraph cluster_1 {
subgraph cluster_2 {
color=red
5 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
7 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter when"];
subgraph cluster_3 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/s|"];
11 [label="Enter safe call"];
13 [label="Function call: $subj$.R|/check|()"];
12 [label="Exit safe call"];
14 [label="Const: Boolean(true)"];
15 [label="Operator =="];
16 [label="Exit when branch condition"];
}
9 [label="Enter block"];
subgraph cluster_4 {
color=blue
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
10 [label="Enter when"];
subgraph cluster_5 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/s|"];
14 [label="Enter safe call"];
16 [label="Function call: $subj$.R|/check|()"];
15 [label="Exit safe call"];
17 [label="Const: Boolean(true)"];
18 [label="Operator =="];
19 [label="Exit when branch condition"];
}
subgraph cluster_6 {
color=blue
26 [label="Enter when branch condition else"];
27 [label="Exit when branch condition"];
}
28 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
29 [label="Enter block"];
30 [label="Access variable R|<local>/s|"];
31 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
32 [label="Exit block"];
}
33 [label="Exit when branch result"];
20 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
22 [label="Access variable R|<local>/s|"];
23 [label="Access variable R|kotlin/String.length|"];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
11 [label="Exit when"];
}
25 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/s|"];
28 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
17 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/s|"];
20 [label="Access variable R|kotlin/String.length|"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
8 [label="Exit when"];
34 [label="Exit block"];
}
6 [label="Exit function test_1" style="filled" fillcolor=red];
8 [label="Exit function test_1" style="filled" fillcolor=red];
}
5 -> {7};
7 -> {9};
8 -> {6};
9 -> {10};
10 -> {11 12};
11 -> {13};
12 -> {14};
13 -> {12};
14 -> {15};
15 -> {16};
16 -> {17 23};
10 -> {12};
11 -> {34};
12 -> {13};
13 -> {14 15};
14 -> {16};
15 -> {17};
16 -> {15};
17 -> {18};
18 -> {19};
19 -> {20};
19 -> {20 26};
20 -> {21};
21 -> {22};
22 -> {8};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
25 -> {11};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {8};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {11};
34 -> {8};
subgraph cluster_7 {
subgraph cluster_9 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 {
35 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
33 [label="Enter when"];
subgraph cluster_9 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/s|"];
37 [label="Enter safe call"];
39 [label="Function call: $subj$.R|/check|()"];
38 [label="Exit safe call"];
40 [label="Const: Boolean(false)"];
41 [label="Operator =="];
42 [label="Exit when branch condition"];
}
subgraph cluster_10 {
color=blue
49 [label="Enter when branch condition else"];
50 [label="Exit when branch condition"];
}
51 [label="Enter when branch result"];
37 [label="Enter block"];
subgraph cluster_11 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/s|"];
54 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
55 [label="Exit block"];
38 [label="Enter when"];
subgraph cluster_12 {
color=blue
40 [label="Enter when branch condition "];
41 [label="Access variable R|<local>/s|"];
42 [label="Enter safe call"];
44 [label="Function call: $subj$.R|/check|()"];
43 [label="Exit safe call"];
45 [label="Const: Boolean(false)"];
46 [label="Operator =="];
47 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
54 [label="Enter when branch condition else"];
55 [label="Exit when branch condition"];
}
56 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
57 [label="Enter block"];
58 [label="Access variable R|<local>/s|"];
59 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
60 [label="Exit block"];
}
61 [label="Exit when branch result"];
48 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/s|"];
51 [label="Access variable R|kotlin/String.length|"];
52 [label="Exit block"];
}
53 [label="Exit when branch result"];
39 [label="Exit when"];
}
56 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/s|"];
46 [label="Access variable R|kotlin/String.length|"];
47 [label="Exit block"];
}
48 [label="Exit when branch result"];
34 [label="Exit when"];
62 [label="Exit block"];
}
32 [label="Exit function test_2" style="filled" fillcolor=red];
36 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {33};
33 -> {35};
34 -> {32};
35 -> {36};
36 -> {37 38};
37 -> {39};
35 -> {37};
37 -> {38};
38 -> {40};
39 -> {38};
39 -> {62};
40 -> {41};
41 -> {42};
42 -> {43 49};
43 -> {44};
44 -> {45};
41 -> {42 43};
42 -> {44};
43 -> {45};
44 -> {43};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {34};
47 -> {48 54};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
53 -> {39};
54 -> {55};
55 -> {56};
56 -> {34};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {39};
62 -> {36};
subgraph cluster_13 {
subgraph cluster_16 {
color=red
57 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_14 {
63 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
59 [label="Enter when"];
subgraph cluster_15 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/s|"];
63 [label="Enter safe call"];
65 [label="Function call: $subj$.R|/check|()"];
64 [label="Exit safe call"];
66 [label="Const: Boolean(true)"];
67 [label="Operator !="];
68 [label="Exit when branch condition"];
}
subgraph cluster_16 {
color=blue
75 [label="Enter when branch condition else"];
76 [label="Exit when branch condition"];
}
77 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/s|"];
80 [label="Access variable R|kotlin/String.length|"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
69 [label="Enter when branch result"];
65 [label="Enter block"];
subgraph cluster_18 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/s|"];
72 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
73 [label="Exit block"];
66 [label="Enter when"];
subgraph cluster_19 {
color=blue
68 [label="Enter when branch condition "];
69 [label="Access variable R|<local>/s|"];
70 [label="Enter safe call"];
72 [label="Function call: $subj$.R|/check|()"];
71 [label="Exit safe call"];
73 [label="Const: Boolean(true)"];
74 [label="Operator !="];
75 [label="Exit when branch condition"];
}
subgraph cluster_20 {
color=blue
82 [label="Enter when branch condition else"];
83 [label="Exit when branch condition"];
}
84 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
85 [label="Enter block"];
86 [label="Access variable R|<local>/s|"];
87 [label="Access variable R|kotlin/String.length|"];
88 [label="Exit block"];
}
89 [label="Exit when branch result"];
76 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
77 [label="Enter block"];
78 [label="Access variable R|<local>/s|"];
79 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
80 [label="Exit block"];
}
81 [label="Exit when branch result"];
67 [label="Exit when"];
}
74 [label="Exit when branch result"];
60 [label="Exit when"];
90 [label="Exit block"];
}
58 [label="Exit function test_3" style="filled" fillcolor=red];
64 [label="Exit function test_3" style="filled" fillcolor=red];
}
57 -> {59};
59 -> {61};
60 -> {58};
61 -> {62};
62 -> {63 64};
63 -> {65};
64 -> {66};
65 -> {64};
66 -> {67};
67 -> {68};
68 -> {69 75};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
65 -> {66};
66 -> {68};
67 -> {90};
68 -> {69};
69 -> {70 71};
70 -> {72};
71 -> {73};
72 -> {71};
73 -> {74};
74 -> {60};
75 -> {76};
74 -> {75};
75 -> {76 82};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {60};
subgraph cluster_19 {
color=red
83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
85 [label="Enter when"];
subgraph cluster_21 {
color=blue
87 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/s|"];
89 [label="Enter safe call"];
91 [label="Function call: $subj$.R|/check|()"];
90 [label="Exit safe call"];
92 [label="Const: Boolean(false)"];
93 [label="Operator !="];
94 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
101 [label="Enter when branch condition else"];
102 [label="Exit when branch condition"];
}
103 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/s|"];
106 [label="Access variable R|kotlin/String.length|"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
95 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
96 [label="Enter block"];
97 [label="Access variable R|<local>/s|"];
98 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
99 [label="Exit block"];
}
100 [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};
81 -> {67};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89 90};
89 -> {91};
90 -> {92};
91 -> {90};
92 -> {93};
88 -> {89};
89 -> {67};
90 -> {64};
subgraph cluster_23 {
color=red
91 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
93 [label="Enter block"];
subgraph cluster_25 {
color=blue
94 [label="Enter when"];
subgraph cluster_26 {
color=blue
96 [label="Enter when branch condition "];
97 [label="Access variable R|<local>/s|"];
98 [label="Enter safe call"];
100 [label="Function call: $subj$.R|/check|()"];
99 [label="Exit safe call"];
101 [label="Const: Boolean(false)"];
102 [label="Operator !="];
103 [label="Exit when branch condition"];
}
subgraph cluster_27 {
color=blue
110 [label="Enter when branch condition else"];
111 [label="Exit when branch condition"];
}
112 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/s|"];
115 [label="Access variable R|kotlin/String.length|"];
116 [label="Exit block"];
}
117 [label="Exit when branch result"];
104 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
105 [label="Enter block"];
106 [label="Access variable R|<local>/s|"];
107 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
108 [label="Exit block"];
}
109 [label="Exit when branch result"];
95 [label="Exit when"];
}
118 [label="Exit block"];
}
92 [label="Exit function test_4" style="filled" fillcolor=red];
}
91 -> {93};
93 -> {94};
94 -> {95 101};
95 -> {96};
94 -> {96};
95 -> {118};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {86};
97 -> {98 99};
98 -> {100};
99 -> {101};
100 -> {99};
101 -> {102};
102 -> {103};
103 -> {104};
103 -> {104 110};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {86};
108 -> {109};
109 -> {95};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {95};
118 -> {92};
}
@@ -6,233 +6,301 @@ digraph safeCalls_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
2 [label="Const: String()"];
3 [label="Jump: ^foo String()"];
4 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Const: String()"];
4 [label="Jump: ^foo String()"];
5 [label="Stub" style="filled" fillcolor=gray];
6 [label="Exit block" style="filled" fillcolor=gray];
}
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {1};
3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 {
color=red
5 [label="Enter function let" style="filled" fillcolor=red];
6 [label="Exit function let" style="filled" fillcolor=red];
}
5 -> {6};
3 -> {4};
4 -> {1};
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
6 -> {1} [style=dotted];
subgraph cluster_2 {
color=red
7 [label="Enter function test" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/x|"];
10 [label="Enter safe call"];
12 [label="Access variable R|<local>/x|"];
13 [label="Access variable R|kotlin/String.length|"];
14 [label="Const: Int(1)"];
15 [label="Operator =="];
16 [label="Function call: $subj$.R|/foo|(...)"];
11 [label="Exit safe call"];
17 [label="Access variable R|<local>/x|"];
18 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
8 [label="Exit function test" style="filled" fillcolor=red];
7 [label="Enter function let" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
9 [label="Enter block"];
10 [label="Exit block"];
}
8 [label="Exit function let" style="filled" fillcolor=red];
}
7 -> {9};
9 -> {10 11};
10 -> {12};
11 -> {17};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {11};
17 -> {18};
18 -> {8};
subgraph cluster_3 {
color=red
19 [label="Enter function bar" style="filled" fillcolor=red];
20 [label="Exit function bar" style="filled" fillcolor=red];
}
19 -> {20};
9 -> {10};
10 -> {8};
subgraph cluster_4 {
color=red
21 [label="Enter function bool" style="filled" fillcolor=red];
22 [label="Exit function bool" style="filled" fillcolor=red];
}
21 -> {22};
subgraph cluster_5 {
color=red
23 [label="Enter function id" style="filled" fillcolor=red];
24 [label="Exit function id" style="filled" fillcolor=red];
11 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/x|"];
15 [label="Enter safe call"];
17 [label="Access variable R|<local>/x|"];
18 [label="Access variable R|kotlin/String.length|"];
19 [label="Const: Int(1)"];
20 [label="Operator =="];
21 [label="Function call: $subj$.R|/foo|(...)"];
16 [label="Exit safe call"];
22 [label="Access variable R|<local>/x|"];
23 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
24 [label="Exit block"];
}
12 [label="Exit function test" style="filled" fillcolor=red];
}
11 -> {13};
13 -> {14};
14 -> {15 16};
15 -> {17};
16 -> {22};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {16};
22 -> {23};
23 -> {24};
24 -> {12};
subgraph cluster_6 {
color=red
25 [label="Enter class A" style="filled" fillcolor=red];
26 [label="Exit class A" style="filled" fillcolor=red];
25 [label="Enter function bar" style="filled" fillcolor=red];
26 [label="Exit function bar" style="filled" fillcolor=red];
}
25 -> {26} [color=green];
25 -> {26};
subgraph cluster_7 {
color=red
27 [label="Enter function test_2" style="filled" fillcolor=red];
29 [label="Access variable R|<local>/x|"];
30 [label="Type operator: (R|<local>/x| as? R|A|)"];
31 [label="Enter safe call"];
33 [label="Access variable R|<local>/x|"];
34 [label="Function call: $subj$.R|/A.bar|(...)"];
32 [label="Exit safe call"];
28 [label="Exit function test_2" style="filled" fillcolor=red];
27 [label="Enter function bool" style="filled" fillcolor=red];
28 [label="Exit function bool" style="filled" fillcolor=red];
}
27 -> {29};
29 -> {30};
30 -> {31 32};
31 -> {33};
32 -> {28};
33 -> {34};
34 -> {32};
27 -> {28};
subgraph cluster_8 {
color=red
35 [label="Enter function test_3" style="filled" fillcolor=red];
37 [label="Access variable R|<local>/x|"];
38 [label="Type operator: (R|<local>/x| as? R|A|)"];
39 [label="Enter safe call"];
41 [label="Access variable R|<local>/x|"];
42 [label="Function call: $subj$.R|/A.bar|(...)"];
40 [label="Exit safe call"];
43 [label="Enter safe call"];
45 [label="Access variable R|<local>/x|"];
46 [label="Function call: R|<local>/x|.R|/A.bool|()"];
47 [label="Function call: $subj$.R|/foo|(...)"];
44 [label="Exit safe call"];
48 [label="Enter safe call"];
50 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
55 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
57 [label="Access variable R|<local>/x|"];
58 [label="Function call: R|<local>/x|.R|/A.bool|()"];
56 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
51 [label="Postponed exit from lambda"];
52 [label="Function call: $subj$.R|/let|(...)"];
49 [label="Exit safe call"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
36 [label="Exit function test_3" style="filled" fillcolor=red];
29 [label="Enter function id" style="filled" fillcolor=red];
30 [label="Exit function id" style="filled" fillcolor=red];
}
35 -> {37};
37 -> {38};
38 -> {39 40};
39 -> {41};
40 -> {43 44};
41 -> {42};
42 -> {40};
43 -> {45};
44 -> {48 49};
45 -> {46};
46 -> {47};
47 -> {44};
48 -> {50};
49 -> {53};
50 -> {51};
50 -> {55} [color=red];
51 -> {52};
52 -> {49};
53 -> {54};
54 -> {36};
55 -> {57};
57 -> {58};
58 -> {56};
29 -> {30};
subgraph cluster_9 {
color=red
32 [label="Enter class A" style="filled" fillcolor=red];
31 [label="Exit class A" style="filled" fillcolor=red];
}
32 -> {31} [color=green];
subgraph cluster_10 {
color=red
59 [label="Enter function test_4" style="filled" fillcolor=red];
61 [label="Access variable R|<local>/x|"];
62 [label="Enter safe call"];
64 [label="Function call: $subj$.R|/A.id|()"];
63 [label="Exit safe call"];
65 [label="Enter safe call"];
67 [label="Function call: $subj$.R|/A.bool|()"];
66 [label="Exit safe call"];
68 [label="Access variable R|<local>/x|"];
69 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
60 [label="Exit function test_4" style="filled" fillcolor=red];
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
36 [label="Access variable R|<local>/x|"];
37 [label="Type operator: (R|<local>/x| as? R|A|)"];
38 [label="Enter safe call"];
40 [label="Access variable R|<local>/x|"];
41 [label="Function call: $subj$.R|/A.bar|(...)"];
39 [label="Exit safe call"];
42 [label="Exit block"];
}
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
59 -> {61};
61 -> {62 63};
62 -> {64};
63 -> {65 66};
64 -> {63};
65 -> {67};
66 -> {68};
67 -> {66};
68 -> {69};
69 -> {60};
subgraph cluster_11 {
color=red
70 [label="Enter function boo" style="filled" fillcolor=red];
71 [label="Exit function boo" style="filled" fillcolor=red];
}
70 -> {71};
33 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 39};
38 -> {40};
39 -> {42};
40 -> {41};
41 -> {39};
42 -> {34};
subgraph cluster_12 {
color=red
72 [label="Enter function test_5" style="filled" fillcolor=red];
74 [label="Access variable R|<local>/x|"];
75 [label="Enter safe call"];
77 [label="Postponed enter to lambda"];
43 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
89 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
91 [label="Jump: ^test_5 Unit"];
92 [label="Stub" style="filled" fillcolor=gray];
90 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
45 [label="Enter block"];
46 [label="Access variable R|<local>/x|"];
47 [label="Type operator: (R|<local>/x| as? R|A|)"];
48 [label="Enter safe call"];
50 [label="Access variable R|<local>/x|"];
51 [label="Function call: $subj$.R|/A.bar|(...)"];
49 [label="Exit safe call"];
52 [label="Enter safe call"];
54 [label="Access variable R|<local>/x|"];
55 [label="Function call: R|<local>/x|.R|/A.bool|()"];
56 [label="Function call: $subj$.R|/foo|(...)"];
53 [label="Exit safe call"];
57 [label="Enter safe call"];
59 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
65 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Function call: R|<local>/x|.R|/A.bool|()"];
70 [label="Exit block"];
}
66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
60 [label="Postponed exit from lambda"];
61 [label="Function call: $subj$.R|/let|(...)"];
58 [label="Exit safe call"];
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
64 [label="Exit block"];
}
80 [label="Call arguments union" style="filled" fillcolor=gray];
78 [label="Postponed exit from lambda"];
79 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
81 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit safe call"];
82 [label="Enter safe call"];
84 [label="Access variable R|<local>/x|"];
85 [label="Function call: R|<local>/x|.R|/A.bool|()"];
86 [label="Function call: $subj$.R|/boo|(...)"];
83 [label="Exit safe call"];
87 [label="Access variable R|<local>/x|"];
88 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
73 [label="Exit function test_5" style="filled" fillcolor=red];
44 [label="Exit function test_3" style="filled" fillcolor=red];
}
72 -> {74};
43 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 49};
48 -> {50};
49 -> {52 53};
50 -> {51};
51 -> {49};
52 -> {54};
53 -> {57 58};
54 -> {55};
55 -> {56};
56 -> {53};
57 -> {59};
58 -> {62};
59 -> {60 65};
60 -> {61};
61 -> {58};
62 -> {63};
63 -> {64};
64 -> {44};
65 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {66};
subgraph cluster_16 {
color=red
71 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
73 [label="Enter block"];
74 [label="Access variable R|<local>/x|"];
75 [label="Enter safe call"];
77 [label="Function call: $subj$.R|/A.id|()"];
76 [label="Exit safe call"];
78 [label="Enter safe call"];
80 [label="Function call: $subj$.R|/A.bool|()"];
79 [label="Exit safe call"];
81 [label="Access variable R|<local>/x|"];
82 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
83 [label="Exit block"];
}
72 [label="Exit function test_4" style="filled" fillcolor=red];
}
71 -> {73};
73 -> {74};
74 -> {75 76};
75 -> {77};
76 -> {82 83};
77 -> {89};
77 -> {78} [color=red];
78 -> {79} [color=green];
79 -> {73 81} [style=dotted];
80 -> {79} [style=dotted];
81 -> {76} [style=dotted];
82 -> {84};
83 -> {87};
84 -> {85};
85 -> {86};
86 -> {83};
87 -> {88};
88 -> {73} [style=dotted];
89 -> {91};
90 -> {80} [style=dotted];
90 -> {78} [color=green];
91 -> {73};
91 -> {92} [style=dotted];
92 -> {90} [style=dotted];
76 -> {78 79};
77 -> {76};
78 -> {80};
79 -> {81};
80 -> {79};
81 -> {82};
82 -> {83};
83 -> {72};
subgraph cluster_18 {
color=red
84 [label="Enter function boo" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
86 [label="Enter block"];
87 [label="Exit block"];
}
85 [label="Exit function boo" style="filled" fillcolor=red];
}
84 -> {86};
86 -> {87};
87 -> {85};
subgraph cluster_20 {
color=red
88 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/x|"];
92 [label="Enter safe call"];
94 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
107 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
109 [label="Enter block"];
110 [label="Jump: ^test_5 Unit"];
111 [label="Stub" style="filled" fillcolor=gray];
112 [label="Exit block" style="filled" fillcolor=gray];
}
108 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
97 [label="Call arguments union" style="filled" fillcolor=gray];
95 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
96 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
98 [label="Stub" style="filled" fillcolor=gray];
93 [label="Exit safe call"];
99 [label="Enter safe call"];
101 [label="Access variable R|<local>/x|"];
102 [label="Function call: R|<local>/x|.R|/A.bool|()"];
103 [label="Function call: $subj$.R|/boo|(...)"];
100 [label="Exit safe call"];
104 [label="Access variable R|<local>/x|"];
105 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
106 [label="Exit block"];
}
89 [label="Exit function test_5" style="filled" fillcolor=red];
}
88 -> {90};
90 -> {91};
91 -> {92 93};
92 -> {94};
93 -> {99 100};
94 -> {107};
94 -> {95} [color=red];
95 -> {96} [style=dotted];
96 -> {89 98} [style=dotted];
97 -> {96} [style=dotted];
98 -> {93} [style=dotted];
99 -> {101};
100 -> {104};
101 -> {102};
102 -> {103};
103 -> {100};
104 -> {105};
105 -> {106};
106 -> {89};
107 -> {109};
108 -> {95 97} [style=dotted];
109 -> {110};
110 -> {89};
110 -> {111} [style=dotted];
111 -> {112} [style=dotted];
112 -> {108} [style=dotted];
}
@@ -30,7 +30,7 @@ fun test_4(x: A?) {
x.<!INAPPLICABLE_CANDIDATE!>id<!>()
}
fun Any?.boo(b: Boolean)
fun Any?.boo(b: Boolean) {}
fun test_5(x: A?) {
x?.let { return }?.boo(x.bool())
@@ -30,7 +30,8 @@ FILE: safeCalls.kt
R|<local>/x|?.{ $subj$.R|/A.id|() }?.{ $subj$.R|/A.bool|() }
R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()
}
public final fun R|kotlin/Any?|.boo(b: R|kotlin/Boolean|): R|kotlin/Unit|
public final fun R|kotlin/Any?|.boo(b: R|kotlin/Boolean|): R|kotlin/Unit| {
}
public final fun test_5(x: R|A?|): R|kotlin/Unit| {
R|<local>/x|?.{ $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
^test_5 Unit
@@ -5,10 +5,10 @@ digraph smartCastInInit_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class I" style="filled" fillcolor=red];
1 [label="Exit class I" style="filled" fillcolor=red];
1 [label="Enter class I" style="filled" fillcolor=red];
0 [label="Exit class I" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {0} [color=green];
subgraph cluster_1 {
color=red
@@ -19,49 +19,53 @@ digraph smartCastInInit_kt {
subgraph cluster_2 {
color=red
4 [label="Enter class S" style="filled" fillcolor=red];
5 [label="Exit class S" style="filled" fillcolor=red];
5 [label="Enter class S" style="filled" fillcolor=red];
4 [label="Exit class S" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
5 -> {4} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function s" style="filled" fillcolor=red];
8 [label="Function call: R|kotlin/TODO|()"];
9 [label="Stub" style="filled" fillcolor=gray];
10 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray];
11 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_4 {
color=blue
8 [label="Enter block"];
9 [label="Function call: R|kotlin/TODO|()"];
10 [label="Stub" style="filled" fillcolor=gray];
11 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray];
12 [label="Stub" style="filled" fillcolor=gray];
13 [label="Exit block" style="filled" fillcolor=gray];
}
7 [label="Exit function s" style="filled" fillcolor=red];
}
6 -> {8};
8 -> {7};
8 -> {9} [style=dotted];
8 -> {9};
9 -> {7};
9 -> {10} [style=dotted];
10 -> {7 11} [style=dotted];
11 -> {7} [style=dotted];
subgraph cluster_4 {
color=red
12 [label="Enter function <init>" style="filled" fillcolor=red];
14 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
13 [label="Exit function <init>" style="filled" fillcolor=red];
}
12 -> {14};
14 -> {13};
10 -> {11} [style=dotted];
11 -> {7 12} [style=dotted];
12 -> {13} [style=dotted];
13 -> {7} [style=dotted];
subgraph cluster_5 {
color=red
27 [label="Enter class Main" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Enter function getter" style="filled" fillcolor=red];
16 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Exit property" style="filled" fillcolor=red];
}
14 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
15 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {16};
16 -> {15};
subgraph cluster_6 {
color=red
17 [label="Enter function getter" style="filled" fillcolor=red];
18 [label="Exit function getter" style="filled" fillcolor=red];
}
17 -> {18};
subgraph cluster_7 {
color=red
28 [label="Enter class Main" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
19 [label="Enter init block" style="filled" fillcolor=red];
@@ -76,14 +80,11 @@ digraph smartCastInInit_kt {
}
20 [label="Exit init block" style="filled" fillcolor=red];
}
28 [label="Exit class Main" style="filled" fillcolor=red];
27 [label="Exit class Main" style="filled" fillcolor=red];
}
27 -> {17} [color=green];
17 -> {18};
18 -> {19} [color=green];
15 -> {16};
28 -> {19} [color=green];
19 -> {21};
20 -> {28} [color=green];
20 -> {27} [color=green];
21 -> {22};
22 -> {23};
23 -> {24};
@@ -6,263 +6,302 @@ digraph smartcastToNothing_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function getNothing" style="filled" fillcolor=red];
2 [label="Function call: R|java/lang/Exception.Exception|()"];
3 [label="Throw: throw R|java/lang/Exception.Exception|()"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
6 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Function call: R|java/lang/Exception.Exception|()"];
4 [label="Throw: throw R|java/lang/Exception.Exception|()"];
5 [label="Stub" style="filled" fillcolor=gray];
6 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
7 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit block" style="filled" fillcolor=gray];
}
1 [label="Exit function getNothing" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {1};
3 -> {4} [style=dotted];
3 -> {4};
4 -> {1};
4 -> {5} [style=dotted];
5 -> {1 6} [style=dotted];
6 -> {1} [style=dotted];
subgraph cluster_1 {
color=red
7 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
9 [label="Const: Null(null)"];
10 [label="Jump: ^getNullableNothing Null(null)"];
11 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
}
7 -> {9};
9 -> {10};
10 -> {8};
10 -> {11} [style=dotted];
11 -> {8} [style=dotted];
5 -> {6} [style=dotted];
6 -> {1 7} [style=dotted];
7 -> {8} [style=dotted];
8 -> {1} [style=dotted];
subgraph cluster_2 {
color=red
17 [label="Enter property" style="filled" fillcolor=red];
9 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
12 [label="Enter function getter" style="filled" fillcolor=red];
14 [label="Const: Int(1)"];
15 [label="Jump: ^ Int(1)"];
16 [label="Stub" style="filled" fillcolor=gray];
13 [label="Exit function getter" style="filled" fillcolor=red];
11 [label="Enter block"];
12 [label="Const: Null(null)"];
13 [label="Jump: ^getNullableNothing Null(null)"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
}
18 [label="Exit property" style="filled" fillcolor=red];
10 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
}
17 -> {18};
12 -> {14};
14 -> {15};
15 -> {13};
15 -> {16} [style=dotted];
16 -> {13} [style=dotted];
9 -> {11};
11 -> {12};
12 -> {13};
13 -> {10};
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
15 -> {10} [style=dotted];
subgraph cluster_4 {
color=red
24 [label="Enter property" style="filled" fillcolor=red];
16 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
19 [label="Enter function getter" style="filled" fillcolor=red];
21 [label="Const: Int(2)"];
22 [label="Jump: ^ Int(2)"];
23 [label="Stub" style="filled" fillcolor=gray];
20 [label="Exit function getter" style="filled" fillcolor=red];
18 [label="Enter block"];
19 [label="Const: Int(1)"];
20 [label="Jump: ^ Int(1)"];
21 [label="Stub" style="filled" fillcolor=gray];
22 [label="Exit block" style="filled" fillcolor=gray];
}
25 [label="Exit property" style="filled" fillcolor=red];
17 [label="Exit function getter" style="filled" fillcolor=red];
}
24 -> {25};
19 -> {21};
21 -> {22};
22 -> {20};
22 -> {23} [style=dotted];
23 -> {20} [style=dotted];
16 -> {18};
18 -> {19};
19 -> {20};
20 -> {17};
20 -> {21} [style=dotted];
21 -> {22} [style=dotted];
22 -> {17} [style=dotted];
subgraph cluster_6 {
color=red
26 [label="Enter function myListOf" style="filled" fillcolor=red];
28 [label="Const: Null(null)"];
29 [label="Check not null: Null(null)!!"];
30 [label="Jump: ^myListOf Null(null)!!"];
31 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit function myListOf" style="filled" fillcolor=red];
23 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
25 [label="Enter block"];
26 [label="Const: Int(2)"];
27 [label="Jump: ^ Int(2)"];
28 [label="Stub" style="filled" fillcolor=gray];
29 [label="Exit block" style="filled" fillcolor=gray];
}
24 [label="Exit function getter" style="filled" fillcolor=red];
}
26 -> {28};
28 -> {29};
29 -> {30};
30 -> {27};
30 -> {31} [style=dotted];
31 -> {27} [style=dotted];
subgraph cluster_7 {
color=red
32 [label="Enter function <init>" style="filled" fillcolor=red];
34 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
33 [label="Exit function <init>" style="filled" fillcolor=red];
}
32 -> {34};
34 -> {33};
23 -> {25};
25 -> {26};
26 -> {27};
27 -> {24};
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {24} [style=dotted];
subgraph cluster_8 {
color=red
45 [label="Enter class A" style="filled" fillcolor=red];
30 [label="Enter function myListOf" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
40 [label="Enter function getter" style="filled" fillcolor=red];
41 [label="Exit function getter" style="filled" fillcolor=red];
32 [label="Enter block"];
33 [label="Const: Null(null)"];
34 [label="Check not null: Null(null)!!"];
35 [label="Jump: ^myListOf Null(null)!!"];
36 [label="Stub" style="filled" fillcolor=gray];
37 [label="Exit block" style="filled" fillcolor=gray];
}
subgraph cluster_10 {
color=blue
35 [label="Enter function getter" style="filled" fillcolor=red];
36 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_11 {
color=blue
37 [label="Enter property" style="filled" fillcolor=red];
39 [label="Const: Int(1)"];
38 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_12 {
color=blue
42 [label="Enter property" style="filled" fillcolor=red];
44 [label="Const: Boolean(true)"];
43 [label="Exit property" style="filled" fillcolor=red];
}
46 [label="Exit class A" style="filled" fillcolor=red];
31 [label="Exit function myListOf" style="filled" fillcolor=red];
}
45 -> {37} [color=green];
37 -> {39};
38 -> {42} [color=green];
39 -> {38};
35 -> {36};
42 -> {44};
43 -> {46} [color=green];
44 -> {43};
40 -> {41};
30 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {31};
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {31} [style=dotted];
subgraph cluster_10 {
color=red
38 [label="Enter function <init>" style="filled" fillcolor=red];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
39 [label="Exit function <init>" style="filled" fillcolor=red];
}
38 -> {40};
40 -> {39};
subgraph cluster_11 {
color=red
41 [label="Enter function getter" style="filled" fillcolor=red];
42 [label="Exit function getter" style="filled" fillcolor=red];
}
41 -> {42};
subgraph cluster_12 {
color=red
46 [label="Enter function getter" style="filled" fillcolor=red];
47 [label="Exit function getter" style="filled" fillcolor=red];
}
46 -> {47};
subgraph cluster_13 {
color=red
47 [label="Enter function test_0" style="filled" fillcolor=red];
49 [label="Const: Null(null)"];
50 [label="Variable declaration: lvar s: R|A?|"];
51 [label="Access variable R|<local>/results|"];
52 [label="Function call: R|<local>/results|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
53 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
52 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
54 [label="Enter while loop"];
subgraph cluster_15 {
color=blue
56 [label="Enter loop condition"];
57 [label="Access variable R|<local>/<iterator>|"];
58 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
59 [label="Exit loop condition"];
}
subgraph cluster_16 {
color=blue
60 [label="Enter loop block"];
subgraph cluster_17 {
color=blue
61 [label="Enter block"];
62 [label="Access variable R|<local>/<iterator>|"];
63 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
66 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
67 [label="Stub" style="filled" fillcolor=gray];
68 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_18 {
color=blue
69 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_19 {
color=blue
71 [label="Enter when branch condition " style="filled" fillcolor=gray];
72 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
75 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
82 [label="Synthetic else branch" style="filled" fillcolor=gray];
76 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_20 {
color=blue
77 [label="Enter block" style="filled" fillcolor=gray];
78 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
79 [label="Stub" style="filled" fillcolor=gray];
80 [label="Exit block" style="filled" fillcolor=gray];
}
81 [label="Exit when branch result" style="filled" fillcolor=gray];
70 [label="Exit when" style="filled" fillcolor=gray];
}
83 [label="Exit block" style="filled" fillcolor=gray];
}
84 [label="Exit loop block" style="filled" fillcolor=gray];
}
55 [label="Exit whileloop"];
43 [label="Enter property" style="filled" fillcolor=red];
45 [label="Const: Int(1)"];
44 [label="Exit property" style="filled" fillcolor=red];
}
85 [label="Access variable R|<local>/s|"];
86 [label="Enter safe call"];
88 [label="Postponed enter to lambda"];
subgraph cluster_21 {
subgraph cluster_15 {
color=blue
92 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
94 [label="Access variable R|<local>/it|"];
95 [label="Access variable R|/A.a|"];
93 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
48 [label="Enter property" style="filled" fillcolor=red];
50 [label="Const: Boolean(true)"];
49 [label="Exit property" style="filled" fillcolor=red];
}
91 [label="Call arguments union" style="filled" fillcolor=yellow];
89 [label="Postponed exit from lambda"];
90 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
87 [label="Exit safe call"];
48 [label="Exit function test_0" style="filled" fillcolor=red];
51 [label="Exit class A" style="filled" fillcolor=red];
}
47 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {56};
55 -> {85};
52 -> {43} [color=green];
43 -> {45};
44 -> {48} [color=green];
45 -> {44};
48 -> {50};
49 -> {51} [color=green];
50 -> {49};
subgraph cluster_16 {
color=red
53 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
55 [label="Enter block"];
56 [label="Const: Null(null)"];
57 [label="Variable declaration: lvar s: R|A?|"];
58 [label="Access variable R|<local>/results|"];
59 [label="Function call: R|<local>/results|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
60 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_18 {
color=blue
61 [label="Enter while loop"];
subgraph cluster_19 {
color=blue
63 [label="Enter loop condition"];
64 [label="Access variable R|<local>/<iterator>|"];
65 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
66 [label="Exit loop condition"];
}
subgraph cluster_20 {
color=blue
67 [label="Enter loop block"];
subgraph cluster_21 {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/<iterator>|"];
70 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
71 [label="Stub" style="filled" fillcolor=gray];
72 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
73 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
74 [label="Stub" style="filled" fillcolor=gray];
75 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_22 {
color=blue
76 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_23 {
color=blue
78 [label="Enter when branch condition " style="filled" fillcolor=gray];
79 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
80 [label="Stub" style="filled" fillcolor=gray];
81 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
82 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
89 [label="Synthetic else branch" style="filled" fillcolor=gray];
83 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_24 {
color=blue
84 [label="Enter block" style="filled" fillcolor=gray];
85 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
86 [label="Stub" style="filled" fillcolor=gray];
87 [label="Exit block" style="filled" fillcolor=gray];
}
88 [label="Exit when branch result" style="filled" fillcolor=gray];
77 [label="Exit when" style="filled" fillcolor=gray];
}
90 [label="Exit block" style="filled" fillcolor=gray];
}
91 [label="Exit loop block" style="filled" fillcolor=gray];
}
62 [label="Exit whileloop"];
}
92 [label="Access variable R|<local>/s|"];
93 [label="Enter safe call"];
95 [label="Postponed enter to lambda"];
subgraph cluster_25 {
color=blue
100 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
102 [label="Enter block"];
103 [label="Access variable R|<local>/it|"];
104 [label="Access variable R|/A.a|"];
105 [label="Exit block"];
}
101 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
98 [label="Call arguments union" style="filled" fillcolor=yellow];
96 [label="Postponed exit from lambda"];
97 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
94 [label="Exit safe call"];
99 [label="Exit block"];
}
54 [label="Exit function test_0" style="filled" fillcolor=red];
}
53 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {55 60};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {48};
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
66 -> {48 67} [style=dotted];
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {71} [style=dotted];
70 -> {83} [style=dotted];
61 -> {63};
62 -> {92};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {62 67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {54};
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {48 73} [style=dotted];
73 -> {74} [style=dotted];
72 -> {73} [style=dotted];
73 -> {54 74} [style=dotted];
74 -> {75} [style=dotted];
75 -> {76 82} [style=dotted];
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {55 79} [style=dotted];
79 -> {80} [style=dotted];
75 -> {76} [style=dotted];
76 -> {78} [style=dotted];
77 -> {90} [style=dotted];
78 -> {79} [style=dotted];
79 -> {54 80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {70} [style=dotted];
82 -> {70} [style=dotted];
81 -> {82} [style=dotted];
82 -> {83 89} [style=dotted];
83 -> {84} [style=dotted];
84 -> {56} [color=green style=dotted];
85 -> {86 87};
86 -> {88};
87 -> {48} [style=dotted];
88 -> {92};
88 -> {89} [color=red];
89 -> {90} [color=green];
90 -> {87};
91 -> {90} [color=red];
92 -> {94};
93 -> {89} [color=green];
93 -> {91} [color=red];
94 -> {95};
95 -> {93};
84 -> {85} [style=dotted];
85 -> {62 86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {77} [style=dotted];
89 -> {77} [style=dotted];
90 -> {91} [style=dotted];
91 -> {63} [color=green style=dotted];
92 -> {93 94};
93 -> {95};
94 -> {99};
95 -> {100};
95 -> {96} [color=red];
96 -> {97} [color=green];
97 -> {94};
98 -> {97} [color=red];
99 -> {54};
100 -> {102};
101 -> {96} [color=green];
101 -> {98} [color=red];
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {101};
}
@@ -14,25 +14,26 @@ digraph overridenOpenVal_kt {
subgraph cluster_1 {
color=red
8 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
3 -> {4};
subgraph cluster_2 {
color=red
9 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/x|"];
6 [label="Exit property" style="filled" fillcolor=red];
}
9 [label="Exit class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red];
}
8 -> {5} [color=green];
9 -> {5} [color=green];
5 -> {7};
6 -> {9} [color=green];
6 -> {8} [color=green];
7 -> {6};
3 -> {4};
subgraph cluster_4 {
color=red
@@ -50,94 +51,108 @@ digraph overridenOpenVal_kt {
14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
16 [label="Enter when"];
16 [label="Enter block"];
subgraph cluster_7 {
color=blue
18 [label="Enter when branch condition "];
19 [label="Access variable R|/A.x|"];
20 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
21 [label="Exit when branch condition"];
17 [label="Enter when"];
subgraph cluster_8 {
color=blue
19 [label="Enter when branch condition "];
20 [label="Access variable R|/A.x|"];
21 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
22 [label="Exit when branch condition"];
}
29 [label="Synthetic else branch"];
23 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|/A.x|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
18 [label="Exit when"];
}
28 [label="Synthetic else branch"];
22 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|/A.x|"];
25 [label="Access variable R|kotlin/String.length|"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
17 [label="Exit when"];
30 [label="Exit block"];
}
15 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {16};
16 -> {18};
17 -> {15};
18 -> {19};
16 -> {17};
17 -> {19};
18 -> {30};
19 -> {20};
20 -> {21};
21 -> {22 28};
22 -> {23};
21 -> {22};
22 -> {23 29};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {17};
28 -> {17};
subgraph cluster_9 {
color=red
29 [label="Enter class B" style="filled" fillcolor=red];
30 [label="Exit class B" style="filled" fillcolor=red];
}
29 -> {30} [color=green];
27 -> {28};
28 -> {18};
29 -> {18};
30 -> {15};
subgraph cluster_10 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
32 [label="Enter class B" style="filled" fillcolor=red];
31 [label="Exit class B" style="filled" fillcolor=red];
}
32 -> {31} [color=green];
subgraph cluster_11 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
33 [label="Enter when"];
subgraph cluster_12 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"];
37 [label="Access variable R|/A.x|"];
38 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
39 [label="Exit when branch condition"];
}
47 [label="Synthetic else branch"];
40 [label="Enter when branch result"];
35 [label="Enter block"];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/b|"];
43 [label="Access variable R|/A.x|"];
44 [label="Access variable R|kotlin/String.length|"];
45 [label="Exit block"];
36 [label="Enter when"];
subgraph cluster_14 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Access variable R|<local>/b|"];
40 [label="Access variable R|/A.x|"];
41 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
42 [label="Exit when branch condition"];
}
50 [label="Synthetic else branch"];
43 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/b|"];
46 [label="Access variable R|/A.x|"];
47 [label="Access variable R|kotlin/String.length|"];
48 [label="Exit block"];
}
49 [label="Exit when branch result"];
37 [label="Exit when"];
}
46 [label="Exit when branch result"];
34 [label="Exit when"];
51 [label="Exit block"];
}
32 [label="Exit function test_2" style="filled" fillcolor=red];
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {33};
33 -> {35};
34 -> {32};
35 -> {36};
36 -> {37};
37 -> {38};
36 -> {38};
37 -> {51};
38 -> {39};
39 -> {40 47};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {43 50};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {34};
47 -> {34};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {37};
50 -> {37};
51 -> {34};
}
@@ -15,85 +15,99 @@ digraph delayedAssignment_kt {
subgraph cluster_1 {
color=red
3 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
5 [label="Enter block"];
6 [label="Exit block"];
}
4 [label="Exit function foo" style="filled" fillcolor=red];
}
3 -> {4};
subgraph cluster_2 {
color=red
5 [label="Enter class A" style="filled" fillcolor=red];
6 [label="Exit class A" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
3 -> {5};
5 -> {6};
6 -> {4};
subgraph cluster_3 {
color=red
7 [label="Enter function test" style="filled" fillcolor=red];
9 [label="Variable declaration: lval a: R|A?|"];
subgraph cluster_4 {
8 [label="Enter class A" style="filled" fillcolor=red];
7 [label="Exit class A" style="filled" fillcolor=red];
}
8 -> {7} [color=green];
subgraph cluster_4 {
color=red
9 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter when"];
subgraph cluster_5 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/b|"];
14 [label="Exit when branch condition"];
}
11 [label="Enter block"];
12 [label="Variable declaration: lval a: R|A?|"];
subgraph cluster_6 {
color=blue
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
13 [label="Enter when"];
subgraph cluster_7 {
color=blue
15 [label="Enter when branch condition "];
16 [label="Access variable R|<local>/b|"];
17 [label="Exit when branch condition"];
}
subgraph cluster_8 {
color=blue
26 [label="Enter when branch condition else"];
27 [label="Exit when branch condition"];
}
28 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
29 [label="Enter block"];
30 [label="Const: Null(null)"];
31 [label="Assignment: R|<local>/a|"];
32 [label="Exit block"];
}
33 [label="Exit when branch result"];
18 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
19 [label="Enter block"];
20 [label="Function call: R|/A.A|()"];
21 [label="Assignment: R|<local>/a|"];
22 [label="Access variable R|<local>/a|"];
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
14 [label="Exit when"];
}
25 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
26 [label="Enter block"];
27 [label="Const: Null(null)"];
28 [label="Assignment: R|<local>/a|"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
15 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
16 [label="Enter block"];
17 [label="Function call: R|/A.A|()"];
18 [label="Assignment: R|<local>/a|"];
19 [label="Access variable R|<local>/a|"];
20 [label="Function call: R|<local>/a|.R|/A.foo|()"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
11 [label="Exit when"];
34 [label="Access variable R|<local>/a|"];
35 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
36 [label="Exit block"];
}
31 [label="Access variable R|<local>/a|"];
32 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
8 [label="Exit function test" style="filled" fillcolor=red];
10 [label="Exit function test" style="filled" fillcolor=red];
}
7 -> {9};
9 -> {10};
10 -> {12};
11 -> {31};
9 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15 23};
13 -> {15};
14 -> {34};
15 -> {16};
16 -> {17};
17 -> {18};
17 -> {18 26};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {11};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
25 -> {14};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {11};
30 -> {31};
31 -> {32};
32 -> {8};
32 -> {33};
33 -> {14};
34 -> {35};
35 -> {36};
36 -> {10};
}
@@ -6,12 +6,17 @@ digraph smartcastAfterReassignment_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
2 [label="Const: Int(1)"];
3 [label="Variable declaration: lvar x: R|kotlin/Any|"];
4 [label="Const: String()"];
5 [label="Assignment: R|<local>/x|"];
6 [label="Access variable R|<local>/x|"];
7 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Const: Int(1)"];
4 [label="Variable declaration: lvar x: R|kotlin/Any|"];
5 [label="Const: String()"];
6 [label="Assignment: R|<local>/x|"];
7 [label="Access variable R|<local>/x|"];
8 [label="Access variable R|kotlin/String.length|"];
9 [label="Exit block"];
}
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {2};
@@ -20,85 +25,101 @@ digraph smartcastAfterReassignment_kt {
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {1};
7 -> {8};
8 -> {9};
9 -> {1};
subgraph cluster_1 {
subgraph cluster_2 {
color=red
8 [label="Enter function test_2" style="filled" fillcolor=red];
10 [label="Const: Null(null)"];
11 [label="Variable declaration: lvar x: R|kotlin/String?|"];
subgraph cluster_2 {
10 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
12 [label="Enter when"];
subgraph cluster_3 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Access variable R|<local>/x|"];
16 [label="Const: Null(null)"];
17 [label="Operator =="];
18 [label="Exit when branch condition"];
}
25 [label="Synthetic else branch"];
19 [label="Enter when branch result"];
12 [label="Enter block"];
13 [label="Const: Null(null)"];
14 [label="Variable declaration: lvar x: R|kotlin/String?|"];
subgraph cluster_4 {
color=blue
20 [label="Enter block"];
21 [label="Const: String()"];
22 [label="Assignment: R|<local>/x|"];
23 [label="Exit block"];
15 [label="Enter when"];
subgraph cluster_5 {
color=blue
17 [label="Enter when branch condition "];
18 [label="Access variable R|<local>/x|"];
19 [label="Const: Null(null)"];
20 [label="Operator =="];
21 [label="Exit when branch condition"];
}
28 [label="Synthetic else branch"];
22 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
23 [label="Enter block"];
24 [label="Const: String()"];
25 [label="Assignment: R|<local>/x|"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
16 [label="Exit when"];
}
24 [label="Exit when branch result"];
13 [label="Exit when"];
29 [label="Access variable R|<local>/x|"];
30 [label="Access variable R|kotlin/String.length|"];
31 [label="Exit block"];
}
26 [label="Access variable R|<local>/x|"];
27 [label="Access variable R|kotlin/String.length|"];
9 [label="Exit function test_2" style="filled" fillcolor=red];
11 [label="Exit function test_2" style="filled" fillcolor=red];
}
8 -> {10};
10 -> {11};
11 -> {12};
12 -> {14};
13 -> {26};
10 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
15 -> {17};
16 -> {29};
17 -> {18};
18 -> {19 25};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
21 -> {22 28};
22 -> {23};
23 -> {24};
24 -> {13};
25 -> {13};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {9};
subgraph cluster_5 {
color=red
28 [label="Enter function test_3" style="filled" fillcolor=red];
30 [label="Const: Null(null)"];
31 [label="Variable declaration: lvar x: R|kotlin/String?|"];
32 [label="Const: String()"];
33 [label="Assignment: R|<local>/x|"];
34 [label="Access variable R|<local>/x|"];
35 [label="Access variable R|kotlin/String.length|"];
36 [label="Const: Null(null)"];
37 [label="Assignment: R|<local>/x|"];
38 [label="Access variable R|<local>/x|"];
39 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
29 [label="Exit function test_3" style="filled" fillcolor=red];
}
28 -> {30};
27 -> {16};
28 -> {16};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
31 -> {11};
subgraph cluster_7 {
color=red
32 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
34 [label="Enter block"];
35 [label="Const: Null(null)"];
36 [label="Variable declaration: lvar x: R|kotlin/String?|"];
37 [label="Const: String()"];
38 [label="Assignment: R|<local>/x|"];
39 [label="Access variable R|<local>/x|"];
40 [label="Access variable R|kotlin/String.length|"];
41 [label="Const: Null(null)"];
42 [label="Assignment: R|<local>/x|"];
43 [label="Access variable R|<local>/x|"];
44 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
45 [label="Exit block"];
}
33 [label="Exit function test_3" style="filled" fillcolor=red];
}
32 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {29};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {33};
}