[FIR] Rewind DFA after call arguments for correct receiver smartcasting

^KT-63709 Fixed
This commit is contained in:
Brian Norman
2023-11-27 13:48:09 -06:00
committed by Space Team
parent 38d5e56530
commit 0881910a1b
128 changed files with 22457 additions and 16148 deletions
@@ -30,15 +30,25 @@ digraph bangbang_kt {
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
8 [label="Access variable R|<local>/a|"];
9 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
10 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
11 [label="Access variable R|<local>/a|"];
12 [label="Smart cast: R|<local>/a|"];
13 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
subgraph cluster_5 {
color=blue
8 [label="Function call arguments enter"];
9 [label="Access variable R|<local>/a|"];
10 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
11 [label="Function call arguments exit"];
}
12 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_6 {
color=blue
13 [label="Function call arguments enter"];
14 [label="Access variable R|<local>/a|"];
15 [label="Smart cast: R|<local>/a|"];
16 [label="Function call arguments exit"];
}
17 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
18 [label="Exit block"];
}
15 [label="Exit function test_0" style="filled" fillcolor=red];
19 [label="Exit function test_0" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
@@ -49,111 +59,81 @@ digraph bangbang_kt {
12 -> {13};
13 -> {14};
14 -> {15};
subgraph cluster_5 {
color=red
16 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
17 [label="Enter block"];
subgraph cluster_7 {
color=blue
18 [label="Enter when"];
subgraph cluster_8 {
color=blue
19 [label="Enter when branch condition "];
20 [label="Access variable R|<local>/a|"];
21 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
22 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
23 [label="Exit when branch condition"];
}
24 [label="Synthetic else branch"];
25 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/a|"];
28 [label="Smart cast: R|<local>/a|"];
29 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
30 [label="Exit block"];
}
31 [label="Exit when branch result"];
32 [label="Exit when"];
}
33 [label="Access variable R|<local>/a|"];
34 [label="Smart cast: R|<local>/a|"];
35 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
}
37 [label="Exit function test_1" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
subgraph cluster_7 {
color=red
20 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
subgraph cluster_9 {
color=blue
22 [label="Enter when"];
subgraph cluster_10 {
color=blue
23 [label="Enter when branch condition "];
subgraph cluster_11 {
color=blue
24 [label="Function call arguments enter"];
25 [label="Access variable R|<local>/a|"];
26 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
27 [label="Function call arguments exit"];
}
28 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
29 [label="Exit when branch condition"];
}
30 [label="Synthetic else branch"];
31 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
32 [label="Enter block"];
subgraph cluster_13 {
color=blue
33 [label="Function call arguments enter"];
34 [label="Access variable R|<local>/a|"];
35 [label="Smart cast: R|<local>/a|"];
36 [label="Function call arguments exit"];
}
37 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
}
39 [label="Exit when branch result"];
40 [label="Exit when"];
}
subgraph cluster_14 {
color=blue
41 [label="Function call arguments enter"];
42 [label="Access variable R|<local>/a|"];
43 [label="Smart cast: R|<local>/a|"];
44 [label="Function call arguments exit"];
}
45 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
46 [label="Exit block"];
}
47 [label="Exit function test_1" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24 25};
24 -> {32};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
29 -> {30 31};
30 -> {40};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_10 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
39 [label="Enter block"];
subgraph cluster_12 {
color=blue
40 [label="Enter when"];
subgraph cluster_13 {
color=blue
41 [label="Enter when branch condition "];
subgraph cluster_14 {
color=blue
42 [label="Enter &&"];
43 [label="Access variable R|<local>/a|"];
44 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
45 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
46 [label="Exit left part of &&"];
47 [label="Enter right part of &&"];
48 [label="Access variable R|<local>/b|"];
49 [label="Exit &&"];
}
50 [label="Exit when branch condition"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
53 [label="Enter block"];
54 [label="Access variable R|<local>/a|"];
55 [label="Smart cast: R|<local>/a|"];
56 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
57 [label="Exit block"];
}
58 [label="Exit when branch result"];
59 [label="Exit when"];
}
60 [label="Access variable R|<local>/a|"];
61 [label="Smart cast: R|<local>/a|"];
62 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
63 [label="Exit block"];
}
64 [label="Exit function test_2" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
@@ -162,154 +142,184 @@ digraph bangbang_kt {
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47 49};
47 -> {48};
46 -> {47};
subgraph cluster_15 {
color=red
48 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
49 [label="Enter block"];
subgraph cluster_17 {
color=blue
50 [label="Enter when"];
subgraph cluster_18 {
color=blue
51 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
52 [label="Enter &&"];
subgraph cluster_20 {
color=blue
53 [label="Function call arguments enter"];
54 [label="Access variable R|<local>/a|"];
55 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
56 [label="Function call arguments exit"];
}
57 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
58 [label="Exit left part of &&"];
59 [label="Enter right part of &&"];
60 [label="Access variable R|<local>/b|"];
61 [label="Exit &&"];
}
62 [label="Exit when branch condition"];
}
63 [label="Synthetic else branch"];
64 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
65 [label="Enter block"];
subgraph cluster_22 {
color=blue
66 [label="Function call arguments enter"];
67 [label="Access variable R|<local>/a|"];
68 [label="Smart cast: R|<local>/a|"];
69 [label="Function call arguments exit"];
}
70 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
71 [label="Exit block"];
}
72 [label="Exit when branch result"];
73 [label="Exit when"];
}
subgraph cluster_23 {
color=blue
74 [label="Function call arguments enter"];
75 [label="Access variable R|<local>/a|"];
76 [label="Smart cast: R|<local>/a|"];
77 [label="Function call arguments exit"];
}
78 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
79 [label="Exit block"];
}
80 [label="Exit function test_2" style="filled" fillcolor=red];
}
48 -> {49};
49 -> {50};
50 -> {51 52};
51 -> {59};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
58 -> {59 61};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
subgraph cluster_16 {
color=red
65 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
66 [label="Enter block"];
subgraph cluster_18 {
color=blue
67 [label="Enter when"];
subgraph cluster_19 {
color=blue
68 [label="Enter when branch condition "];
subgraph cluster_20 {
color=blue
69 [label="Enter &&"];
70 [label="Access variable R|<local>/b|"];
71 [label="Exit left part of &&"];
72 [label="Enter right part of &&"];
73 [label="Access variable R|<local>/a|"];
74 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
75 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
76 [label="Exit &&"];
}
77 [label="Exit when branch condition"];
}
78 [label="Synthetic else branch"];
79 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
80 [label="Enter block"];
81 [label="Access variable R|<local>/a|"];
82 [label="Smart cast: R|<local>/a|"];
83 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
84 [label="Exit block"];
}
85 [label="Exit when branch result"];
86 [label="Exit when"];
}
87 [label="Access variable R|<local>/a|"];
88 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
89 [label="Exit block"];
}
90 [label="Exit function test_3" style="filled" fillcolor=red];
}
62 -> {63 64};
63 -> {73};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72 76};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78 79};
78 -> {86};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
subgraph cluster_24 {
color=red
81 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
82 [label="Enter block"];
subgraph cluster_26 {
color=blue
83 [label="Enter when"];
subgraph cluster_27 {
color=blue
84 [label="Enter when branch condition "];
subgraph cluster_28 {
color=blue
85 [label="Enter &&"];
86 [label="Access variable R|<local>/b|"];
87 [label="Exit left part of &&"];
88 [label="Enter right part of &&"];
subgraph cluster_29 {
color=blue
89 [label="Function call arguments enter"];
90 [label="Access variable R|<local>/a|"];
91 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
92 [label="Function call arguments exit"];
}
93 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
94 [label="Exit &&"];
}
95 [label="Exit when branch condition"];
}
96 [label="Synthetic else branch"];
97 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
98 [label="Enter block"];
subgraph cluster_31 {
color=blue
99 [label="Function call arguments enter"];
100 [label="Access variable R|<local>/a|"];
101 [label="Smart cast: R|<local>/a|"];
102 [label="Function call arguments exit"];
}
103 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
104 [label="Exit block"];
}
105 [label="Exit when branch result"];
106 [label="Exit when"];
}
subgraph cluster_32 {
color=blue
107 [label="Function call arguments enter"];
108 [label="Access variable R|<local>/a|"];
109 [label="Function call arguments exit"];
}
110 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
111 [label="Exit block"];
}
112 [label="Exit function test_3" style="filled" fillcolor=red];
}
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
87 -> {88 94};
88 -> {89};
89 -> {90};
subgraph cluster_22 {
color=red
91 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
92 [label="Enter block"];
subgraph cluster_24 {
color=blue
93 [label="Enter when"];
subgraph cluster_25 {
color=blue
94 [label="Enter when branch condition "];
subgraph cluster_26 {
color=blue
95 [label="Enter ||"];
96 [label="Access variable R|<local>/a|"];
97 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
98 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
99 [label="Exit left part of ||"];
100 [label="Enter right part of ||"];
101 [label="Access variable R|<local>/b|"];
102 [label="Exit ||"];
}
103 [label="Exit when branch condition"];
}
104 [label="Synthetic else branch"];
105 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/a|"];
108 [label="Smart cast: R|<local>/a|"];
109 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
110 [label="Exit block"];
}
111 [label="Exit when branch result"];
112 [label="Exit when"];
}
113 [label="Access variable R|<local>/a|"];
114 [label="Smart cast: R|<local>/a|"];
115 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
116 [label="Exit block"];
}
117 [label="Exit function test_4" style="filled" fillcolor=red];
}
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
95 -> {96 97};
96 -> {106};
97 -> {98};
98 -> {99};
99 -> {100 102};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104 105};
104 -> {112};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
@@ -317,69 +327,86 @@ digraph bangbang_kt {
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
subgraph cluster_28 {
subgraph cluster_33 {
color=red
118 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_29 {
113 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
119 [label="Enter block"];
subgraph cluster_30 {
114 [label="Enter block"];
subgraph cluster_35 {
color=blue
120 [label="Enter when"];
subgraph cluster_31 {
115 [label="Enter when"];
subgraph cluster_36 {
color=blue
121 [label="Enter when branch condition "];
subgraph cluster_32 {
116 [label="Enter when branch condition "];
subgraph cluster_37 {
color=blue
122 [label="Enter ||"];
123 [label="Access variable R|<local>/b|"];
124 [label="Exit left part of ||"];
125 [label="Enter right part of ||"];
126 [label="Access variable R|<local>/a|"];
127 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
128 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
129 [label="Exit ||"];
117 [label="Enter ||"];
subgraph cluster_38 {
color=blue
118 [label="Function call arguments enter"];
119 [label="Access variable R|<local>/a|"];
120 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
121 [label="Function call arguments exit"];
}
122 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
123 [label="Exit left part of ||"];
124 [label="Enter right part of ||"];
125 [label="Access variable R|<local>/b|"];
126 [label="Exit ||"];
}
130 [label="Exit when branch condition"];
127 [label="Exit when branch condition"];
}
131 [label="Synthetic else branch"];
132 [label="Enter when branch result"];
subgraph cluster_33 {
128 [label="Synthetic else branch"];
129 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
133 [label="Enter block"];
134 [label="Access variable R|<local>/a|"];
135 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
130 [label="Enter block"];
subgraph cluster_40 {
color=blue
131 [label="Function call arguments enter"];
132 [label="Access variable R|<local>/a|"];
133 [label="Smart cast: R|<local>/a|"];
134 [label="Function call arguments exit"];
}
135 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
136 [label="Exit block"];
}
137 [label="Exit when branch result"];
138 [label="Exit when"];
}
139 [label="Access variable R|<local>/a|"];
140 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
141 [label="Exit block"];
subgraph cluster_41 {
color=blue
139 [label="Function call arguments enter"];
140 [label="Access variable R|<local>/a|"];
141 [label="Smart cast: R|<local>/a|"];
142 [label="Function call arguments exit"];
}
143 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
144 [label="Exit block"];
}
142 [label="Exit function test_5" style="filled" fillcolor=red];
145 [label="Exit function test_4" style="filled" fillcolor=red];
}
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125 129};
123 -> {124 126};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
127 -> {128 129};
128 -> {138};
129 -> {130};
130 -> {131 132};
131 -> {138};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
@@ -390,45 +417,151 @@ digraph bangbang_kt {
139 -> {140};
140 -> {141};
141 -> {142};
subgraph cluster_34 {
color=red
143 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
144 [label="Enter block"];
145 [label="Access variable R|<local>/x|"];
146 [label="Check not null: R|<local>/x|!!" style="filled" fillcolor=yellow];
147 [label="Function call: R|<local>/x|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
148 [label="Exit block"];
}
149 [label="Exit function test_6" style="filled" fillcolor=red];
}
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
subgraph cluster_42 {
color=red
146 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_43 {
color=blue
147 [label="Enter block"];
subgraph cluster_44 {
color=blue
148 [label="Enter when"];
subgraph cluster_45 {
color=blue
149 [label="Enter when branch condition "];
subgraph cluster_46 {
color=blue
150 [label="Enter ||"];
151 [label="Access variable R|<local>/b|"];
152 [label="Exit left part of ||"];
153 [label="Enter right part of ||"];
subgraph cluster_47 {
color=blue
154 [label="Function call arguments enter"];
155 [label="Access variable R|<local>/a|"];
156 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
157 [label="Function call arguments exit"];
}
158 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
159 [label="Exit ||"];
}
160 [label="Exit when branch condition"];
}
161 [label="Synthetic else branch"];
162 [label="Enter when branch result"];
subgraph cluster_48 {
color=blue
163 [label="Enter block"];
subgraph cluster_49 {
color=blue
164 [label="Function call arguments enter"];
165 [label="Access variable R|<local>/a|"];
166 [label="Function call arguments exit"];
}
167 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
168 [label="Exit block"];
}
169 [label="Exit when branch result"];
170 [label="Exit when"];
}
subgraph cluster_50 {
color=blue
171 [label="Function call arguments enter"];
172 [label="Access variable R|<local>/a|"];
173 [label="Function call arguments exit"];
}
174 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
175 [label="Exit block"];
}
176 [label="Exit function test_5" style="filled" fillcolor=red];
}
146 -> {147};
147 -> {148};
148 -> {149};
subgraph cluster_36 {
color=red
150 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
151 [label="Enter block"];
152 [label="Access variable R|<local>/x|"];
153 [label="Check not null: R|<local>/x|!!" style="filled" fillcolor=yellow];
154 [label="Function call: R|<local>/x|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
155 [label="Exit block"];
}
156 [label="Exit function test_7" style="filled" fillcolor=red];
}
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
152 -> {153 159};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161 162};
161 -> {170};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
subgraph cluster_51 {
color=red
177 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_52 {
color=blue
178 [label="Enter block"];
subgraph cluster_53 {
color=blue
179 [label="Function call arguments enter"];
180 [label="Access variable R|<local>/x|"];
181 [label="Check not null: R|<local>/x|!!" style="filled" fillcolor=yellow];
182 [label="Function call arguments exit"];
}
183 [label="Function call: R|<local>/x|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
184 [label="Exit block"];
}
185 [label="Exit function test_6" style="filled" fillcolor=red];
}
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
184 -> {185};
subgraph cluster_54 {
color=red
186 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_55 {
color=blue
187 [label="Enter block"];
subgraph cluster_56 {
color=blue
188 [label="Function call arguments enter"];
189 [label="Access variable R|<local>/x|"];
190 [label="Check not null: R|<local>/x|!!" style="filled" fillcolor=yellow];
191 [label="Function call arguments exit"];
}
192 [label="Function call: R|<local>/x|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
193 [label="Exit block"];
}
194 [label="Exit function test_7" style="filled" fillcolor=red];
}
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194};
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -38,17 +38,27 @@ digraph jumpFromRhsOfOperator_kt {
11 [label="Equality operator !="];
12 [label="Exit left part of ||"];
13 [label="Enter right part of ||"];
14 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
15 [label="Throw: throw R|java/lang/Exception.Exception|()"];
16 [label="Stub" style="filled" fillcolor=gray];
17 [label="Exit ||"];
subgraph cluster_6 {
color=blue
14 [label="Function call arguments enter"];
15 [label="Function call arguments exit"];
}
16 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
17 [label="Throw: throw R|java/lang/Exception.Exception|()"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit ||"];
}
18 [label="Access variable R|<local>/a|"];
19 [label="Smart cast: R|<local>/a|"];
20 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
21 [label="Exit block"];
subgraph cluster_7 {
color=blue
20 [label="Function call arguments enter"];
21 [label="Access variable R|<local>/a|"];
22 [label="Smart cast: R|<local>/a|"];
23 [label="Function call arguments exit"];
}
24 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
25 [label="Exit block"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
26 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
@@ -56,107 +66,70 @@ digraph jumpFromRhsOfOperator_kt {
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13 17};
12 -> {13 19};
13 -> {14};
14 -> {15};
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
17 -> {18};
18 -> {19};
15 -> {16};
16 -> {17};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20};
20 -> {21};
21 -> {22};
subgraph cluster_6 {
color=red
23 [label="Enter function teat_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
24 [label="Enter block"];
subgraph cluster_8 {
color=blue
25 [label="Enter &&"];
26 [label="Access variable R|<local>/a|"];
27 [label="Const: Null(null)"];
28 [label="Equality operator =="];
29 [label="Exit left part of &&"];
30 [label="Enter right part of &&"];
31 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
32 [label="Throw: throw R|java/lang/Exception.Exception|()"];
33 [label="Stub" style="filled" fillcolor=gray];
34 [label="Exit &&"];
}
35 [label="Access variable R|<local>/a|"];
36 [label="Smart cast: R|<local>/a|"];
37 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
}
39 [label="Exit function teat_2" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
subgraph cluster_8 {
color=red
27 [label="Enter function teat_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
28 [label="Enter block"];
subgraph cluster_10 {
color=blue
29 [label="Enter &&"];
30 [label="Access variable R|<local>/a|"];
31 [label="Const: Null(null)"];
32 [label="Equality operator =="];
33 [label="Exit left part of &&"];
34 [label="Enter right part of &&"];
subgraph cluster_11 {
color=blue
35 [label="Function call arguments enter"];
36 [label="Function call arguments exit"];
}
37 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
38 [label="Throw: throw R|java/lang/Exception.Exception|()"];
39 [label="Stub" style="filled" fillcolor=gray];
40 [label="Exit &&"];
}
subgraph cluster_12 {
color=blue
41 [label="Function call arguments enter"];
42 [label="Access variable R|<local>/a|"];
43 [label="Smart cast: R|<local>/a|"];
44 [label="Function call arguments exit"];
}
45 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
46 [label="Exit block"];
}
47 [label="Exit function teat_2" style="filled" fillcolor=red];
}
27 -> {28};
28 -> {29};
29 -> {30 34};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33} [style=dotted];
33 -> {34} [style=dotted];
32 -> {33};
33 -> {34 40};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
subgraph cluster_9 {
color=red
40 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
41 [label="Enter block"];
subgraph cluster_11 {
color=blue
42 [label="Enter when"];
subgraph cluster_12 {
color=blue
43 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
44 [label="Enter ||"];
45 [label="Access variable R|<local>/a|"];
46 [label="Const: Null(null)"];
47 [label="Equality operator !="];
48 [label="Exit left part of ||"];
49 [label="Enter right part of ||"];
50 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
51 [label="Throw: throw R|java/lang/Exception.Exception|()"];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit ||"];
}
54 [label="Exit when branch condition"];
}
55 [label="Synthetic else branch"];
56 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
57 [label="Enter block"];
58 [label="Access variable R|<local>/a|"];
59 [label="Smart cast: R|<local>/a|"];
60 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
61 [label="Exit block"];
}
62 [label="Exit when branch result"];
63 [label="Exit when"];
}
64 [label="Access variable R|<local>/a|"];
65 [label="Smart cast: R|<local>/a|"];
66 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
67 [label="Exit block"];
}
68 [label="Exit function test_3" style="filled" fillcolor=red];
}
38 -> {39} [style=dotted];
39 -> {40} [style=dotted];
40 -> {41};
41 -> {42};
42 -> {43};
@@ -164,75 +137,90 @@ digraph jumpFromRhsOfOperator_kt {
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49 53};
subgraph cluster_13 {
color=red
48 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
subgraph cluster_15 {
color=blue
50 [label="Enter when"];
subgraph cluster_16 {
color=blue
51 [label="Enter when branch condition "];
subgraph cluster_17 {
color=blue
52 [label="Enter ||"];
53 [label="Access variable R|<local>/a|"];
54 [label="Const: Null(null)"];
55 [label="Equality operator !="];
56 [label="Exit left part of ||"];
57 [label="Enter right part of ||"];
subgraph cluster_18 {
color=blue
58 [label="Function call arguments enter"];
59 [label="Function call arguments exit"];
}
60 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
61 [label="Throw: throw R|java/lang/Exception.Exception|()"];
62 [label="Stub" style="filled" fillcolor=gray];
63 [label="Exit ||"];
}
64 [label="Exit when branch condition"];
}
65 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
67 [label="Enter block"];
subgraph cluster_20 {
color=blue
68 [label="Function call arguments enter"];
69 [label="Access variable R|<local>/a|"];
70 [label="Smart cast: R|<local>/a|"];
71 [label="Function call arguments exit"];
}
72 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
75 [label="Exit when"];
}
subgraph cluster_21 {
color=blue
76 [label="Function call arguments enter"];
77 [label="Access variable R|<local>/a|"];
78 [label="Smart cast: R|<local>/a|"];
79 [label="Function call arguments exit"];
}
80 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
81 [label="Exit block"];
}
82 [label="Exit function test_3" style="filled" fillcolor=red];
}
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55 56};
55 -> {63};
56 -> {57};
54 -> {55};
55 -> {56};
56 -> {57 63};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64};
64 -> {65};
65 -> {66};
64 -> {65 66};
65 -> {75};
66 -> {67};
67 -> {68};
subgraph cluster_15 {
color=red
69 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
70 [label="Enter block"];
subgraph cluster_17 {
color=blue
71 [label="Enter when"];
subgraph cluster_18 {
color=blue
72 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
73 [label="Enter &&"];
74 [label="Access variable R|<local>/a|"];
75 [label="Const: Null(null)"];
76 [label="Equality operator =="];
77 [label="Exit left part of &&"];
78 [label="Enter right part of &&"];
79 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
80 [label="Throw: throw R|java/lang/Exception.Exception|()"];
81 [label="Stub" style="filled" fillcolor=gray];
82 [label="Exit &&"];
}
83 [label="Exit when branch condition"];
}
84 [label="Synthetic else branch"];
85 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
86 [label="Enter block"];
87 [label="Access variable R|<local>/a|"];
88 [label="Smart cast: R|<local>/a|"];
89 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
90 [label="Exit block"];
}
91 [label="Exit when branch result"];
92 [label="Exit when"];
}
93 [label="Access variable R|<local>/a|"];
94 [label="Smart cast: R|<local>/a|"];
95 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
96 [label="Exit block"];
}
97 [label="Exit function test_4" style="filled" fillcolor=red];
}
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
@@ -241,180 +229,215 @@ digraph jumpFromRhsOfOperator_kt {
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78 82};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81} [style=dotted];
81 -> {82} [style=dotted];
82 -> {83};
83 -> {84 85};
84 -> {92};
80 -> {81};
81 -> {82};
subgraph cluster_22 {
color=red
83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
84 [label="Enter block"];
subgraph cluster_24 {
color=blue
85 [label="Enter when"];
subgraph cluster_25 {
color=blue
86 [label="Enter when branch condition "];
subgraph cluster_26 {
color=blue
87 [label="Enter &&"];
88 [label="Access variable R|<local>/a|"];
89 [label="Const: Null(null)"];
90 [label="Equality operator =="];
91 [label="Exit left part of &&"];
92 [label="Enter right part of &&"];
subgraph cluster_27 {
color=blue
93 [label="Function call arguments enter"];
94 [label="Function call arguments exit"];
}
95 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
96 [label="Throw: throw R|java/lang/Exception.Exception|()"];
97 [label="Stub" style="filled" fillcolor=gray];
98 [label="Exit &&"];
}
99 [label="Exit when branch condition"];
}
100 [label="Synthetic else branch"];
101 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
102 [label="Enter block"];
subgraph cluster_29 {
color=blue
103 [label="Function call arguments enter"];
104 [label="Access variable R|<local>/a|"];
105 [label="Smart cast: R|<local>/a|"];
106 [label="Function call arguments exit"];
}
107 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
108 [label="Exit block"];
}
109 [label="Exit when branch result"];
110 [label="Exit when"];
}
subgraph cluster_30 {
color=blue
111 [label="Function call arguments enter"];
112 [label="Access variable R|<local>/a|"];
113 [label="Smart cast: R|<local>/a|"];
114 [label="Function call arguments exit"];
}
115 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
116 [label="Exit block"];
}
117 [label="Exit function test_4" style="filled" fillcolor=red];
}
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
91 -> {92 98};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
subgraph cluster_21 {
color=red
98 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
99 [label="Enter block"];
subgraph cluster_23 {
color=blue
100 [label="Enter ||"];
101 [label="Access variable R|<local>/a|"];
102 [label="Const: Null(null)"];
103 [label="Equality operator =="];
104 [label="Exit left part of ||"];
105 [label="Enter right part of ||"];
106 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
107 [label="Throw: throw R|java/lang/Exception.Exception|()"];
108 [label="Stub" style="filled" fillcolor=gray];
109 [label="Exit ||"];
}
110 [label="Access variable R|<local>/a|"];
111 [label="Smart cast: R|<local>/a|"];
112 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
113 [label="Exit block"];
}
114 [label="Exit function test_5" style="filled" fillcolor=red];
}
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {99};
99 -> {100};
100 -> {101};
99 -> {100 101};
100 -> {110};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105 109};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108} [style=dotted];
108 -> {109} [style=dotted];
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
subgraph cluster_24 {
color=red
115 [label="Enter function teat_6" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
116 [label="Enter block"];
subgraph cluster_26 {
color=blue
117 [label="Enter &&"];
118 [label="Access variable R|<local>/a|"];
119 [label="Const: Null(null)"];
120 [label="Equality operator !="];
121 [label="Exit left part of &&"];
122 [label="Enter right part of &&"];
123 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
124 [label="Throw: throw R|java/lang/Exception.Exception|()"];
125 [label="Stub" style="filled" fillcolor=gray];
126 [label="Exit &&"];
}
127 [label="Access variable R|<local>/a|"];
128 [label="Smart cast: R|<local>/a|"];
129 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
130 [label="Exit block"];
}
131 [label="Exit function teat_6" style="filled" fillcolor=red];
}
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
subgraph cluster_31 {
color=red
118 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
119 [label="Enter block"];
subgraph cluster_33 {
color=blue
120 [label="Enter ||"];
121 [label="Access variable R|<local>/a|"];
122 [label="Const: Null(null)"];
123 [label="Equality operator =="];
124 [label="Exit left part of ||"];
125 [label="Enter right part of ||"];
subgraph cluster_34 {
color=blue
126 [label="Function call arguments enter"];
127 [label="Function call arguments exit"];
}
128 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
129 [label="Throw: throw R|java/lang/Exception.Exception|()"];
130 [label="Stub" style="filled" fillcolor=gray];
131 [label="Exit ||"];
}
subgraph cluster_35 {
color=blue
132 [label="Function call arguments enter"];
133 [label="Access variable R|<local>/a|"];
134 [label="Smart cast: R|<local>/a|"];
135 [label="Function call arguments exit"];
}
136 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
137 [label="Exit block"];
}
138 [label="Exit function test_5" style="filled" fillcolor=red];
}
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122 126};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125} [style=dotted];
125 -> {126} [style=dotted];
124 -> {125 131};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
subgraph cluster_27 {
color=red
132 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
133 [label="Enter block"];
subgraph cluster_29 {
color=blue
134 [label="Enter when"];
subgraph cluster_30 {
color=blue
135 [label="Enter when branch condition "];
subgraph cluster_31 {
color=blue
136 [label="Enter ||"];
137 [label="Access variable R|<local>/a|"];
138 [label="Const: Null(null)"];
139 [label="Equality operator =="];
140 [label="Exit left part of ||"];
141 [label="Enter right part of ||"];
142 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
143 [label="Throw: throw R|java/lang/Exception.Exception|()"];
144 [label="Stub" style="filled" fillcolor=gray];
145 [label="Exit ||"];
}
146 [label="Exit when branch condition"];
}
147 [label="Synthetic else branch"];
148 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
149 [label="Enter block"];
150 [label="Access variable R|<local>/a|"];
151 [label="Smart cast: R|<local>/a|"];
152 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
153 [label="Exit block"];
}
154 [label="Exit when branch result"];
155 [label="Exit when"];
}
156 [label="Access variable R|<local>/a|"];
157 [label="Smart cast: R|<local>/a|"];
158 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
159 [label="Exit block"];
}
160 [label="Exit function test_7" style="filled" fillcolor=red];
}
129 -> {130} [style=dotted];
130 -> {131} [style=dotted];
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
subgraph cluster_36 {
color=red
139 [label="Enter function teat_6" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
140 [label="Enter block"];
subgraph cluster_38 {
color=blue
141 [label="Enter &&"];
142 [label="Access variable R|<local>/a|"];
143 [label="Const: Null(null)"];
144 [label="Equality operator !="];
145 [label="Exit left part of &&"];
146 [label="Enter right part of &&"];
subgraph cluster_39 {
color=blue
147 [label="Function call arguments enter"];
148 [label="Function call arguments exit"];
}
149 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
150 [label="Throw: throw R|java/lang/Exception.Exception|()"];
151 [label="Stub" style="filled" fillcolor=gray];
152 [label="Exit &&"];
}
subgraph cluster_40 {
color=blue
153 [label="Function call arguments enter"];
154 [label="Access variable R|<local>/a|"];
155 [label="Smart cast: R|<local>/a|"];
156 [label="Function call arguments exit"];
}
157 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
158 [label="Exit block"];
}
159 [label="Exit function teat_6" style="filled" fillcolor=red];
}
139 -> {140};
140 -> {141 145};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144} [style=dotted];
144 -> {145} [style=dotted];
145 -> {146};
146 -> {147 148};
147 -> {155};
143 -> {144};
144 -> {145};
145 -> {146 152};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
150 -> {151} [style=dotted];
151 -> {152} [style=dotted];
152 -> {153};
153 -> {154};
154 -> {155};
@@ -422,55 +445,70 @@ digraph jumpFromRhsOfOperator_kt {
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
subgraph cluster_33 {
subgraph cluster_41 {
color=red
161 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_34 {
160 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_42 {
color=blue
162 [label="Enter block"];
subgraph cluster_35 {
161 [label="Enter block"];
subgraph cluster_43 {
color=blue
163 [label="Enter when"];
subgraph cluster_36 {
162 [label="Enter when"];
subgraph cluster_44 {
color=blue
164 [label="Enter when branch condition "];
subgraph cluster_37 {
163 [label="Enter when branch condition "];
subgraph cluster_45 {
color=blue
165 [label="Enter &&"];
166 [label="Access variable R|<local>/a|"];
167 [label="Const: Null(null)"];
168 [label="Equality operator !="];
169 [label="Exit left part of &&"];
170 [label="Enter right part of &&"];
171 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
172 [label="Throw: throw R|java/lang/Exception.Exception|()"];
173 [label="Stub" style="filled" fillcolor=gray];
174 [label="Exit &&"];
164 [label="Enter ||"];
165 [label="Access variable R|<local>/a|"];
166 [label="Const: Null(null)"];
167 [label="Equality operator =="];
168 [label="Exit left part of ||"];
169 [label="Enter right part of ||"];
subgraph cluster_46 {
color=blue
170 [label="Function call arguments enter"];
171 [label="Function call arguments exit"];
}
172 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
173 [label="Throw: throw R|java/lang/Exception.Exception|()"];
174 [label="Stub" style="filled" fillcolor=gray];
175 [label="Exit ||"];
}
175 [label="Exit when branch condition"];
176 [label="Exit when branch condition"];
}
176 [label="Synthetic else branch"];
177 [label="Enter when branch result"];
subgraph cluster_38 {
177 [label="Synthetic else branch"];
178 [label="Enter when branch result"];
subgraph cluster_47 {
color=blue
178 [label="Enter block"];
179 [label="Access variable R|<local>/a|"];
180 [label="Smart cast: R|<local>/a|"];
181 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
182 [label="Exit block"];
179 [label="Enter block"];
subgraph cluster_48 {
color=blue
180 [label="Function call arguments enter"];
181 [label="Access variable R|<local>/a|"];
182 [label="Smart cast: R|<local>/a|"];
183 [label="Function call arguments exit"];
}
184 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
185 [label="Exit block"];
}
183 [label="Exit when branch result"];
184 [label="Exit when"];
186 [label="Exit when branch result"];
187 [label="Exit when"];
}
185 [label="Access variable R|<local>/a|"];
186 [label="Smart cast: R|<local>/a|"];
187 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
188 [label="Exit block"];
subgraph cluster_49 {
color=blue
188 [label="Function call arguments enter"];
189 [label="Access variable R|<local>/a|"];
190 [label="Smart cast: R|<local>/a|"];
191 [label="Function call arguments exit"];
}
192 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
193 [label="Exit block"];
}
189 [label="Exit function test_8" style="filled" fillcolor=red];
194 [label="Exit function test_7" style="filled" fillcolor=red];
}
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
@@ -478,16 +516,16 @@ digraph jumpFromRhsOfOperator_kt {
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170 174};
168 -> {169 175};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173} [style=dotted];
172 -> {173};
173 -> {174} [style=dotted];
174 -> {175};
175 -> {176 177};
176 -> {184};
177 -> {178};
174 -> {175} [style=dotted];
175 -> {176};
176 -> {177 178};
177 -> {187};
178 -> {179};
179 -> {180};
180 -> {181};
@@ -499,5 +537,107 @@ digraph jumpFromRhsOfOperator_kt {
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194};
subgraph cluster_50 {
color=red
195 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_51 {
color=blue
196 [label="Enter block"];
subgraph cluster_52 {
color=blue
197 [label="Enter when"];
subgraph cluster_53 {
color=blue
198 [label="Enter when branch condition "];
subgraph cluster_54 {
color=blue
199 [label="Enter &&"];
200 [label="Access variable R|<local>/a|"];
201 [label="Const: Null(null)"];
202 [label="Equality operator !="];
203 [label="Exit left part of &&"];
204 [label="Enter right part of &&"];
subgraph cluster_55 {
color=blue
205 [label="Function call arguments enter"];
206 [label="Function call arguments exit"];
}
207 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
208 [label="Throw: throw R|java/lang/Exception.Exception|()"];
209 [label="Stub" style="filled" fillcolor=gray];
210 [label="Exit &&"];
}
211 [label="Exit when branch condition"];
}
212 [label="Synthetic else branch"];
213 [label="Enter when branch result"];
subgraph cluster_56 {
color=blue
214 [label="Enter block"];
subgraph cluster_57 {
color=blue
215 [label="Function call arguments enter"];
216 [label="Access variable R|<local>/a|"];
217 [label="Smart cast: R|<local>/a|"];
218 [label="Function call arguments exit"];
}
219 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
220 [label="Exit block"];
}
221 [label="Exit when branch result"];
222 [label="Exit when"];
}
subgraph cluster_58 {
color=blue
223 [label="Function call arguments enter"];
224 [label="Access variable R|<local>/a|"];
225 [label="Smart cast: R|<local>/a|"];
226 [label="Function call arguments exit"];
}
227 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
228 [label="Exit block"];
}
229 [label="Exit function test_8" style="filled" fillcolor=red];
}
195 -> {196};
196 -> {197};
197 -> {198};
198 -> {199};
199 -> {200};
200 -> {201};
201 -> {202};
202 -> {203};
203 -> {204 210};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209} [style=dotted];
209 -> {210} [style=dotted];
210 -> {211};
211 -> {212 213};
212 -> {222};
213 -> {214};
214 -> {215};
215 -> {216};
216 -> {217};
217 -> {218};
218 -> {219};
219 -> {220};
220 -> {221};
221 -> {222};
222 -> {223};
223 -> {224};
224 -> {225};
225 -> {226};
226 -> {227};
227 -> {228};
228 -> {229};
}
@@ -61,20 +61,30 @@ digraph boundSmartcasts_kt {
subgraph cluster_9 {
color=blue
21 [label="Enter block"];
22 [label="Access variable R|<local>/x|"];
23 [label="Smart cast: R|<local>/x|"];
24 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
25 [label="Access variable R|<local>/y|"];
26 [label="Smart cast: R|<local>/y|"];
27 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
subgraph cluster_10 {
color=blue
22 [label="Function call arguments enter"];
23 [label="Access variable R|<local>/x|"];
24 [label="Smart cast: R|<local>/x|"];
25 [label="Function call arguments exit"];
}
26 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_11 {
color=blue
27 [label="Function call arguments enter"];
28 [label="Access variable R|<local>/y|"];
29 [label="Smart cast: R|<local>/y|"];
30 [label="Function call arguments exit"];
}
31 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
29 [label="Exit when branch result"];
30 [label="Exit when"];
33 [label="Exit when branch result"];
34 [label="Exit when"];
}
31 [label="Exit block"];
35 [label="Exit block"];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
36 [label="Exit function test_1" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
@@ -85,7 +95,7 @@ digraph boundSmartcasts_kt {
16 -> {17};
17 -> {18};
18 -> {19 20};
19 -> {30};
19 -> {34};
20 -> {21};
21 -> {22};
22 -> {23};
@@ -98,59 +108,69 @@ digraph boundSmartcasts_kt {
29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_10 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
34 [label="Enter block"];
35 [label="Access variable R|<local>/x|"];
36 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_12 {
color=blue
37 [label="Enter when"];
subgraph cluster_13 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Access variable R|<local>/y|"];
40 [label="Type operator: (R|<local>/y| is R|A|)"];
41 [label="Exit when branch condition"];
}
42 [label="Synthetic else branch"];
43 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Smart cast: R|<local>/x|"];
47 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
48 [label="Access variable R|<local>/y|"];
49 [label="Smart cast: R|<local>/y|"];
50 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
51 [label="Exit block"];
}
52 [label="Exit when branch result"];
53 [label="Exit when"];
}
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_12 {
color=red
37 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
38 [label="Enter block"];
39 [label="Access variable R|<local>/x|"];
40 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_14 {
color=blue
41 [label="Enter when"];
subgraph cluster_15 {
color=blue
42 [label="Enter when branch condition "];
43 [label="Access variable R|<local>/y|"];
44 [label="Type operator: (R|<local>/y| is R|A|)"];
45 [label="Exit when branch condition"];
}
46 [label="Synthetic else branch"];
47 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
48 [label="Enter block"];
subgraph cluster_17 {
color=blue
49 [label="Function call arguments enter"];
50 [label="Access variable R|<local>/x|"];
51 [label="Smart cast: R|<local>/x|"];
52 [label="Function call arguments exit"];
}
53 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_18 {
color=blue
54 [label="Function call arguments enter"];
55 [label="Access variable R|<local>/y|"];
56 [label="Smart cast: R|<local>/y|"];
57 [label="Function call arguments exit"];
}
58 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
61 [label="Exit when"];
}
62 [label="Exit block"];
}
63 [label="Exit function test_2" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42 43};
42 -> {53};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
45 -> {46 47};
46 -> {61};
47 -> {48};
48 -> {49};
49 -> {50};
@@ -159,70 +179,7 @@ digraph boundSmartcasts_kt {
52 -> {53};
53 -> {54};
54 -> {55};
subgraph cluster_15 {
color=red
56 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
57 [label="Enter block"];
58 [label="Access variable R|<local>/x|"];
59 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_17 {
color=blue
60 [label="Enter when"];
subgraph cluster_18 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/x|"];
63 [label="Type operator: (R|<local>/x| is R|A|)"];
64 [label="Exit when branch condition"];
}
65 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/z|"];
69 [label="Smart cast: R|<local>/z|"];
70 [label="Function call: R|<local>/z|.R|/A.foo|()" style="filled" fillcolor=yellow];
71 [label="Exit block"];
}
72 [label="Exit when branch result"];
73 [label="Exit when"];
}
74 [label="Access variable R|<local>/y|"];
75 [label="Assignment: R|<local>/z|"];
subgraph cluster_20 {
color=blue
76 [label="Enter when"];
subgraph cluster_21 {
color=blue
77 [label="Enter when branch condition "];
78 [label="Access variable R|<local>/y|"];
79 [label="Type operator: (R|<local>/y| is R|B|)"];
80 [label="Exit when branch condition"];
}
81 [label="Synthetic else branch"];
82 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
83 [label="Enter block"];
84 [label="Access variable R|<local>/z|"];
85 [label="Smart cast: R|<local>/z|"];
86 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
87 [label="Access variable R|<local>/z|"];
88 [label="Smart cast: R|<local>/z|"];
89 [label="Function call: R|<local>/z|.R|/B.bar|()" style="filled" fillcolor=yellow];
90 [label="Exit block"];
}
91 [label="Exit when branch result"];
92 [label="Exit when"];
}
93 [label="Exit block"];
}
94 [label="Exit function test_3" style="filled" fillcolor=red];
}
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
@@ -230,25 +187,103 @@ digraph boundSmartcasts_kt {
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65 66};
65 -> {73};
subgraph cluster_19 {
color=red
64 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
65 [label="Enter block"];
66 [label="Access variable R|<local>/x|"];
67 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_21 {
color=blue
68 [label="Enter when"];
subgraph cluster_22 {
color=blue
69 [label="Enter when branch condition "];
70 [label="Access variable R|<local>/x|"];
71 [label="Type operator: (R|<local>/x| is R|A|)"];
72 [label="Exit when branch condition"];
}
73 [label="Synthetic else branch"];
74 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
75 [label="Enter block"];
subgraph cluster_24 {
color=blue
76 [label="Function call arguments enter"];
77 [label="Access variable R|<local>/z|"];
78 [label="Smart cast: R|<local>/z|"];
79 [label="Function call arguments exit"];
}
80 [label="Function call: R|<local>/z|.R|/A.foo|()" style="filled" fillcolor=yellow];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
83 [label="Exit when"];
}
84 [label="Access variable R|<local>/y|"];
85 [label="Assignment: R|<local>/z|"];
subgraph cluster_25 {
color=blue
86 [label="Enter when"];
subgraph cluster_26 {
color=blue
87 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/y|"];
89 [label="Type operator: (R|<local>/y| is R|B|)"];
90 [label="Exit when branch condition"];
}
91 [label="Synthetic else branch"];
92 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
93 [label="Enter block"];
subgraph cluster_28 {
color=blue
94 [label="Function call arguments enter"];
95 [label="Access variable R|<local>/z|"];
96 [label="Smart cast: R|<local>/z|"];
97 [label="Function call arguments exit"];
}
98 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
subgraph cluster_29 {
color=blue
99 [label="Function call arguments enter"];
100 [label="Access variable R|<local>/z|"];
101 [label="Smart cast: R|<local>/z|"];
102 [label="Function call arguments exit"];
}
103 [label="Function call: R|<local>/z|.R|/B.bar|()" style="filled" fillcolor=yellow];
104 [label="Exit block"];
}
105 [label="Exit when branch result"];
106 [label="Exit when"];
}
107 [label="Exit block"];
}
108 [label="Exit function test_3" style="filled" fillcolor=red];
}
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
72 -> {73 74};
73 -> {83};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81 82};
81 -> {92};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
@@ -257,58 +292,11 @@ digraph boundSmartcasts_kt {
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
90 -> {91 92};
91 -> {106};
92 -> {93};
93 -> {94};
subgraph cluster_23 {
color=red
95 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
96 [label="Enter block"];
97 [label="Const: Int(1)"];
98 [label="Variable declaration: lvar x: R|kotlin/Any|"];
99 [label="Access variable R|<local>/x|"];
100 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
101 [label="Access variable R|<local>/x|"];
102 [label="Smart cast: R|<local>/x|"];
103 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
104 [label="Access variable R|<local>/y|"];
105 [label="Assignment: R|<local>/x|"];
106 [label="Access variable R|<local>/x|"];
107 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_25 {
color=blue
108 [label="Enter when"];
subgraph cluster_26 {
color=blue
109 [label="Enter when branch condition "];
110 [label="Access variable R|<local>/y|"];
111 [label="Type operator: (R|<local>/y| is R|A|)"];
112 [label="Exit when branch condition"];
}
113 [label="Synthetic else branch"];
114 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
115 [label="Enter block"];
116 [label="Access variable R|<local>/x|"];
117 [label="Smart cast: R|<local>/x|"];
118 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
119 [label="Access variable R|<local>/y|"];
120 [label="Smart cast: R|<local>/y|"];
121 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
122 [label="Exit block"];
}
123 [label="Exit when branch result"];
124 [label="Exit when"];
}
125 [label="Exit block"];
}
126 [label="Exit function test_4" style="filled" fillcolor=red];
}
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
@@ -322,12 +310,79 @@ digraph boundSmartcasts_kt {
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
subgraph cluster_30 {
color=red
109 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
110 [label="Enter block"];
111 [label="Const: Int(1)"];
112 [label="Variable declaration: lvar x: R|kotlin/Any|"];
113 [label="Access variable R|<local>/x|"];
114 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
subgraph cluster_32 {
color=blue
115 [label="Function call arguments enter"];
116 [label="Access variable R|<local>/x|"];
117 [label="Smart cast: R|<local>/x|"];
118 [label="Function call arguments exit"];
}
119 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
120 [label="Access variable R|<local>/y|"];
121 [label="Assignment: R|<local>/x|"];
subgraph cluster_33 {
color=blue
122 [label="Function call arguments enter"];
123 [label="Access variable R|<local>/x|"];
124 [label="Function call arguments exit"];
}
125 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_34 {
color=blue
126 [label="Enter when"];
subgraph cluster_35 {
color=blue
127 [label="Enter when branch condition "];
128 [label="Access variable R|<local>/y|"];
129 [label="Type operator: (R|<local>/y| is R|A|)"];
130 [label="Exit when branch condition"];
}
131 [label="Synthetic else branch"];
132 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
133 [label="Enter block"];
subgraph cluster_37 {
color=blue
134 [label="Function call arguments enter"];
135 [label="Access variable R|<local>/x|"];
136 [label="Smart cast: R|<local>/x|"];
137 [label="Function call arguments exit"];
}
138 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_38 {
color=blue
139 [label="Function call arguments enter"];
140 [label="Access variable R|<local>/y|"];
141 [label="Smart cast: R|<local>/y|"];
142 [label="Function call arguments exit"];
}
143 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
144 [label="Exit block"];
}
145 [label="Exit when branch result"];
146 [label="Exit when"];
}
147 [label="Exit block"];
}
148 [label="Exit function test_4" style="filled" fillcolor=red];
}
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113 114};
113 -> {124};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
@@ -340,135 +395,124 @@ digraph boundSmartcasts_kt {
123 -> {124};
124 -> {125};
125 -> {126};
subgraph cluster_28 {
color=red
127 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
128 [label="Enter property" style="filled" fillcolor=red];
129 [label="Access variable R|<local>/any|"];
130 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_30 {
color=blue
131 [label="Enter function <init>" style="filled" fillcolor=red];
132 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
133 [label="Exit function <init>" style="filled" fillcolor=red];
}
134 [label="Exit class D" style="filled" fillcolor=red];
}
127 -> {128} [color=green];
127 -> {134} [style=dotted];
127 -> {128 131} [style=dashed];
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131} [color=green];
131 -> {132};
130 -> {131 132};
131 -> {146};
132 -> {133};
133 -> {134} [color=green];
subgraph cluster_31 {
color=red
135 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
136 [label="Enter block"];
137 [label="Exit block"];
}
138 [label="Exit function baz" style="filled" fillcolor=red];
}
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
subgraph cluster_33 {
color=red
139 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
140 [label="Enter block"];
141 [label="Access variable R|<local>/d|"];
142 [label="Access variable R|/D.any|"];
143 [label="Exit lhs of ?:"];
144 [label="Enter rhs of ?:"];
145 [label="Jump: ^test_5 Unit"];
146 [label="Stub" style="filled" fillcolor=gray];
147 [label="Lhs of ?: is not null"];
148 [label="Exit ?:"];
149 [label="Variable declaration: lval a: R|kotlin/Any|"];
150 [label="Access variable R|<local>/a|"];
151 [label="Function call: R|<local>/a|.R|/baz|()" style="filled" fillcolor=yellow];
152 [label="Access variable R|<local>/d|"];
153 [label="Access variable R|/D.any|"];
154 [label="Smart cast: R|<local>/d|.R|/D.any|"];
155 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
156 [label="Access variable R|<local>/a|"];
157 [label="Type operator: (R|<local>/a| as R|A|)"];
158 [label="Access variable R|<local>/a|"];
159 [label="Smart cast: R|<local>/a|"];
160 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
161 [label="Exit block"];
}
162 [label="Exit function test_5" style="filled" fillcolor=red];
}
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144 147};
143 -> {144};
144 -> {145};
145 -> {162};
145 -> {146} [style=dotted];
146 -> {148} [style=dotted];
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
subgraph cluster_39 {
color=red
149 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
150 [label="Enter property" style="filled" fillcolor=red];
151 [label="Access variable R|<local>/any|"];
152 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_41 {
color=blue
153 [label="Enter function <init>" style="filled" fillcolor=red];
154 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
155 [label="Exit function <init>" style="filled" fillcolor=red];
}
156 [label="Exit class D" style="filled" fillcolor=red];
}
149 -> {150} [color=green];
149 -> {156} [style=dotted];
149 -> {150 153} [style=dashed];
150 -> {151};
151 -> {152};
152 -> {153};
152 -> {153} [color=green];
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
155 -> {156} [color=green];
subgraph cluster_42 {
color=red
157 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_43 {
color=blue
158 [label="Enter block"];
159 [label="Exit block"];
}
160 [label="Exit function baz" style="filled" fillcolor=red];
}
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
subgraph cluster_35 {
subgraph cluster_44 {
color=red
163 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_36 {
161 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_45 {
color=blue
164 [label="Enter block"];
165 [label="Access variable R|<local>/d1|"];
166 [label="Access variable R|/D.any|"];
167 [label="Variable declaration: lval a: R|kotlin/Any?|"];
168 [label="Access variable R|<local>/a|"];
169 [label="Type operator: (R|<local>/a| as R|A|)"];
170 [label="Access variable R|<local>/a|"];
171 [label="Smart cast: R|<local>/a|"];
172 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
173 [label="Access variable R|<local>/d1|"];
174 [label="Access variable R|/D.any|"];
175 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
176 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()" style="filled" fillcolor=yellow];
177 [label="Access variable R|<local>/d1|"];
178 [label="Access variable R|/D.any|"];
179 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
180 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
181 [label="Exit block"];
162 [label="Enter block"];
163 [label="Access variable R|<local>/d|"];
164 [label="Access variable R|/D.any|"];
165 [label="Exit lhs of ?:"];
166 [label="Enter rhs of ?:"];
167 [label="Jump: ^test_5 Unit"];
168 [label="Stub" style="filled" fillcolor=gray];
169 [label="Lhs of ?: is not null"];
170 [label="Exit ?:"];
171 [label="Variable declaration: lval a: R|kotlin/Any|"];
subgraph cluster_46 {
color=blue
172 [label="Function call arguments enter"];
173 [label="Access variable R|<local>/a|"];
174 [label="Function call arguments exit"];
}
175 [label="Function call: R|<local>/a|.R|/baz|()" style="filled" fillcolor=yellow];
subgraph cluster_47 {
color=blue
176 [label="Function call arguments enter"];
177 [label="Access variable R|<local>/d|"];
178 [label="Access variable R|/D.any|"];
179 [label="Smart cast: R|<local>/d|.R|/D.any|"];
180 [label="Function call arguments exit"];
}
181 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
182 [label="Access variable R|<local>/a|"];
183 [label="Type operator: (R|<local>/a| as R|A|)"];
subgraph cluster_48 {
color=blue
184 [label="Function call arguments enter"];
185 [label="Access variable R|<local>/a|"];
186 [label="Smart cast: R|<local>/a|"];
187 [label="Function call arguments exit"];
}
188 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
189 [label="Exit block"];
}
182 [label="Exit function test_6" style="filled" fillcolor=red];
190 [label="Exit function test_5" style="filled" fillcolor=red];
}
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
165 -> {166 169};
166 -> {167};
167 -> {168};
168 -> {169};
167 -> {190};
167 -> {168} [style=dotted];
168 -> {170} [style=dotted];
169 -> {170};
170 -> {171};
171 -> {172};
@@ -482,45 +526,56 @@ digraph boundSmartcasts_kt {
179 -> {180};
180 -> {181};
181 -> {182};
subgraph cluster_37 {
color=red
183 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
184 [label="Enter block"];
185 [label="Access variable R|<local>/d1|"];
186 [label="Enter safe call"];
187 [label="Access variable R|/D.any|"];
188 [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"];
192 [label="Access variable R|/D.any|"];
193 [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="Smart cast: R|<local>/a|"];
199 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
200 [label="Access variable R|<local>/b|"];
201 [label="Type operator: (R|<local>/b| as R|B|)"];
202 [label="Access variable R|<local>/b|"];
203 [label="Smart cast: R|<local>/b|"];
204 [label="Function call: R|<local>/b|.R|/B.bar|()" style="filled" fillcolor=yellow];
205 [label="Exit block"];
}
206 [label="Exit function test_7" style="filled" fillcolor=red];
}
182 -> {183};
183 -> {184};
184 -> {185};
185 -> {186 188};
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191 193};
subgraph cluster_49 {
color=red
191 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_50 {
color=blue
192 [label="Enter block"];
193 [label="Access variable R|<local>/d1|"];
194 [label="Access variable R|/D.any|"];
195 [label="Variable declaration: lval a: R|kotlin/Any?|"];
196 [label="Access variable R|<local>/a|"];
197 [label="Type operator: (R|<local>/a| as R|A|)"];
subgraph cluster_51 {
color=blue
198 [label="Function call arguments enter"];
199 [label="Access variable R|<local>/a|"];
200 [label="Smart cast: R|<local>/a|"];
201 [label="Function call arguments exit"];
}
202 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_52 {
color=blue
203 [label="Function call arguments enter"];
204 [label="Access variable R|<local>/d1|"];
205 [label="Access variable R|/D.any|"];
206 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
207 [label="Function call arguments exit"];
}
208 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_53 {
color=blue
209 [label="Function call arguments enter"];
210 [label="Access variable R|<local>/d1|"];
211 [label="Access variable R|/D.any|"];
212 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
213 [label="Function call arguments exit"];
}
214 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
215 [label="Exit block"];
}
216 [label="Exit function test_6" style="filled" fillcolor=red];
}
191 -> {192};
192 -> {193};
193 -> {194};
@@ -536,5 +591,83 @@ digraph boundSmartcasts_kt {
203 -> {204};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209};
209 -> {210};
210 -> {211};
211 -> {212};
212 -> {213};
213 -> {214};
214 -> {215};
215 -> {216};
subgraph cluster_54 {
color=red
217 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_55 {
color=blue
218 [label="Enter block"];
219 [label="Access variable R|<local>/d1|"];
220 [label="Enter safe call"];
221 [label="Access variable R|/D.any|"];
222 [label="Exit safe call"];
223 [label="Variable declaration: lval a: R|kotlin/Any?|"];
224 [label="Access variable R|<local>/d2|"];
225 [label="Enter safe call"];
226 [label="Access variable R|/D.any|"];
227 [label="Exit safe call"];
228 [label="Variable declaration: lval b: R|kotlin/Any?|"];
229 [label="Access variable R|<local>/a|"];
230 [label="Type operator: (R|<local>/a| as R|A|)"];
subgraph cluster_56 {
color=blue
231 [label="Function call arguments enter"];
232 [label="Access variable R|<local>/a|"];
233 [label="Smart cast: R|<local>/a|"];
234 [label="Function call arguments exit"];
}
235 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
236 [label="Access variable R|<local>/b|"];
237 [label="Type operator: (R|<local>/b| as R|B|)"];
subgraph cluster_57 {
color=blue
238 [label="Function call arguments enter"];
239 [label="Access variable R|<local>/b|"];
240 [label="Smart cast: R|<local>/b|"];
241 [label="Function call arguments exit"];
}
242 [label="Function call: R|<local>/b|.R|/B.bar|()" style="filled" fillcolor=yellow];
243 [label="Exit block"];
}
244 [label="Exit function test_7" style="filled" fillcolor=red];
}
217 -> {218};
218 -> {219};
219 -> {220 222};
220 -> {221};
221 -> {222};
222 -> {223};
223 -> {224};
224 -> {225 227};
225 -> {226};
226 -> {227};
227 -> {228};
228 -> {229};
229 -> {230};
230 -> {231};
231 -> {232};
232 -> {233};
233 -> {234};
234 -> {235};
235 -> {236};
236 -> {237};
237 -> {238};
238 -> {239};
239 -> {240};
240 -> {241};
241 -> {242};
242 -> {243};
243 -> {244};
}
@@ -91,38 +91,43 @@ digraph functionCallBound_kt {
26 [label="Access variable R|<local>/base|"];
27 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
28 [label="Enter safe call"];
29 [label="Function call: $subj$.R|/isOk|()" style="filled" fillcolor=yellow];
30 [label="Exit safe call"];
31 [label="Const: Boolean(true)"];
32 [label="Equality operator =="];
33 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
34 [label="Enter when branch condition else"];
subgraph cluster_12 {
color=blue
29 [label="Function call arguments enter"];
30 [label="Function call arguments exit"];
}
31 [label="Function call: $subj$.R|/isOk|()" style="filled" fillcolor=yellow];
32 [label="Exit safe call"];
33 [label="Const: Boolean(true)"];
34 [label="Equality operator =="];
35 [label="Exit when branch condition"];
}
36 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/base|"];
39 [label="Exit block"];
36 [label="Enter when branch condition else"];
37 [label="Exit when branch condition"];
}
40 [label="Exit when branch result"];
41 [label="Enter when branch result"];
38 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
42 [label="Enter block"];
43 [label="Access variable R|<local>/base|"];
44 [label="Smart cast: R|<local>/base|"];
45 [label="Access variable R|/Sub.data|"];
46 [label="Exit block"];
39 [label="Enter block"];
40 [label="Access variable R|<local>/base|"];
41 [label="Exit block"];
}
47 [label="Exit when branch result"];
48 [label="Exit when"];
42 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/base|"];
46 [label="Smart cast: R|<local>/base|"];
47 [label="Access variable R|/Sub.data|"];
48 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Exit when"];
}
49 [label="Jump: ^check when () {
51 [label="Jump: ^check when () {
==((R|<local>/base| as? R|Sub|)?.{ $subj$.R|/isOk|() }, Boolean(true)) -> {
R|<local>/base|.R|/Sub.data|
}
@@ -131,41 +136,43 @@ digraph functionCallBound_kt {
}
}
"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray];
}
52 [label="Exit function check" style="filled" fillcolor=red];
54 [label="Exit function check" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28 30};
27 -> {28 32};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34 41};
33 -> {34};
34 -> {35};
35 -> {36};
35 -> {36 43};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {48};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {50};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {52};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
49 -> {50};
50 -> {51};
51 -> {54};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
}
@@ -55,20 +55,30 @@ digraph casts_kt {
subgraph cluster_7 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/x|"];
22 [label="Smart cast: R|<local>/x|"];
23 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
24 [label="Exit block"];
subgraph cluster_8 {
color=blue
21 [label="Function call arguments enter"];
22 [label="Access variable R|<local>/x|"];
23 [label="Smart cast: R|<local>/x|"];
24 [label="Function call arguments exit"];
}
25 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
25 [label="Exit when branch result"];
26 [label="Exit when"];
27 [label="Exit when branch result"];
28 [label="Exit when"];
}
27 [label="Access variable R|<local>/x|"];
28 [label="Smart cast: R|<local>/x|"];
29 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
30 [label="Exit block"];
subgraph cluster_9 {
color=blue
29 [label="Function call arguments enter"];
30 [label="Access variable R|<local>/x|"];
31 [label="Smart cast: R|<local>/x|"];
32 [label="Function call arguments exit"];
}
33 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
34 [label="Exit block"];
}
31 [label="Exit function test_2" style="filled" fillcolor=red];
35 [label="Exit function test_2" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
@@ -77,7 +87,7 @@ digraph casts_kt {
15 -> {16};
16 -> {17};
17 -> {18 19};
18 -> {26};
18 -> {28};
19 -> {20};
20 -> {21};
21 -> {22};
@@ -90,134 +100,164 @@ digraph casts_kt {
28 -> {29};
29 -> {30};
30 -> {31};
subgraph cluster_8 {
color=red
32 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
33 [label="Enter block"];
subgraph cluster_10 {
color=blue
34 [label="Enter when"];
subgraph cluster_11 {
color=blue
35 [label="Enter when branch condition "];
subgraph cluster_12 {
color=blue
36 [label="Enter &&"];
37 [label="Access variable R|<local>/b|"];
38 [label="Exit left part of &&"];
39 [label="Enter right part of &&"];
40 [label="Access variable R|<local>/x|"];
41 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
42 [label="Exit &&"];
}
43 [label="Exit when branch condition"];
}
44 [label="Synthetic else branch"];
45 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/x|"];
48 [label="Smart cast: R|<local>/x|"];
49 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
50 [label="Exit block"];
}
51 [label="Exit when branch result"];
52 [label="Exit when"];
}
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_14 {
color=blue
55 [label="Enter when"];
subgraph cluster_15 {
color=blue
56 [label="Enter when branch condition "];
subgraph cluster_16 {
color=blue
57 [label="Enter &&"];
58 [label="Access variable R|<local>/b|"];
59 [label="Exit left part of &&"];
60 [label="Enter right part of &&"];
61 [label="Access variable R|<local>/x|"];
62 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
63 [label="Const: Boolean(true)"];
64 [label="Equality operator =="];
65 [label="Exit &&"];
}
66 [label="Exit when branch condition"];
}
67 [label="Synthetic else branch"];
68 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
69 [label="Enter block"];
70 [label="Access variable R|<local>/x|"];
71 [label="Smart cast: R|<local>/x|"];
72 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
75 [label="Exit when"];
}
76 [label="Access variable R|<local>/x|"];
77 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_18 {
color=blue
78 [label="Enter when"];
subgraph cluster_19 {
color=blue
79 [label="Enter when branch condition "];
subgraph cluster_20 {
color=blue
80 [label="Enter ||"];
81 [label="Access variable R|<local>/b|"];
82 [label="Exit left part of ||"];
83 [label="Enter right part of ||"];
84 [label="Access variable R|<local>/x|"];
85 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
86 [label="Exit ||"];
}
87 [label="Exit when branch condition"];
}
88 [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>/x|"];
92 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
93 [label="Exit block"];
}
94 [label="Exit when branch result"];
95 [label="Exit when"];
}
96 [label="Access variable R|<local>/x|"];
97 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
98 [label="Exit block"];
}
99 [label="Exit function test_3" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_10 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter block"];
subgraph cluster_12 {
color=blue
38 [label="Enter when"];
subgraph cluster_13 {
color=blue
39 [label="Enter when branch condition "];
subgraph cluster_14 {
color=blue
40 [label="Enter &&"];
41 [label="Access variable R|<local>/b|"];
42 [label="Exit left part of &&"];
43 [label="Enter right part of &&"];
44 [label="Access variable R|<local>/x|"];
45 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
46 [label="Exit &&"];
}
47 [label="Exit when branch condition"];
}
48 [label="Synthetic else branch"];
49 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
50 [label="Enter block"];
subgraph cluster_16 {
color=blue
51 [label="Function call arguments enter"];
52 [label="Access variable R|<local>/x|"];
53 [label="Smart cast: R|<local>/x|"];
54 [label="Function call arguments exit"];
}
55 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
58 [label="Exit when"];
}
subgraph cluster_17 {
color=blue
59 [label="Function call arguments enter"];
60 [label="Access variable R|<local>/x|"];
61 [label="Function call arguments exit"];
}
62 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_18 {
color=blue
63 [label="Enter when"];
subgraph cluster_19 {
color=blue
64 [label="Enter when branch condition "];
subgraph cluster_20 {
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>/x|"];
70 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
71 [label="Const: Boolean(true)"];
72 [label="Equality operator =="];
73 [label="Exit &&"];
}
74 [label="Exit when branch condition"];
}
75 [label="Synthetic else branch"];
76 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
77 [label="Enter block"];
subgraph cluster_22 {
color=blue
78 [label="Function call arguments enter"];
79 [label="Access variable R|<local>/x|"];
80 [label="Smart cast: R|<local>/x|"];
81 [label="Function call arguments exit"];
}
82 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
83 [label="Exit block"];
}
84 [label="Exit when branch result"];
85 [label="Exit when"];
}
subgraph cluster_23 {
color=blue
86 [label="Function call arguments enter"];
87 [label="Access variable R|<local>/x|"];
88 [label="Function call arguments exit"];
}
89 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_24 {
color=blue
90 [label="Enter when"];
subgraph cluster_25 {
color=blue
91 [label="Enter when branch condition "];
subgraph cluster_26 {
color=blue
92 [label="Enter ||"];
93 [label="Access variable R|<local>/b|"];
94 [label="Exit left part of ||"];
95 [label="Enter right part of ||"];
96 [label="Access variable R|<local>/x|"];
97 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
98 [label="Exit ||"];
}
99 [label="Exit when branch condition"];
}
100 [label="Synthetic else branch"];
101 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
102 [label="Enter block"];
subgraph cluster_28 {
color=blue
103 [label="Function call arguments enter"];
104 [label="Access variable R|<local>/x|"];
105 [label="Function call arguments exit"];
}
106 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
subgraph cluster_29 {
color=blue
110 [label="Function call arguments enter"];
111 [label="Access variable R|<local>/x|"];
112 [label="Function call arguments exit"];
}
113 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
114 [label="Exit block"];
}
115 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39 42};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44 45};
44 -> {52};
42 -> {43 46};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
47 -> {48 49};
48 -> {58};
49 -> {50};
50 -> {51};
51 -> {52};
@@ -228,138 +268,48 @@ digraph casts_kt {
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60 65};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67 68};
67 -> {75};
66 -> {67};
67 -> {68 73};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
74 -> {75 76};
75 -> {85};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83 86};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88 89};
88 -> {95};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {95 98};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
subgraph cluster_22 {
color=red
100 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
101 [label="Enter block"];
subgraph cluster_24 {
color=blue
102 [label="Enter when"];
subgraph cluster_25 {
color=blue
103 [label="Enter when branch condition "];
104 [label="Access variable R|<local>/b|"];
105 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
106 [label="Const: Null(null)"];
107 [label="Equality operator !="];
108 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
109 [label="Enter when branch condition else"];
110 [label="Exit when branch condition"];
}
111 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
112 [label="Enter block"];
113 [label="Access variable R|<local>/b|"];
114 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
115 [label="Exit block"];
}
116 [label="Exit when branch result"];
117 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
118 [label="Enter block"];
119 [label="Access variable R|<local>/b|"];
120 [label="Smart cast: R|<local>/b|"];
121 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
122 [label="Exit block"];
}
123 [label="Exit when branch result"];
124 [label="Exit when"];
}
125 [label="Access variable R|<local>/b|"];
126 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_29 {
color=blue
127 [label="Enter when"];
subgraph cluster_30 {
color=blue
128 [label="Enter when branch condition "];
129 [label="Access variable R|<local>/b|"];
130 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
131 [label="Const: Null(null)"];
132 [label="Equality operator =="];
133 [label="Exit when branch condition"];
}
subgraph cluster_31 {
color=blue
134 [label="Enter when branch condition else"];
135 [label="Exit when branch condition"];
}
136 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
137 [label="Enter block"];
138 [label="Access variable R|<local>/b|"];
139 [label="Smart cast: R|<local>/b|"];
140 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
141 [label="Exit block"];
}
142 [label="Exit when branch result"];
143 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
144 [label="Enter block"];
145 [label="Access variable R|<local>/b|"];
146 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
147 [label="Exit block"];
}
148 [label="Exit when branch result"];
149 [label="Exit when"];
}
150 [label="Access variable R|<local>/b|"];
151 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
152 [label="Exit block"];
}
153 [label="Exit function test_4" style="filled" fillcolor=red];
}
100 -> {101};
99 -> {100 101};
100 -> {109};
101 -> {102};
102 -> {103};
103 -> {104};
@@ -367,15 +317,135 @@ digraph casts_kt {
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109 117};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {124};
subgraph cluster_30 {
color=red
116 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
117 [label="Enter block"];
subgraph cluster_32 {
color=blue
118 [label="Enter when"];
subgraph cluster_33 {
color=blue
119 [label="Enter when branch condition "];
120 [label="Access variable R|<local>/b|"];
121 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
122 [label="Const: Null(null)"];
123 [label="Equality operator !="];
124 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
125 [label="Enter when branch condition else"];
126 [label="Exit when branch condition"];
}
127 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
128 [label="Enter block"];
subgraph cluster_36 {
color=blue
129 [label="Function call arguments enter"];
130 [label="Access variable R|<local>/b|"];
131 [label="Function call arguments exit"];
}
132 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
135 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
136 [label="Enter block"];
subgraph cluster_38 {
color=blue
137 [label="Function call arguments enter"];
138 [label="Access variable R|<local>/b|"];
139 [label="Smart cast: R|<local>/b|"];
140 [label="Function call arguments exit"];
}
141 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
142 [label="Exit block"];
}
143 [label="Exit when branch result"];
144 [label="Exit when"];
}
subgraph cluster_39 {
color=blue
145 [label="Function call arguments enter"];
146 [label="Access variable R|<local>/b|"];
147 [label="Function call arguments exit"];
}
148 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_40 {
color=blue
149 [label="Enter when"];
subgraph cluster_41 {
color=blue
150 [label="Enter when branch condition "];
151 [label="Access variable R|<local>/b|"];
152 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
153 [label="Const: Null(null)"];
154 [label="Equality operator =="];
155 [label="Exit when branch condition"];
}
subgraph cluster_42 {
color=blue
156 [label="Enter when branch condition else"];
157 [label="Exit when branch condition"];
}
158 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
159 [label="Enter block"];
subgraph cluster_44 {
color=blue
160 [label="Function call arguments enter"];
161 [label="Access variable R|<local>/b|"];
162 [label="Smart cast: R|<local>/b|"];
163 [label="Function call arguments exit"];
}
164 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
165 [label="Exit block"];
}
166 [label="Exit when branch result"];
167 [label="Enter when branch result"];
subgraph cluster_45 {
color=blue
168 [label="Enter block"];
subgraph cluster_46 {
color=blue
169 [label="Function call arguments enter"];
170 [label="Access variable R|<local>/b|"];
171 [label="Function call arguments exit"];
}
172 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
173 [label="Exit block"];
}
174 [label="Exit when branch result"];
175 [label="Exit when"];
}
subgraph cluster_47 {
color=blue
176 [label="Function call arguments enter"];
177 [label="Access variable R|<local>/b|"];
178 [label="Function call arguments exit"];
}
179 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
180 [label="Exit block"];
}
181 [label="Exit function test_4" style="filled" fillcolor=red];
}
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
@@ -383,7 +453,7 @@ digraph casts_kt {
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
124 -> {125 135};
125 -> {126};
126 -> {127};
127 -> {128};
@@ -392,8 +462,8 @@ digraph casts_kt {
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134 143};
134 -> {135};
133 -> {134};
134 -> {144};
135 -> {136};
136 -> {137};
137 -> {138};
@@ -401,7 +471,7 @@ digraph casts_kt {
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {149};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
@@ -412,5 +482,33 @@ digraph casts_kt {
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156 167};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {175};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
}
@@ -53,17 +53,22 @@ digraph elvis_kt {
subgraph cluster_7 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/x|"];
25 [label="Smart cast: R|<local>/x|"];
26 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
27 [label="Exit block"];
subgraph cluster_8 {
color=blue
24 [label="Function call arguments enter"];
25 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"];
27 [label="Function call arguments exit"];
}
28 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
29 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
30 [label="Exit when branch result"];
31 [label="Exit when"];
}
30 [label="Exit block"];
32 [label="Exit block"];
}
31 [label="Exit function test_1" style="filled" fillcolor=red];
33 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
@@ -75,13 +80,13 @@ digraph elvis_kt {
13 -> {14};
14 -> {15 18};
15 -> {16};
16 -> {31};
16 -> {33};
16 -> {17} [style=dotted];
17 -> {19} [style=dotted];
18 -> {19};
19 -> {20};
20 -> {21 22};
21 -> {29};
21 -> {31};
22 -> {23};
23 -> {24};
24 -> {25};
@@ -91,116 +96,118 @@ digraph elvis_kt {
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_8 {
subgraph cluster_9 {
color=red
32 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_9 {
34 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
33 [label="Enter block"];
subgraph cluster_10 {
35 [label="Enter block"];
subgraph cluster_11 {
color=blue
34 [label="Enter when"];
subgraph cluster_11 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"];
37 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
38 [label="Exit when branch condition"];
}
39 [label="Synthetic else branch"];
40 [label="Enter when branch result"];
36 [label="Enter when"];
subgraph cluster_12 {
color=blue
41 [label="Enter block"];
42 [label="Const: String()"];
43 [label="Jump: ^test2 String()"];
44 [label="Stub" style="filled" fillcolor=gray];
45 [label="Exit block" style="filled" fillcolor=gray];
37 [label="Enter when branch condition "];
38 [label="Access variable R|<local>/b|"];
39 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
40 [label="Exit when branch condition"];
}
46 [label="Exit when branch result" style="filled" fillcolor=gray];
47 [label="Exit when"];
}
subgraph cluster_13 {
color=blue
48 [label="Enter when"];
subgraph cluster_14 {
41 [label="Synthetic else branch"];
42 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
49 [label="Enter when branch condition "];
50 [label="Access variable R|<local>/a|"];
51 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
52 [label="Exit when branch condition"];
43 [label="Enter block"];
44 [label="Const: String()"];
45 [label="Jump: ^test2 String()"];
46 [label="Stub" style="filled" fillcolor=gray];
47 [label="Exit block" style="filled" fillcolor=gray];
}
53 [label="Synthetic else branch"];
54 [label="Enter when branch result"];
48 [label="Exit when branch result" style="filled" fillcolor=gray];
49 [label="Exit when"];
}
subgraph cluster_14 {
color=blue
50 [label="Enter when"];
subgraph cluster_15 {
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];
51 [label="Enter when branch condition "];
52 [label="Access variable R|<local>/a|"];
53 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
54 [label="Exit when branch condition"];
}
60 [label="Exit when branch result" style="filled" fillcolor=gray];
61 [label="Exit when"];
55 [label="Synthetic else branch"];
56 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
57 [label="Enter block"];
58 [label="Const: String()"];
59 [label="Jump: ^test2 String()"];
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit when branch result" style="filled" fillcolor=gray];
63 [label="Exit when"];
}
62 [label="Access variable R|<local>/a|"];
63 [label="Smart cast: R|<local>/a|"];
64 [label="Exit lhs of ?:"];
65 [label="Enter rhs of ?:"];
66 [label="Access variable R|<local>/b|"];
67 [label="Smart cast: R|<local>/b|"];
68 [label="Lhs of ?: is not null"];
69 [label="Exit ?:"];
70 [label="Jump: ^test2 R|<local>/a| ?: R|<local>/b|"];
71 [label="Stub" style="filled" fillcolor=gray];
72 [label="Exit block" style="filled" fillcolor=gray];
64 [label="Access variable R|<local>/a|"];
65 [label="Smart cast: R|<local>/a|"];
66 [label="Exit lhs of ?:"];
67 [label="Enter rhs of ?:"];
68 [label="Access variable R|<local>/b|"];
69 [label="Smart cast: R|<local>/b|"];
70 [label="Lhs of ?: is not null"];
71 [label="Exit ?:"];
72 [label="Jump: ^test2 R|<local>/a| ?: R|<local>/b|"];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Exit block" style="filled" fillcolor=gray];
}
73 [label="Exit function test2" style="filled" fillcolor=red];
75 [label="Exit function test2" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39 40};
39 -> {47};
40 -> {41};
41 -> {42};
38 -> {39};
39 -> {40};
40 -> {41 42};
41 -> {49};
42 -> {43};
43 -> {73};
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
43 -> {44};
44 -> {45};
45 -> {75};
45 -> {46} [style=dotted];
46 -> {47} [style=dotted];
47 -> {48};
48 -> {49};
47 -> {48} [style=dotted];
48 -> {49} [style=dotted];
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53 54};
53 -> {61};
54 -> {55};
55 -> {56};
52 -> {53};
53 -> {54};
54 -> {55 56};
55 -> {63};
56 -> {57};
57 -> {73};
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
57 -> {58};
58 -> {59};
59 -> {75};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62};
62 -> {63};
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64};
64 -> {65 68};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {69};
66 -> {67 70};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {73};
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
69 -> {71};
70 -> {71};
71 -> {72};
72 -> {75};
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75} [style=dotted];
}
@@ -242,36 +242,61 @@ digraph returns_kt {
subgraph cluster_28 {
color=blue
87 [label="Enter block"];
88 [label="Access variable R|<local>/x|"];
89 [label="Smart cast: R|<local>/x|"];
90 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
91 [label="Exit block"];
subgraph cluster_29 {
color=blue
88 [label="Function call arguments enter"];
89 [label="Access variable R|<local>/x|"];
90 [label="Smart cast: R|<local>/x|"];
91 [label="Function call arguments exit"];
}
92 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
93 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Enter when branch result"];
subgraph cluster_29 {
94 [label="Exit when branch result"];
95 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
94 [label="Enter block"];
95 [label="Access variable R|<local>/x|"];
96 [label="Smart cast: R|<local>/x|"];
97 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
98 [label="Exit block"];
96 [label="Enter block"];
subgraph cluster_31 {
color=blue
97 [label="Function call arguments enter"];
98 [label="Access variable R|<local>/x|"];
99 [label="Smart cast: R|<local>/x|"];
100 [label="Function call arguments exit"];
}
101 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
102 [label="Exit block"];
}
99 [label="Exit when branch result"];
100 [label="Exit when"];
103 [label="Exit when branch result"];
104 [label="Exit when"];
}
101 [label="Access variable R|<local>/x|"];
102 [label="Smart cast: R|<local>/x|"];
103 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
104 [label="Access variable R|<local>/x|"];
105 [label="Smart cast: R|<local>/x|"];
106 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
107 [label="Access variable R|<local>/x|"];
108 [label="Smart cast: R|<local>/x|"];
109 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
110 [label="Exit block"];
subgraph cluster_32 {
color=blue
105 [label="Function call arguments enter"];
106 [label="Access variable R|<local>/x|"];
107 [label="Smart cast: R|<local>/x|"];
108 [label="Function call arguments exit"];
}
109 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_33 {
color=blue
110 [label="Function call arguments enter"];
111 [label="Access variable R|<local>/x|"];
112 [label="Smart cast: R|<local>/x|"];
113 [label="Function call arguments exit"];
}
114 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
subgraph cluster_34 {
color=blue
115 [label="Function call arguments enter"];
116 [label="Access variable R|<local>/x|"];
117 [label="Smart cast: R|<local>/x|"];
118 [label="Function call arguments exit"];
}
119 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
120 [label="Exit block"];
}
111 [label="Exit function test_2" style="filled" fillcolor=red];
121 [label="Exit function test_2" style="filled" fillcolor=red];
}
67 -> {68};
68 -> {69};
@@ -279,7 +304,7 @@ digraph returns_kt {
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74 93};
73 -> {74 95};
74 -> {75};
75 -> {76};
76 -> {77};
@@ -288,20 +313,20 @@ digraph returns_kt {
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {111};
82 -> {121};
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {100} [style=dotted];
85 -> {104} [style=dotted];
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {100};
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {104};
95 -> {96};
96 -> {97};
97 -> {98};
@@ -318,85 +343,110 @@ digraph returns_kt {
108 -> {109};
109 -> {110};
110 -> {111};
subgraph cluster_30 {
color=red
112 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
113 [label="Enter block"];
subgraph cluster_32 {
color=blue
114 [label="Enter when"];
subgraph cluster_33 {
color=blue
115 [label="Enter when branch condition "];
116 [label="Access variable R|<local>/x|"];
117 [label="Type operator: (R|<local>/x| is R|B|)"];
118 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
119 [label="Enter when branch condition "];
120 [label="Access variable R|<local>/x|"];
121 [label="Type operator: (R|<local>/x| is R|C|)"];
122 [label="Exit when branch condition"];
}
123 [label="Synthetic else branch"];
124 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
125 [label="Enter block"];
126 [label="Access variable R|<local>/x|"];
127 [label="Smart cast: R|<local>/x|"];
128 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
129 [label="Exit block"];
}
130 [label="Exit when branch result"];
131 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
132 [label="Enter block"];
133 [label="Access variable R|<local>/x|"];
134 [label="Smart cast: R|<local>/x|"];
135 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
136 [label="Exit block"];
}
137 [label="Exit when branch result"];
138 [label="Exit when"];
}
139 [label="Access variable R|<local>/x|"];
140 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
141 [label="Access variable R|<local>/x|"];
142 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
143 [label="Access variable R|<local>/x|"];
144 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
145 [label="Exit block"];
}
146 [label="Exit function test_3" style="filled" fillcolor=red];
}
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119 131};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123 124};
123 -> {138};
subgraph cluster_35 {
color=red
122 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
123 [label="Enter block"];
subgraph cluster_37 {
color=blue
124 [label="Enter when"];
subgraph cluster_38 {
color=blue
125 [label="Enter when branch condition "];
126 [label="Access variable R|<local>/x|"];
127 [label="Type operator: (R|<local>/x| is R|B|)"];
128 [label="Exit when branch condition"];
}
subgraph cluster_39 {
color=blue
129 [label="Enter when branch condition "];
130 [label="Access variable R|<local>/x|"];
131 [label="Type operator: (R|<local>/x| is R|C|)"];
132 [label="Exit when branch condition"];
}
133 [label="Synthetic else branch"];
134 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
135 [label="Enter block"];
subgraph cluster_41 {
color=blue
136 [label="Function call arguments enter"];
137 [label="Access variable R|<local>/x|"];
138 [label="Smart cast: R|<local>/x|"];
139 [label="Function call arguments exit"];
}
140 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
141 [label="Exit block"];
}
142 [label="Exit when branch result"];
143 [label="Enter when branch result"];
subgraph cluster_42 {
color=blue
144 [label="Enter block"];
subgraph cluster_43 {
color=blue
145 [label="Function call arguments enter"];
146 [label="Access variable R|<local>/x|"];
147 [label="Smart cast: R|<local>/x|"];
148 [label="Function call arguments exit"];
}
149 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
150 [label="Exit block"];
}
151 [label="Exit when branch result"];
152 [label="Exit when"];
}
subgraph cluster_44 {
color=blue
153 [label="Function call arguments enter"];
154 [label="Access variable R|<local>/x|"];
155 [label="Function call arguments exit"];
}
156 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
subgraph cluster_45 {
color=blue
157 [label="Function call arguments enter"];
158 [label="Access variable R|<local>/x|"];
159 [label="Function call arguments exit"];
}
160 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
subgraph cluster_46 {
color=blue
161 [label="Function call arguments enter"];
162 [label="Access variable R|<local>/x|"];
163 [label="Function call arguments exit"];
}
164 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
165 [label="Exit block"];
}
166 [label="Exit function test_3" style="filled" fillcolor=red];
}
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
128 -> {129 143};
129 -> {130};
130 -> {138};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
132 -> {133 134};
133 -> {152};
134 -> {135};
135 -> {136};
136 -> {137};
@@ -405,120 +455,154 @@ digraph returns_kt {
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
142 -> {152};
143 -> {144};
144 -> {145};
145 -> {146};
subgraph cluster_37 {
color=red
147 [label="Enter function runHigherOrder" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
148 [label="Enter block"];
149 [label="Function call: R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow];
150 [label="Jump: ^runHigherOrder R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
151 [label="Stub" style="filled" fillcolor=gray];
152 [label="Exit block" style="filled" fillcolor=gray];
}
153 [label="Exit function runHigherOrder" style="filled" fillcolor=red];
}
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {153};
150 -> {151} [style=dotted];
151 -> {152} [style=dotted];
152 -> {153} [style=dotted];
subgraph cluster_39 {
color=red
154 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
155 [label="Enter block"];
156 [label="Access variable R|kotlin/String.length|"];
157 [label="Jump: ^ this@R|/ext|.R|kotlin/String.length|"];
158 [label="Stub" style="filled" fillcolor=gray];
159 [label="Exit block" style="filled" fillcolor=gray];
}
160 [label="Exit function <getter>" style="filled" fillcolor=red];
}
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {160};
157 -> {158} [style=dotted];
158 -> {159} [style=dotted];
159 -> {160} [style=dotted];
subgraph cluster_41 {
color=red
161 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_42 {
color=blue
162 [label="Enter block"];
163 [label="Access variable R|<local>/a|"];
164 [label="Type operator: (R|<local>/a| as? R|kotlin/String|)"];
165 [label="Variable declaration: lval s: R|kotlin/String?|"];
166 [label="Access variable R|<local>/s|"];
167 [label="Enter safe call"];
168 [label="Access variable R|/ext|"];
169 [label="Exit safe call"];
170 [label="Exit lhs of ?:"];
171 [label="Enter rhs of ?:"];
172 [label="Jump: ^test_4 Unit"];
173 [label="Stub" style="filled" fillcolor=gray];
174 [label="Lhs of ?: is not null"];
175 [label="Exit ?:"];
176 [label="Variable declaration: lval length: R|kotlin/Int|"];
177 [label="Postponed enter to lambda"];
subgraph cluster_43 {
color=blue
178 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_44 {
color=blue
179 [label="Enter block"];
180 [label="Access variable R|<local>/s|"];
181 [label="Smart cast: R|<local>/s|"];
182 [label="Access variable R|kotlin/String.length|"];
183 [label="Exit block"];
}
184 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
185 [label="Postponed exit from lambda"];
186 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
187 [label="Exit block"];
}
188 [label="Exit function test_4" style="filled" fillcolor=red];
}
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167 171};
subgraph cluster_47 {
color=red
167 [label="Enter function runHigherOrder" style="filled" fillcolor=red];
subgraph cluster_48 {
color=blue
168 [label="Enter block"];
subgraph cluster_49 {
color=blue
169 [label="Function call arguments enter"];
170 [label="Function call arguments exit"];
}
171 [label="Function call: R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow];
172 [label="Jump: ^runHigherOrder R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
173 [label="Stub" style="filled" fillcolor=gray];
174 [label="Exit block" style="filled" fillcolor=gray];
}
175 [label="Exit function runHigherOrder" style="filled" fillcolor=red];
}
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171 174};
170 -> {171};
171 -> {172};
172 -> {188};
172 -> {175};
172 -> {173} [style=dotted];
173 -> {175} [style=dotted];
174 -> {175};
175 -> {176};
173 -> {174} [style=dotted];
174 -> {175} [style=dotted];
subgraph cluster_50 {
color=red
176 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_51 {
color=blue
177 [label="Enter block"];
178 [label="Access variable R|kotlin/String.length|"];
179 [label="Jump: ^ this@R|/ext|.R|kotlin/String.length|"];
180 [label="Stub" style="filled" fillcolor=gray];
181 [label="Exit block" style="filled" fillcolor=gray];
}
182 [label="Exit function <getter>" style="filled" fillcolor=red];
}
176 -> {177};
177 -> {178 185 186};
177 -> {178} [style=dashed];
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
179 -> {182};
179 -> {180} [style=dotted];
180 -> {181} [style=dotted];
181 -> {182} [style=dotted];
subgraph cluster_52 {
color=red
183 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_53 {
color=blue
184 [label="Enter block"];
185 [label="Access variable R|<local>/a|"];
186 [label="Type operator: (R|<local>/a| as? R|kotlin/String|)"];
187 [label="Variable declaration: lval s: R|kotlin/String?|"];
188 [label="Access variable R|<local>/s|"];
189 [label="Enter safe call"];
190 [label="Access variable R|/ext|"];
191 [label="Exit safe call"];
192 [label="Exit lhs of ?:"];
193 [label="Enter rhs of ?:"];
194 [label="Jump: ^test_4 Unit"];
195 [label="Stub" style="filled" fillcolor=gray];
196 [label="Lhs of ?: is not null"];
197 [label="Exit ?:"];
198 [label="Variable declaration: lval length: R|kotlin/Int|"];
subgraph cluster_54 {
color=blue
199 [label="Function call arguments enter"];
200 [label="Postponed enter to lambda"];
subgraph cluster_55 {
color=blue
201 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_56 {
color=blue
202 [label="Enter block"];
203 [label="Access variable R|<local>/s|"];
204 [label="Smart cast: R|<local>/s|"];
205 [label="Access variable R|kotlin/String.length|"];
206 [label="Exit block"];
}
207 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
208 [label="Function call arguments exit"];
}
209 [label="Postponed exit from lambda"];
210 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
211 [label="Exit block"];
}
212 [label="Exit function test_4" style="filled" fillcolor=red];
}
183 -> {184};
184 -> {185};
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189 193};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193 196};
193 -> {194};
194 -> {212};
194 -> {195} [style=dotted];
195 -> {197} [style=dotted];
196 -> {197};
197 -> {198};
198 -> {199};
199 -> {200};
200 -> {201 208 209};
200 -> {201} [style=dashed];
201 -> {202};
202 -> {203};
203 -> {204};
204 -> {205};
205 -> {206};
206 -> {207};
208 -> {210};
209 -> {210};
210 -> {211};
211 -> {212};
}
@@ -160,31 +160,36 @@ digraph simpleIf_kt {
60 [label="Access variable R|<local>/x|"];
61 [label="Smart cast: R|<local>/x|"];
62 [label="Access variable R|kotlin/String.length|"];
63 [label="Access variable R|<local>/x|"];
64 [label="Smart cast: R|<local>/x|"];
65 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
66 [label="Exit block"];
subgraph cluster_18 {
color=blue
63 [label="Function call arguments enter"];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Function call arguments exit"];
}
67 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
68 [label="Exit block"];
}
67 [label="Exit when branch result"];
68 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
69 [label="Enter block"];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
72 [label="Enter when branch result"];
69 [label="Exit when branch result"];
70 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
73 [label="Enter block"];
74 [label="Exit block"];
71 [label="Enter block"];
72 [label="Exit block"];
}
75 [label="Exit when branch result"];
76 [label="Exit when"];
73 [label="Exit when branch result"];
74 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
75 [label="Enter block"];
76 [label="Exit block"];
}
77 [label="Exit when branch result"];
78 [label="Exit when"];
}
77 [label="Exit block"];
79 [label="Exit block"];
}
78 [label="Exit function test_3" style="filled" fillcolor=red];
80 [label="Exit function test_3" style="filled" fillcolor=red];
}
44 -> {45};
45 -> {46};
@@ -192,12 +197,12 @@ digraph simpleIf_kt {
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51 72};
50 -> {51 74};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56 68};
55 -> {56 70};
56 -> {57};
57 -> {58};
58 -> {59};
@@ -209,16 +214,18 @@ digraph simpleIf_kt {
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {76};
67 -> {68};
68 -> {69};
69 -> {70};
69 -> {78};
70 -> {71};
71 -> {76};
71 -> {72};
72 -> {73};
73 -> {74};
73 -> {78};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
}
@@ -57,33 +57,43 @@ digraph smartcastFromArgument_kt {
subgraph cluster_8 {
color=blue
16 [label="Enter when branch condition "];
17 [label="Access variable R|<local>/a|"];
18 [label="Type operator: (R|<local>/a| as? R|A|)"];
19 [label="Exit lhs of ?:"];
20 [label="Enter rhs of ?:"];
21 [label="Jump: ^test Unit"];
22 [label="Stub" style="filled" fillcolor=gray];
23 [label="Lhs of ?: is not null"];
24 [label="Exit ?:"];
25 [label="Function call: R|/takeA|(...)" style="filled" fillcolor=yellow];
26 [label="Exit when branch condition"];
subgraph cluster_9 {
color=blue
17 [label="Function call arguments enter"];
18 [label="Access variable R|<local>/a|"];
19 [label="Type operator: (R|<local>/a| as? R|A|)"];
20 [label="Exit lhs of ?:"];
21 [label="Enter rhs of ?:"];
22 [label="Jump: ^test Unit"];
23 [label="Stub" style="filled" fillcolor=gray];
24 [label="Lhs of ?: is not null"];
25 [label="Exit ?:"];
26 [label="Function call arguments exit"];
}
27 [label="Function call: R|/takeA|(...)" style="filled" fillcolor=yellow];
28 [label="Exit when branch condition"];
}
27 [label="Synthetic else branch"];
28 [label="Enter when branch result"];
subgraph cluster_9 {
29 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
29 [label="Enter block"];
30 [label="Access variable R|<local>/a|"];
31 [label="Smart cast: R|<local>/a|"];
32 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
33 [label="Exit block"];
31 [label="Enter block"];
subgraph cluster_11 {
color=blue
32 [label="Function call arguments enter"];
33 [label="Access variable R|<local>/a|"];
34 [label="Smart cast: R|<local>/a|"];
35 [label="Function call arguments exit"];
}
36 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
37 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
38 [label="Exit when branch result"];
39 [label="Exit when"];
}
36 [label="Exit block"];
40 [label="Exit block"];
}
37 [label="Exit function test" style="filled" fillcolor=red];
41 [label="Exit function test" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
@@ -91,18 +101,18 @@ digraph smartcastFromArgument_kt {
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20 23};
20 -> {21};
21 -> {37};
21 -> {22} [style=dotted];
22 -> {24} [style=dotted];
23 -> {24};
19 -> {20};
20 -> {21 24};
21 -> {22};
22 -> {41};
22 -> {23} [style=dotted];
23 -> {25} [style=dotted];
24 -> {25};
25 -> {26};
26 -> {27 28};
27 -> {35};
28 -> {29};
29 -> {30};
26 -> {27};
27 -> {28};
28 -> {29 30};
29 -> {39};
30 -> {31};
31 -> {32};
32 -> {33};
@@ -110,5 +120,9 @@ digraph smartcastFromArgument_kt {
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
}
File diff suppressed because it is too large Load Diff
@@ -44,33 +44,38 @@ digraph whenSubjectExpression_kt {
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/x|"];
20 [label="Smart cast: R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|kotlin/Double.toInt|()" style="filled" fillcolor=yellow];
22 [label="Exit block"];
subgraph cluster_8 {
color=blue
19 [label="Function call arguments enter"];
20 [label="Access variable R|<local>/x|"];
21 [label="Smart cast: R|<local>/x|"];
22 [label="Function call arguments exit"];
}
23 [label="Function call: R|<local>/x|.R|kotlin/Double.toInt|()" style="filled" fillcolor=yellow];
24 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
25 [label="Enter block"];
26 [label="Const: Int(0)"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Enter when branch result"];
25 [label="Exit when branch result"];
26 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(-1)"];
32 [label="Exit block"];
27 [label="Enter block"];
28 [label="Const: Int(0)"];
29 [label="Exit block"];
}
33 [label="Exit when branch result"];
34 [label="Exit when"];
30 [label="Exit when branch result"];
31 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
32 [label="Enter block"];
33 [label="Const: Int(-1)"];
34 [label="Exit block"];
}
35 [label="Exit when branch result"];
36 [label="Exit when"];
}
35 [label="Exit block"];
37 [label="Exit block"];
}
36 [label="Exit function whenWithSubjectExpression" style="filled" fillcolor=red];
38 [label="Exit function whenWithSubjectExpression" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
@@ -79,12 +84,12 @@ digraph whenSubjectExpression_kt {
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10 29};
9 -> {10 31};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15 24};
14 -> {15 26};
15 -> {16};
16 -> {17};
17 -> {18};
@@ -93,117 +98,126 @@ digraph whenSubjectExpression_kt {
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {34};
23 -> {24};
24 -> {25};
25 -> {26};
25 -> {36};
26 -> {27};
27 -> {28};
28 -> {34};
28 -> {29};
29 -> {30};
30 -> {31};
30 -> {36};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
subgraph cluster_10 {
subgraph cluster_11 {
color=red
37 [label="Enter function whenWithSubjectVariable" style="filled" fillcolor=red];
subgraph cluster_11 {
39 [label="Enter function whenWithSubjectVariable" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
38 [label="Enter block"];
subgraph cluster_12 {
40 [label="Enter block"];
subgraph cluster_13 {
color=blue
39 [label="Enter when"];
40 [label="Access variable R|<local>/x|"];
41 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_13 {
color=blue
42 [label="Enter when branch condition "];
43 [label="Exit $subj"];
44 [label="Type operator: ($subj$ !is R|kotlin/Double|)"];
45 [label="Exit when branch condition"];
}
41 [label="Enter when"];
42 [label="Access variable R|<local>/x|"];
43 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_14 {
color=blue
46 [label="Enter when branch condition "];
47 [label="Exit $subj"];
48 [label="Const: Double(0.0)"];
49 [label="Equality operator =="];
50 [label="Exit when branch condition"];
44 [label="Enter when branch condition "];
45 [label="Exit $subj"];
46 [label="Type operator: ($subj$ !is R|kotlin/Double|)"];
47 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
51 [label="Enter when branch condition else"];
48 [label="Enter when branch condition "];
49 [label="Exit $subj"];
50 [label="Const: Double(0.0)"];
51 [label="Equality operator =="];
52 [label="Exit when branch condition"];
}
53 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
54 [label="Enter block"];
55 [label="Access variable R|<local>/y|"];
56 [label="Smart cast: R|<local>/y|"];
57 [label="Function call: R|<local>/y|.R|kotlin/Double.toInt|()" style="filled" fillcolor=yellow];
58 [label="Exit block"];
53 [label="Enter when branch condition else"];
54 [label="Exit when branch condition"];
}
59 [label="Exit when branch result"];
60 [label="Enter when branch result"];
55 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
61 [label="Enter block"];
62 [label="Const: Int(0)"];
63 [label="Exit block"];
56 [label="Enter block"];
subgraph cluster_18 {
color=blue
57 [label="Function call arguments enter"];
58 [label="Access variable R|<local>/y|"];
59 [label="Smart cast: R|<local>/y|"];
60 [label="Function call arguments exit"];
}
61 [label="Function call: R|<local>/y|.R|kotlin/Double.toInt|()" style="filled" fillcolor=yellow];
62 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Enter when branch result"];
subgraph cluster_18 {
63 [label="Exit when branch result"];
64 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
66 [label="Enter block"];
67 [label="Const: Int(-1)"];
68 [label="Exit block"];
65 [label="Enter block"];
66 [label="Const: Int(0)"];
67 [label="Exit block"];
}
69 [label="Exit when branch result"];
70 [label="Exit when"];
68 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
70 [label="Enter block"];
71 [label="Const: Int(-1)"];
72 [label="Exit block"];
}
73 [label="Exit when branch result"];
74 [label="Exit when"];
}
71 [label="Exit block"];
75 [label="Exit block"];
}
72 [label="Exit function whenWithSubjectVariable" style="filled" fillcolor=red];
76 [label="Exit function whenWithSubjectVariable" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46 65};
45 -> {46};
46 -> {47};
47 -> {48};
47 -> {48 69};
48 -> {49};
49 -> {50};
50 -> {51 60};
50 -> {51};
51 -> {52};
52 -> {53};
52 -> {53 64};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {70};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {70};
63 -> {74};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
68 -> {74};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
}
@@ -46,45 +46,65 @@ digraph equalsAndIdentity_kt {
subgraph cluster_7 {
color=blue
16 [label="Enter block"];
17 [label="Access variable R|<local>/x|"];
18 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
19 [label="Access variable R|<local>/y|"];
20 [label="Smart cast: R|<local>/y|"];
21 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
22 [label="Exit block"];
subgraph cluster_8 {
color=blue
17 [label="Function call arguments enter"];
18 [label="Access variable R|<local>/x|"];
19 [label="Function call arguments exit"];
}
20 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_9 {
color=blue
21 [label="Function call arguments enter"];
22 [label="Access variable R|<local>/y|"];
23 [label="Smart cast: R|<local>/y|"];
24 [label="Function call arguments exit"];
}
25 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Exit when"];
27 [label="Exit when branch result"];
28 [label="Exit when"];
}
subgraph cluster_8 {
subgraph cluster_10 {
color=blue
25 [label="Enter when"];
subgraph cluster_9 {
29 [label="Enter when"];
subgraph cluster_11 {
color=blue
26 [label="Enter when branch condition "];
27 [label="Access variable R|<local>/x|"];
28 [label="Access variable R|<local>/y|"];
29 [label="Equality operator ==="];
30 [label="Exit when branch condition"];
30 [label="Enter when branch condition "];
31 [label="Access variable R|<local>/x|"];
32 [label="Access variable R|<local>/y|"];
33 [label="Equality operator ==="];
34 [label="Exit when branch condition"];
}
31 [label="Synthetic else branch"];
32 [label="Enter when branch result"];
subgraph cluster_10 {
35 [label="Synthetic else branch"];
36 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
33 [label="Enter block"];
34 [label="Access variable R|<local>/x|"];
35 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/y|"];
37 [label="Smart cast: R|<local>/y|"];
38 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
39 [label="Exit block"];
37 [label="Enter block"];
subgraph cluster_13 {
color=blue
38 [label="Function call arguments enter"];
39 [label="Access variable R|<local>/x|"];
40 [label="Function call arguments exit"];
}
41 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_14 {
color=blue
42 [label="Function call arguments enter"];
43 [label="Access variable R|<local>/y|"];
44 [label="Smart cast: R|<local>/y|"];
45 [label="Function call arguments exit"];
}
46 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
47 [label="Exit block"];
}
40 [label="Exit when branch result"];
41 [label="Exit when"];
48 [label="Exit when branch result"];
49 [label="Exit when"];
}
42 [label="Exit block"];
50 [label="Exit block"];
}
43 [label="Exit function test_1" style="filled" fillcolor=red];
51 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
@@ -94,7 +114,7 @@ digraph equalsAndIdentity_kt {
11 -> {12};
12 -> {13};
13 -> {14 15};
14 -> {24};
14 -> {28};
15 -> {16};
16 -> {17};
17 -> {18};
@@ -110,12 +130,12 @@ digraph equalsAndIdentity_kt {
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31 32};
31 -> {41};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
34 -> {35 36};
35 -> {49};
36 -> {37};
37 -> {38};
38 -> {39};
@@ -123,67 +143,7 @@ digraph equalsAndIdentity_kt {
40 -> {41};
41 -> {42};
42 -> {43};
subgraph cluster_11 {
color=red
44 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
45 [label="Enter block"];
subgraph cluster_13 {
color=blue
46 [label="Enter when"];
subgraph cluster_14 {
color=blue
47 [label="Enter when branch condition "];
48 [label="Access variable R|<local>/x|"];
49 [label="Access variable R|<local>/y|"];
50 [label="Equality operator =="];
51 [label="Exit when branch condition"];
}
52 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
54 [label="Enter block"];
55 [label="Access variable R|<local>/x|"];
56 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
57 [label="Access variable R|<local>/y|"];
58 [label="Function call: R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
61 [label="Exit when"];
}
subgraph cluster_16 {
color=blue
62 [label="Enter when"];
subgraph cluster_17 {
color=blue
63 [label="Enter when branch condition "];
64 [label="Access variable R|<local>/x|"];
65 [label="Access variable R|<local>/y|"];
66 [label="Equality operator ==="];
67 [label="Exit when branch condition"];
}
68 [label="Synthetic else branch"];
69 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/x|"];
72 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
73 [label="Access variable R|<local>/y|"];
74 [label="Function call: R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
75 [label="Exit block"];
}
76 [label="Exit when branch result"];
77 [label="Exit when"];
}
78 [label="Exit block"];
}
79 [label="Exit function test_2" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
@@ -191,24 +151,104 @@ digraph equalsAndIdentity_kt {
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52 53};
52 -> {61};
subgraph cluster_15 {
color=red
52 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
53 [label="Enter block"];
subgraph cluster_17 {
color=blue
54 [label="Enter when"];
subgraph cluster_18 {
color=blue
55 [label="Enter when branch condition "];
56 [label="Access variable R|<local>/x|"];
57 [label="Access variable R|<local>/y|"];
58 [label="Equality operator =="];
59 [label="Exit when branch condition"];
}
60 [label="Synthetic else branch"];
61 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
62 [label="Enter block"];
subgraph cluster_20 {
color=blue
63 [label="Function call arguments enter"];
64 [label="Access variable R|<local>/x|"];
65 [label="Function call arguments exit"];
}
66 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
subgraph cluster_21 {
color=blue
67 [label="Function call arguments enter"];
68 [label="Access variable R|<local>/y|"];
69 [label="Function call arguments exit"];
}
70 [label="Function call: R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
71 [label="Exit block"];
}
72 [label="Exit when branch result"];
73 [label="Exit when"];
}
subgraph cluster_22 {
color=blue
74 [label="Enter when"];
subgraph cluster_23 {
color=blue
75 [label="Enter when branch condition "];
76 [label="Access variable R|<local>/x|"];
77 [label="Access variable R|<local>/y|"];
78 [label="Equality operator ==="];
79 [label="Exit when branch condition"];
}
80 [label="Synthetic else branch"];
81 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
82 [label="Enter block"];
subgraph cluster_25 {
color=blue
83 [label="Function call arguments enter"];
84 [label="Access variable R|<local>/x|"];
85 [label="Function call arguments exit"];
}
86 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
subgraph cluster_26 {
color=blue
87 [label="Function call arguments enter"];
88 [label="Access variable R|<local>/y|"];
89 [label="Function call arguments exit"];
}
90 [label="Function call: R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
91 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Exit when"];
}
94 [label="Exit block"];
}
95 [label="Exit function test_2" style="filled" fillcolor=red];
}
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
59 -> {60 61};
60 -> {73};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68 69};
68 -> {77};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
@@ -219,128 +259,148 @@ digraph equalsAndIdentity_kt {
76 -> {77};
77 -> {78};
78 -> {79};
subgraph cluster_19 {
color=red
80 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
81 [label="Enter block"];
subgraph cluster_21 {
color=blue
82 [label="Enter when"];
subgraph cluster_22 {
color=blue
83 [label="Enter when branch condition "];
84 [label="Access variable R|<local>/y|"];
85 [label="Const: Null(null)"];
86 [label="Equality operator =="];
87 [label="Exit when branch condition"];
}
88 [label="Synthetic else branch"];
89 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
90 [label="Enter block"];
91 [label="Jump: ^test_3 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];
95 [label="Exit when"];
}
subgraph cluster_24 {
color=blue
96 [label="Enter when"];
subgraph cluster_25 {
color=blue
97 [label="Enter when branch condition "];
98 [label="Access variable R|<local>/x|"];
99 [label="Access variable R|<local>/y|"];
100 [label="Smart cast: R|<local>/y|"];
101 [label="Equality operator =="];
102 [label="Exit when branch condition"];
}
103 [label="Synthetic else branch"];
104 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
105 [label="Enter block"];
106 [label="Access variable R|<local>/x|"];
107 [label="Smart cast: R|<local>/x|"];
108 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
109 [label="Access variable R|<local>/y|"];
110 [label="Smart cast: R|<local>/y|"];
111 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
112 [label="Exit block"];
}
113 [label="Exit when branch result"];
114 [label="Exit when"];
}
subgraph cluster_27 {
color=blue
115 [label="Enter when"];
subgraph cluster_28 {
color=blue
116 [label="Enter when branch condition "];
117 [label="Access variable R|<local>/x|"];
118 [label="Access variable R|<local>/y|"];
119 [label="Smart cast: R|<local>/y|"];
120 [label="Equality operator ==="];
121 [label="Exit when branch condition"];
}
122 [label="Synthetic else branch"];
123 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
124 [label="Enter block"];
125 [label="Access variable R|<local>/x|"];
126 [label="Smart cast: R|<local>/x|"];
127 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
128 [label="Access variable R|<local>/y|"];
129 [label="Smart cast: R|<local>/y|"];
130 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
131 [label="Exit block"];
}
132 [label="Exit when branch result"];
133 [label="Exit when"];
}
134 [label="Exit block"];
}
135 [label="Exit function test_3" style="filled" fillcolor=red];
}
80 -> {81};
79 -> {80 81};
80 -> {93};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88 89};
88 -> {95};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {135};
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {94} [style=dotted];
94 -> {95} [style=dotted];
95 -> {96};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
subgraph cluster_27 {
color=red
96 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
97 [label="Enter block"];
subgraph cluster_29 {
color=blue
98 [label="Enter when"];
subgraph cluster_30 {
color=blue
99 [label="Enter when branch condition "];
100 [label="Access variable R|<local>/y|"];
101 [label="Const: Null(null)"];
102 [label="Equality operator =="];
103 [label="Exit when branch condition"];
}
104 [label="Synthetic else branch"];
105 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
106 [label="Enter block"];
107 [label="Jump: ^test_3 Unit"];
108 [label="Stub" style="filled" fillcolor=gray];
109 [label="Exit block" style="filled" fillcolor=gray];
}
110 [label="Exit when branch result" style="filled" fillcolor=gray];
111 [label="Exit when"];
}
subgraph cluster_32 {
color=blue
112 [label="Enter when"];
subgraph cluster_33 {
color=blue
113 [label="Enter when branch condition "];
114 [label="Access variable R|<local>/x|"];
115 [label="Access variable R|<local>/y|"];
116 [label="Smart cast: R|<local>/y|"];
117 [label="Equality operator =="];
118 [label="Exit when branch condition"];
}
119 [label="Synthetic else branch"];
120 [label="Enter when branch result"];
subgraph cluster_34 {
color=blue
121 [label="Enter block"];
subgraph cluster_35 {
color=blue
122 [label="Function call arguments enter"];
123 [label="Access variable R|<local>/x|"];
124 [label="Smart cast: R|<local>/x|"];
125 [label="Function call arguments exit"];
}
126 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_36 {
color=blue
127 [label="Function call arguments enter"];
128 [label="Access variable R|<local>/y|"];
129 [label="Smart cast: R|<local>/y|"];
130 [label="Function call arguments exit"];
}
131 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
132 [label="Exit block"];
}
133 [label="Exit when branch result"];
134 [label="Exit when"];
}
subgraph cluster_37 {
color=blue
135 [label="Enter when"];
subgraph cluster_38 {
color=blue
136 [label="Enter when branch condition "];
137 [label="Access variable R|<local>/x|"];
138 [label="Access variable R|<local>/y|"];
139 [label="Smart cast: R|<local>/y|"];
140 [label="Equality operator ==="];
141 [label="Exit when branch condition"];
}
142 [label="Synthetic else branch"];
143 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
144 [label="Enter block"];
subgraph cluster_40 {
color=blue
145 [label="Function call arguments enter"];
146 [label="Access variable R|<local>/x|"];
147 [label="Smart cast: R|<local>/x|"];
148 [label="Function call arguments exit"];
}
149 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_41 {
color=blue
150 [label="Function call arguments enter"];
151 [label="Access variable R|<local>/y|"];
152 [label="Smart cast: R|<local>/y|"];
153 [label="Function call arguments exit"];
}
154 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
155 [label="Exit block"];
}
156 [label="Exit when branch result"];
157 [label="Exit when"];
}
158 [label="Exit block"];
}
159 [label="Exit function test_3" style="filled" fillcolor=red];
}
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103 104};
103 -> {114};
104 -> {105};
102 -> {103};
103 -> {104 105};
104 -> {111};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
107 -> {159};
107 -> {108} [style=dotted];
108 -> {109} [style=dotted];
109 -> {110} [style=dotted];
110 -> {111} [style=dotted];
111 -> {112};
112 -> {113};
113 -> {114};
@@ -348,11 +408,11 @@ digraph equalsAndIdentity_kt {
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
118 -> {119 120};
119 -> {134};
120 -> {121};
121 -> {122 123};
122 -> {133};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
@@ -365,5 +425,29 @@ digraph equalsAndIdentity_kt {
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142 143};
142 -> {157};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
}
@@ -9,152 +9,187 @@ digraph incorrectSmartcastToNothing_kt {
subgraph cluster_1 {
color=blue
1 [label="Enter property" style="filled" fillcolor=red];
2 [label="Const: String(foo)"];
3 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
4 [label="Exit property" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
2 [label="Function call arguments enter"];
3 [label="Const: String(foo)"];
4 [label="Function call arguments exit"];
}
5 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
6 [label="Exit property" style="filled" fillcolor=red];
}
5 [label="Exit file incorrectSmartcastToNothing.kt" style="filled" fillcolor=red];
7 [label="Exit file incorrectSmartcastToNothing.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
0 -> {5} [style=dotted];
0 -> {7} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5} [color=green];
4 -> {5};
5 -> {6};
6 -> {7} [color=green];
subgraph cluster_2 {
subgraph cluster_3 {
color=red
6 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_3 {
8 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
subgraph cluster_4 {
9 [label="Enter block"];
subgraph cluster_5 {
color=blue
8 [label="Enter when"];
subgraph cluster_5 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/cacheExtSetting|"];
11 [label="Const: Null(null)"];
12 [label="Equality operator =="];
13 [label="Exit when branch condition"];
}
10 [label="Enter when"];
subgraph cluster_6 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Access variable R|<local>/cacheExtSetting|"];
16 [label="Smart cast: R|<local>/cacheExtSetting|"];
17 [label="Function call: R|<local>/cacheExtSetting|.R|kotlin/text/isBlank|()" style="filled" fillcolor=yellow];
18 [label="Exit when branch condition"];
11 [label="Enter when branch condition "];
12 [label="Access variable R|<local>/cacheExtSetting|"];
13 [label="Const: Null(null)"];
14 [label="Equality operator =="];
15 [label="Exit when branch condition"];
}
subgraph cluster_7 {
color=blue
19 [label="Enter when branch condition else"];
20 [label="Exit when branch condition"];
16 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
17 [label="Function call arguments enter"];
18 [label="Access variable R|<local>/cacheExtSetting|"];
19 [label="Smart cast: R|<local>/cacheExtSetting|"];
20 [label="Function call arguments exit"];
}
21 [label="Function call: R|<local>/cacheExtSetting|.R|kotlin/text/isBlank|()" style="filled" fillcolor=yellow];
22 [label="Exit when branch condition"];
}
21 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
22 [label="Enter block"];
23 [label="Access variable R|<local>/cacheExtSetting|"];
24 [label="Smart cast: R|<local>/cacheExtSetting|"];
25 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
29 [label="Enter block"];
30 [label="Const: Null(null)"];
31 [label="Exit block"];
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
}
32 [label="Exit when branch result"];
33 [label="Enter when branch result"];
25 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
34 [label="Enter block"];
35 [label="Access variable R|/cache|"];
36 [label="Enter safe call"];
37 [label="Postponed enter to lambda"];
26 [label="Enter block"];
subgraph cluster_11 {
color=blue
38 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/it|"];
41 [label="Const: String(main.kts.compiled.cache)"];
42 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
43 [label="Exit block"];
}
44 [label="Exit function <anonymous>" style="filled" fillcolor=red];
27 [label="Function call arguments enter"];
28 [label="Access variable R|<local>/cacheExtSetting|"];
29 [label="Smart cast: R|<local>/cacheExtSetting|"];
30 [label="Function call arguments exit"];
}
45 [label="Postponed exit from lambda"];
46 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)" style="filled" fillcolor=yellow];
47 [label="Exit safe call"];
48 [label="Exit block"];
31 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Merge postponed lambda exits"];
51 [label="Exit when"];
33 [label="Exit when branch result"];
34 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
35 [label="Enter block"];
36 [label="Const: Null(null)"];
37 [label="Exit block"];
}
38 [label="Exit when branch result"];
39 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
40 [label="Enter block"];
41 [label="Access variable R|/cache|"];
42 [label="Enter safe call"];
subgraph cluster_14 {
color=blue
43 [label="Function call arguments enter"];
44 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
45 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
46 [label="Enter block"];
subgraph cluster_17 {
color=blue
47 [label="Function call arguments enter"];
48 [label="Access variable R|<local>/it|"];
49 [label="Const: String(main.kts.compiled.cache)"];
50 [label="Function call arguments exit"];
}
51 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
52 [label="Exit block"];
}
53 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
54 [label="Function call arguments exit"];
}
55 [label="Postponed exit from lambda"];
56 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)" style="filled" fillcolor=yellow];
57 [label="Exit safe call"];
58 [label="Exit block"];
}
59 [label="Exit when branch result"];
60 [label="Merge postponed lambda exits"];
61 [label="Exit when"];
}
52 [label="Variable declaration: lval cacheBaseDir: R|java/io/File?|"];
53 [label="Exit block"];
62 [label="Variable declaration: lval cacheBaseDir: R|java/io/File?|"];
63 [label="Exit block"];
}
54 [label="Exit function test" style="filled" fillcolor=red];
64 [label="Exit function test" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14 33};
13 -> {14};
14 -> {15};
15 -> {16};
15 -> {16 39};
16 -> {17};
17 -> {18};
18 -> {19 28};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
22 -> {23 34};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {51};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {51};
33 -> {34};
32 -> {33};
33 -> {61};
34 -> {35};
35 -> {36 47};
35 -> {36};
36 -> {37};
37 -> {38 46};
37 -> {45} [style=dotted];
37 -> {38} [style=dashed];
38 -> {39};
37 -> {38};
38 -> {61};
39 -> {40};
40 -> {41};
41 -> {42};
41 -> {42 57};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46} [color=green];
45 -> {50} [color=red];
44 -> {45 54};
44 -> {55} [style=dotted];
44 -> {45} [style=dashed];
45 -> {46};
46 -> {47};
47 -> {48 50};
47 -> {48};
48 -> {49};
49 -> {51};
50 -> {51} [color=red];
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
53 -> {55};
54 -> {56};
55 -> {56} [color=green];
55 -> {60} [color=red];
56 -> {57};
57 -> {58 60};
58 -> {59};
59 -> {61};
60 -> {61} [color=red];
61 -> {62};
62 -> {63};
63 -> {64};
}
@@ -59,30 +59,40 @@ digraph inPlaceLambdas_kt {
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
21 [label="Enter function <anonymous>" style="filled" fillcolor=red];
20 [label="Function call arguments enter"];
21 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
22 [label="Enter block"];
23 [label="Access variable R|<local>/x|"];
24 [label="Smart cast: R|<local>/x|"];
25 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
22 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
23 [label="Enter block"];
subgraph cluster_13 {
color=blue
24 [label="Function call arguments enter"];
25 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"];
27 [label="Function call arguments exit"];
}
28 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
29 [label="Exit block"];
}
30 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
27 [label="Exit function <anonymous>" style="filled" fillcolor=red];
31 [label="Function call arguments exit"];
}
28 [label="Postponed exit from lambda"];
29 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
30 [label="Exit block"];
32 [label="Postponed exit from lambda"];
33 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
34 [label="Exit block"];
}
31 [label="Exit when branch result"];
32 [label="Exit when"];
35 [label="Exit when branch result"];
36 [label="Exit when"];
}
33 [label="Exit block"];
37 [label="Exit block"];
}
34 [label="Exit function test_1" style="filled" fillcolor=red];
38 [label="Exit function test_1" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
@@ -91,13 +101,13 @@ digraph inPlaceLambdas_kt {
14 -> {15};
15 -> {16};
16 -> {17 18};
17 -> {32};
17 -> {36};
18 -> {19};
19 -> {20};
20 -> {21 29};
20 -> {28} [style=dotted];
20 -> {21} [style=dashed];
21 -> {22};
20 -> {21};
21 -> {22 31};
21 -> {32} [style=dotted];
21 -> {22} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {25};
@@ -106,131 +116,156 @@ digraph inPlaceLambdas_kt {
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
30 -> {32};
31 -> {33};
32 -> {33};
33 -> {34};
subgraph cluster_12 {
color=red
35 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
36 [label="Enter block"];
37 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
38 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/x|"];
41 [label="Type operator: (R|<local>/x| as R|B|)"];
42 [label="Exit block"];
}
43 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
44 [label="Postponed exit from lambda"];
45 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
46 [label="Access variable R|<local>/x|"];
47 [label="Smart cast: R|<local>/x|"];
48 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
49 [label="Exit block"];
}
50 [label="Exit function test_2" style="filled" fillcolor=red];
}
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 45};
37 -> {44} [style=dotted];
37 -> {38} [style=dashed];
38 -> {39};
37 -> {38};
subgraph cluster_14 {
color=red
39 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
40 [label="Enter block"];
subgraph cluster_16 {
color=blue
41 [label="Function call arguments enter"];
42 [label="Postponed enter to lambda"];
subgraph cluster_17 {
color=blue
43 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as R|B|)"];
47 [label="Exit block"];
}
48 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
49 [label="Function call arguments exit"];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_19 {
color=blue
52 [label="Function call arguments enter"];
53 [label="Access variable R|<local>/x|"];
54 [label="Smart cast: R|<local>/x|"];
55 [label="Function call arguments exit"];
}
56 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
57 [label="Exit block"];
}
58 [label="Exit function test_2" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {43 49};
42 -> {50} [style=dotted];
42 -> {43} [style=dashed];
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
subgraph cluster_16 {
color=red
51 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
52 [label="Enter block"];
subgraph cluster_18 {
color=blue
53 [label="Enter when"];
subgraph cluster_19 {
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"];
}
58 [label="Synthetic else branch"];
59 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
60 [label="Enter block"];
61 [label="Postponed enter to lambda"];
subgraph cluster_21 {
color=blue
62 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
63 [label="Enter block"];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
67 [label="Access variable R|<local>/x|"];
68 [label="Smart cast: R|<local>/x|"];
69 [label="Type operator: (R|<local>/x| as R|B|)"];
70 [label="Exit block"];
}
71 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
72 [label="Postponed exit from lambda"];
73 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
74 [label="Access variable R|<local>/x|"];
75 [label="Smart cast: R|<local>/x|"];
76 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
79 [label="Exit when"];
}
80 [label="Exit block"];
}
81 [label="Exit function test_3" style="filled" fillcolor=red];
}
48 -> {50};
49 -> {51};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58 59};
58 -> {79};
57 -> {58};
subgraph cluster_20 {
color=red
59 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
60 [label="Enter block"];
subgraph cluster_22 {
color=blue
61 [label="Enter when"];
subgraph cluster_23 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/x|"];
64 [label="Type operator: (R|<local>/x| is R|A|)"];
65 [label="Exit when branch condition"];
}
66 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
68 [label="Enter block"];
subgraph cluster_25 {
color=blue
69 [label="Function call arguments enter"];
70 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
71 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
72 [label="Enter block"];
subgraph cluster_28 {
color=blue
73 [label="Function call arguments enter"];
74 [label="Access variable R|<local>/x|"];
75 [label="Smart cast: R|<local>/x|"];
76 [label="Function call arguments exit"];
}
77 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
78 [label="Access variable R|<local>/x|"];
79 [label="Smart cast: R|<local>/x|"];
80 [label="Type operator: (R|<local>/x| as R|B|)"];
81 [label="Exit block"];
}
82 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
83 [label="Function call arguments exit"];
}
84 [label="Postponed exit from lambda"];
85 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_29 {
color=blue
86 [label="Function call arguments enter"];
87 [label="Access variable R|<local>/x|"];
88 [label="Smart cast: R|<local>/x|"];
89 [label="Function call arguments exit"];
}
90 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
91 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Exit when"];
}
94 [label="Exit block"];
}
95 [label="Exit function test_3" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
61 -> {62 73};
61 -> {72} [style=dotted];
61 -> {62} [style=dashed];
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
65 -> {66 67};
66 -> {93};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {71 83};
70 -> {84} [style=dotted];
70 -> {71} [style=dashed];
71 -> {72};
72 -> {73};
73 -> {74};
@@ -241,5 +276,19 @@ digraph inPlaceLambdas_kt {
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {84};
83 -> {85};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
}
@@ -144,70 +144,75 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_18 {
color=blue
49 [label="Enter block"];
50 [label="Const: String()"];
51 [label="Postponed enter to lambda"];
subgraph cluster_19 {
color=blue
52 [label="Enter function <anonymous>" style="filled" fillcolor=red];
50 [label="Function call arguments enter"];
51 [label="Const: String()"];
52 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
53 [label="Enter block"];
54 [label="Access variable R|<local>/it|"];
55 [label="Exit block"];
53 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
54 [label="Enter block"];
55 [label="Access variable R|<local>/it|"];
56 [label="Exit block"];
}
57 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
56 [label="Exit function <anonymous>" style="filled" fillcolor=red];
58 [label="Function call arguments exit"];
}
57 [label="Postponed exit from lambda"];
58 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
59 [label="Exit block"];
59 [label="Postponed exit from lambda"];
60 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
61 [label="Exit block"];
}
60 [label="Exit when branch result"];
61 [label="Exit when"];
62 [label="Exit when branch result"];
63 [label="Exit when"];
}
62 [label="Access variable R|<local>/p|"];
63 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_21 {
64 [label="Access variable R|<local>/p|"];
65 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_22 {
color=blue
64 [label="Enter when"];
65 [label="Access variable R|<local>/p|"];
subgraph cluster_22 {
color=blue
66 [label="Enter when branch condition "];
67 [label="Exit $subj"];
68 [label="Type operator: ($subj$ is R|SubClass1|)"];
69 [label="Exit when branch condition"];
}
66 [label="Enter when"];
67 [label="Access variable R|<local>/p|"];
subgraph cluster_23 {
color=blue
70 [label="Enter when branch condition "];
71 [label="Exit $subj"];
72 [label="Type operator: ($subj$ is R|SubClass2|)"];
73 [label="Exit when branch condition"];
68 [label="Enter when branch condition "];
69 [label="Exit $subj"];
70 [label="Type operator: ($subj$ is R|SubClass1|)"];
71 [label="Exit when branch condition"];
}
74 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
75 [label="Enter block"];
76 [label="Const: String(2)"];
77 [label="Exit block"];
72 [label="Enter when branch condition "];
73 [label="Exit $subj"];
74 [label="Type operator: ($subj$ is R|SubClass2|)"];
75 [label="Exit when branch condition"];
}
78 [label="Exit when branch result"];
79 [label="Enter when branch result"];
76 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
80 [label="Enter block"];
81 [label="Access variable R|<local>/p|"];
82 [label="Smart cast: R|<local>/p|"];
83 [label="Access variable R|/SubClass1.t|"];
84 [label="Exit block"];
77 [label="Enter block"];
78 [label="Const: String(2)"];
79 [label="Exit block"];
}
85 [label="Exit when branch result"];
86 [label="Exit when"];
80 [label="Exit when branch result"];
81 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
82 [label="Enter block"];
83 [label="Access variable R|<local>/p|"];
84 [label="Smart cast: R|<local>/p|"];
85 [label="Access variable R|/SubClass1.t|"];
86 [label="Exit block"];
}
87 [label="Exit when branch result"];
88 [label="Exit when"];
}
87 [label="Access variable R|kotlin/String.length|"];
88 [label="Exit block"];
89 [label="Access variable R|kotlin/String.length|"];
90 [label="Exit block"];
}
89 [label="Exit function foo" style="filled" fillcolor=red];
91 [label="Exit function foo" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
@@ -225,22 +230,22 @@ digraph lambdaInWhenBranch_kt {
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {61};
47 -> {63};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52 58};
51 -> {57} [style=dotted];
51 -> {52} [style=dashed];
52 -> {53};
51 -> {52};
52 -> {53 58};
52 -> {59} [style=dotted];
52 -> {53} [style=dashed];
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58} [color=green];
57 -> {61} [color=red];
58 -> {59};
59 -> {60};
57 -> {59};
58 -> {60};
59 -> {60} [color=green];
59 -> {63} [color=red];
60 -> {61};
61 -> {62};
62 -> {63};
@@ -250,18 +255,18 @@ digraph lambdaInWhenBranch_kt {
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70 79};
69 -> {70};
70 -> {71};
71 -> {72};
71 -> {72 81};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {86};
78 -> {79};
79 -> {80};
80 -> {81};
80 -> {88};
81 -> {82};
82 -> {83};
83 -> {84};
@@ -270,5 +275,7 @@ digraph lambdaInWhenBranch_kt {
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
}
@@ -32,15 +32,20 @@ digraph smartcastOnLambda_kt {
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Function call: R|<local>/func|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
subgraph cluster_6 {
color=blue
13 [label="Function call arguments enter"];
14 [label="Function call arguments exit"];
}
15 [label="Function call: R|<local>/func|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
16 [label="Exit block"];
}
15 [label="Exit when branch result"];
16 [label="Exit when"];
17 [label="Exit when branch result"];
18 [label="Exit when"];
}
17 [label="Exit block"];
19 [label="Exit block"];
}
18 [label="Exit function test" style="filled" fillcolor=red];
20 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
@@ -50,7 +55,7 @@ digraph smartcastOnLambda_kt {
7 -> {8};
8 -> {9};
9 -> {10 11};
10 -> {16};
10 -> {18};
11 -> {12};
12 -> {13};
13 -> {14};
@@ -58,5 +63,7 @@ digraph smartcastOnLambda_kt {
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
}
@@ -71,18 +71,23 @@ digraph dataFlowInfoFromWhileCondition_kt {
subgraph cluster_11 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/a|"];
28 [label="Smart cast: R|<local>/a|"];
29 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
30 [label="Exit block"];
subgraph cluster_12 {
color=blue
27 [label="Function call arguments enter"];
28 [label="Access variable R|<local>/a|"];
29 [label="Smart cast: R|<local>/a|"];
30 [label="Function call arguments exit"];
}
31 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
31 [label="Exit loop block"];
33 [label="Exit loop block"];
}
32 [label="Exit while loop"];
34 [label="Exit while loop"];
}
33 [label="Exit block"];
35 [label="Exit block"];
}
34 [label="Exit function test" style="filled" fillcolor=red];
36 [label="Exit function test" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
@@ -98,15 +103,17 @@ digraph dataFlowInfoFromWhileCondition_kt {
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25 32};
24 -> {25 34};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {15} [color=green style=dashed];
31 -> {32};
32 -> {33};
33 -> {34};
33 -> {15} [color=green style=dashed];
34 -> {35};
35 -> {36};
}
File diff suppressed because it is too large Load Diff
@@ -65,23 +65,43 @@ digraph multipleCasts_kt {
subgraph cluster_8 {
color=blue
18 [label="Enter block"];
19 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
20 [label="Variable declaration: lval a: R|kotlin/Any?|"];
subgraph cluster_9 {
color=blue
19 [label="Function call arguments enter"];
20 [label="Function call arguments exit"];
}
21 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
22 [label="Variable declaration: lval b: R|kotlin/Any?|"];
23 [label="Access variable R|<local>/a|"];
24 [label="Type operator: (R|<local>/a| as R|A|)"];
25 [label="Access variable R|<local>/a|"];
26 [label="Smart cast: R|<local>/a|"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
28 [label="Access variable R|<local>/b|"];
29 [label="Type operator: (R|<local>/b| as R|B|)"];
30 [label="Access variable R|<local>/b|"];
31 [label="Smart cast: R|<local>/b|"];
32 [label="Function call: R|<local>/b|.R|/B.foo|()" style="filled" fillcolor=yellow];
33 [label="Exit block"];
22 [label="Variable declaration: lval a: R|kotlin/Any?|"];
subgraph cluster_10 {
color=blue
23 [label="Function call arguments enter"];
24 [label="Function call arguments exit"];
}
25 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
26 [label="Variable declaration: lval b: R|kotlin/Any?|"];
27 [label="Access variable R|<local>/a|"];
28 [label="Type operator: (R|<local>/a| as R|A|)"];
subgraph cluster_11 {
color=blue
29 [label="Function call arguments enter"];
30 [label="Access variable R|<local>/a|"];
31 [label="Smart cast: R|<local>/a|"];
32 [label="Function call arguments exit"];
}
33 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
34 [label="Access variable R|<local>/b|"];
35 [label="Type operator: (R|<local>/b| as R|B|)"];
subgraph cluster_12 {
color=blue
36 [label="Function call arguments enter"];
37 [label="Access variable R|<local>/b|"];
38 [label="Smart cast: R|<local>/b|"];
39 [label="Function call arguments exit"];
}
40 [label="Function call: R|<local>/b|.R|/B.foo|()" style="filled" fillcolor=yellow];
41 [label="Exit block"];
}
34 [label="Exit function test_0" style="filled" fillcolor=red];
42 [label="Exit function test_0" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
@@ -100,56 +120,7 @@ digraph multipleCasts_kt {
31 -> {32};
32 -> {33};
33 -> {34};
subgraph cluster_9 {
color=red
35 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
36 [label="Enter block"];
37 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
38 [label="Variable declaration: lval a: R|kotlin/Any?|"];
39 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
40 [label="Variable declaration: lval b: R|kotlin/Any?|"];
subgraph cluster_11 {
color=blue
41 [label="Enter when"];
subgraph cluster_12 {
color=blue
42 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
43 [label="Enter &&"];
44 [label="Access variable R|<local>/a|"];
45 [label="Type operator: (R|<local>/a| is R|A|)"];
46 [label="Exit left part of &&"];
47 [label="Enter right part of &&"];
48 [label="Access variable R|<local>/b|"];
49 [label="Type operator: (R|<local>/b| is R|B|)"];
50 [label="Exit &&"];
}
51 [label="Exit when branch condition"];
}
52 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
54 [label="Enter block"];
55 [label="Access variable R|<local>/a|"];
56 [label="Smart cast: R|<local>/a|"];
57 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
58 [label="Access variable R|<local>/b|"];
59 [label="Smart cast: R|<local>/b|"];
60 [label="Function call: R|<local>/b|.R|/B.foo|()" style="filled" fillcolor=yellow];
61 [label="Exit block"];
}
62 [label="Exit when branch result"];
63 [label="Exit when"];
}
64 [label="Exit block"];
}
65 [label="Exit function test_1" style="filled" fillcolor=red];
}
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
@@ -157,28 +128,113 @@ digraph multipleCasts_kt {
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
subgraph cluster_13 {
color=red
43 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
44 [label="Enter block"];
subgraph cluster_15 {
color=blue
45 [label="Function call arguments enter"];
46 [label="Function call arguments exit"];
}
47 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
48 [label="Variable declaration: lval a: R|kotlin/Any?|"];
subgraph cluster_16 {
color=blue
49 [label="Function call arguments enter"];
50 [label="Function call arguments exit"];
}
51 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
52 [label="Variable declaration: lval b: R|kotlin/Any?|"];
subgraph cluster_17 {
color=blue
53 [label="Enter when"];
subgraph cluster_18 {
color=blue
54 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
55 [label="Enter &&"];
56 [label="Access variable R|<local>/a|"];
57 [label="Type operator: (R|<local>/a| is R|A|)"];
58 [label="Exit left part of &&"];
59 [label="Enter right part of &&"];
60 [label="Access variable R|<local>/b|"];
61 [label="Type operator: (R|<local>/b| is R|B|)"];
62 [label="Exit &&"];
}
63 [label="Exit when branch condition"];
}
64 [label="Synthetic else branch"];
65 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
66 [label="Enter block"];
subgraph cluster_21 {
color=blue
67 [label="Function call arguments enter"];
68 [label="Access variable R|<local>/a|"];
69 [label="Smart cast: R|<local>/a|"];
70 [label="Function call arguments exit"];
}
71 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_22 {
color=blue
72 [label="Function call arguments enter"];
73 [label="Access variable R|<local>/b|"];
74 [label="Smart cast: R|<local>/b|"];
75 [label="Function call arguments exit"];
}
76 [label="Function call: R|<local>/b|.R|/B.foo|()" style="filled" fillcolor=yellow];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
79 [label="Exit when"];
}
80 [label="Exit block"];
}
81 [label="Exit function test_1" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47 50};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52 53};
52 -> {63};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
58 -> {59 62};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
63 -> {64 65};
64 -> {79};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -99,17 +99,22 @@ digraph assignSafeCall_kt {
subgraph cluster_12 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/a|"];
38 [label="Smart cast: R|<local>/a|"];
39 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
40 [label="Exit block"];
subgraph cluster_13 {
color=blue
37 [label="Function call arguments enter"];
38 [label="Access variable R|<local>/a|"];
39 [label="Smart cast: R|<local>/a|"];
40 [label="Function call arguments exit"];
}
41 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
42 [label="Exit block"];
}
41 [label="Exit when branch result"];
42 [label="Exit when"];
43 [label="Exit when branch result"];
44 [label="Exit when"];
}
43 [label="Exit block"];
45 [label="Exit block"];
}
44 [label="Exit function test_1" style="filled" fillcolor=red];
46 [label="Exit function test_1" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
@@ -124,7 +129,7 @@ digraph assignSafeCall_kt {
31 -> {32};
32 -> {33};
33 -> {34 35};
34 -> {42};
34 -> {44};
35 -> {36};
36 -> {37};
37 -> {38};
@@ -134,51 +139,61 @@ digraph assignSafeCall_kt {
41 -> {42};
42 -> {43};
43 -> {44};
subgraph cluster_13 {
color=red
45 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/a|"];
48 [label="Enter safe call"];
49 [label="Function call: $subj$.R|/A.foo|()" style="filled" fillcolor=yellow];
50 [label="Exit safe call"];
51 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_15 {
color=blue
52 [label="Enter when"];
subgraph cluster_16 {
color=blue
53 [label="Enter when branch condition "];
54 [label="Access variable R|<local>/x|"];
55 [label="Const: Null(null)"];
56 [label="Equality operator !="];
57 [label="Exit when branch condition"];
}
58 [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="Smart cast: R|<local>/a|"];
63 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
66 [label="Exit when"];
}
67 [label="Exit block"];
}
68 [label="Exit function test_2" style="filled" fillcolor=red];
}
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 50};
subgraph cluster_14 {
color=red
47 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
48 [label="Enter block"];
49 [label="Access variable R|<local>/a|"];
50 [label="Enter safe call"];
subgraph cluster_16 {
color=blue
51 [label="Function call arguments enter"];
52 [label="Function call arguments exit"];
}
53 [label="Function call: $subj$.R|/A.foo|()" style="filled" fillcolor=yellow];
54 [label="Exit safe call"];
55 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_17 {
color=blue
56 [label="Enter when"];
subgraph cluster_18 {
color=blue
57 [label="Enter when branch condition "];
58 [label="Access variable R|<local>/x|"];
59 [label="Const: Null(null)"];
60 [label="Equality operator !="];
61 [label="Exit when branch condition"];
}
62 [label="Synthetic else branch"];
63 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
64 [label="Enter block"];
subgraph cluster_20 {
color=blue
65 [label="Function call arguments enter"];
66 [label="Access variable R|<local>/a|"];
67 [label="Smart cast: R|<local>/a|"];
68 [label="Function call arguments exit"];
}
69 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
72 [label="Exit when"];
}
73 [label="Exit block"];
}
74 [label="Exit function test_2" style="filled" fillcolor=red];
}
47 -> {48};
48 -> {49};
49 -> {50};
49 -> {50 54};
50 -> {51};
51 -> {52};
52 -> {53};
@@ -186,135 +201,150 @@ digraph assignSafeCall_kt {
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58 59};
58 -> {66};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
61 -> {62 63};
62 -> {72};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
subgraph cluster_18 {
color=red
69 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/x|"];
72 [label="Type operator: (R|<local>/x| as? R|A|)"];
73 [label="Exit lhs of ?:"];
74 [label="Enter rhs of ?:"];
75 [label="Jump: ^test_3 Unit"];
76 [label="Stub" style="filled" fillcolor=gray];
77 [label="Lhs of ?: is not null"];
78 [label="Exit ?:"];
79 [label="Variable declaration: lval a: R|A|"];
80 [label="Access variable R|<local>/a|"];
81 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
82 [label="Access variable R|<local>/x|"];
83 [label="Smart cast: R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
85 [label="Exit block"];
}
86 [label="Exit function test_3" style="filled" fillcolor=red];
}
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74 77};
74 -> {75};
75 -> {86};
75 -> {76} [style=dotted];
76 -> {78} [style=dotted];
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
subgraph cluster_20 {
color=red
87 [label="Enter class B" style="filled" fillcolor=red];
88 [label="Exit class B" style="filled" fillcolor=red];
}
87 -> {88} [color=green];
73 -> {74};
subgraph cluster_21 {
color=red
89 [label="Enter function foo" style="filled" fillcolor=red];
90 [label="Exit function foo" style="filled" fillcolor=red];
}
89 -> {90};
subgraph cluster_22 {
color=red
91 [label="Enter function bar" style="filled" fillcolor=red];
92 [label="Exit function bar" style="filled" fillcolor=red];
}
91 -> {92};
subgraph cluster_23 {
color=red
93 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_24 {
75 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
94 [label="Enter block"];
95 [label="Access variable R|<local>/a|"];
96 [label="Enter safe call"];
97 [label="Access variable R|/B.x|"];
98 [label="Exit safe call"];
99 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_25 {
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Type operator: (R|<local>/x| as? R|A|)"];
79 [label="Exit lhs of ?:"];
80 [label="Enter rhs of ?:"];
81 [label="Jump: ^test_3 Unit"];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Lhs of ?: is not null"];
84 [label="Exit ?:"];
85 [label="Variable declaration: lval a: R|A|"];
subgraph cluster_23 {
color=blue
100 [label="Enter when"];
subgraph cluster_26 {
color=blue
101 [label="Enter when branch condition "];
102 [label="Access variable R|<local>/x|"];
103 [label="Const: Null(null)"];
104 [label="Equality operator !="];
105 [label="Exit when branch condition"];
}
106 [label="Synthetic else branch"];
107 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
108 [label="Enter block"];
109 [label="Access variable R|<local>/a|"];
110 [label="Smart cast: R|<local>/a|"];
111 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
112 [label="Exit block"];
}
113 [label="Exit when branch result"];
114 [label="Exit when"];
86 [label="Function call arguments enter"];
87 [label="Access variable R|<local>/a|"];
88 [label="Function call arguments exit"];
}
115 [label="Exit block"];
89 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_24 {
color=blue
90 [label="Function call arguments enter"];
91 [label="Access variable R|<local>/x|"];
92 [label="Smart cast: R|<local>/x|"];
93 [label="Function call arguments exit"];
}
94 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
95 [label="Exit block"];
}
116 [label="Exit function test_1" style="filled" fillcolor=red];
96 [label="Exit function test_3" style="filled" fillcolor=red];
}
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80 83};
80 -> {81};
81 -> {96};
81 -> {82} [style=dotted];
82 -> {84} [style=dotted];
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96 98};
96 -> {97};
97 -> {98};
98 -> {99};
95 -> {96};
subgraph cluster_25 {
color=red
97 [label="Enter class B" style="filled" fillcolor=red];
98 [label="Exit class B" style="filled" fillcolor=red];
}
97 -> {98} [color=green];
subgraph cluster_26 {
color=red
99 [label="Enter function foo" style="filled" fillcolor=red];
100 [label="Exit function foo" style="filled" fillcolor=red];
}
99 -> {100};
100 -> {101};
subgraph cluster_27 {
color=red
101 [label="Enter function bar" style="filled" fillcolor=red];
102 [label="Exit function bar" style="filled" fillcolor=red];
}
101 -> {102};
102 -> {103};
subgraph cluster_28 {
color=red
103 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/a|"];
106 [label="Enter safe call"];
107 [label="Access variable R|/B.x|"];
108 [label="Exit safe call"];
109 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_30 {
color=blue
110 [label="Enter when"];
subgraph cluster_31 {
color=blue
111 [label="Enter when branch condition "];
112 [label="Access variable R|<local>/x|"];
113 [label="Const: Null(null)"];
114 [label="Equality operator !="];
115 [label="Exit when branch condition"];
}
116 [label="Synthetic else branch"];
117 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
118 [label="Enter block"];
subgraph cluster_33 {
color=blue
119 [label="Function call arguments enter"];
120 [label="Access variable R|<local>/a|"];
121 [label="Smart cast: R|<local>/a|"];
122 [label="Function call arguments exit"];
}
123 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
124 [label="Exit block"];
}
125 [label="Exit when branch result"];
126 [label="Exit when"];
}
127 [label="Exit block"];
}
128 [label="Exit function test_1" style="filled" fillcolor=red];
}
103 -> {104};
104 -> {105};
105 -> {106 107};
106 -> {114};
105 -> {106 108};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
@@ -323,50 +353,11 @@ digraph assignSafeCall_kt {
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
subgraph cluster_28 {
color=red
117 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
118 [label="Enter block"];
119 [label="Access variable R|<local>/a|"];
120 [label="Enter safe call"];
121 [label="Function call: $subj$.R|/B.foo|()" style="filled" fillcolor=yellow];
122 [label="Exit safe call"];
123 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_30 {
color=blue
124 [label="Enter when"];
subgraph cluster_31 {
color=blue
125 [label="Enter when branch condition "];
126 [label="Access variable R|<local>/x|"];
127 [label="Const: Null(null)"];
128 [label="Equality operator !="];
129 [label="Exit when branch condition"];
}
130 [label="Synthetic else branch"];
131 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
132 [label="Enter block"];
133 [label="Access variable R|<local>/a|"];
134 [label="Smart cast: R|<local>/a|"];
135 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
136 [label="Exit block"];
}
137 [label="Exit when branch result"];
138 [label="Exit when"];
}
139 [label="Exit block"];
}
140 [label="Exit function test_2" style="filled" fillcolor=red];
}
115 -> {116 117};
116 -> {126};
117 -> {118};
118 -> {119};
119 -> {120 122};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
@@ -375,10 +366,59 @@ digraph assignSafeCall_kt {
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130 131};
130 -> {138};
131 -> {132};
subgraph cluster_34 {
color=red
129 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
130 [label="Enter block"];
131 [label="Access variable R|<local>/a|"];
132 [label="Enter safe call"];
subgraph cluster_36 {
color=blue
133 [label="Function call arguments enter"];
134 [label="Function call arguments exit"];
}
135 [label="Function call: $subj$.R|/B.foo|()" style="filled" fillcolor=yellow];
136 [label="Exit safe call"];
137 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_37 {
color=blue
138 [label="Enter when"];
subgraph cluster_38 {
color=blue
139 [label="Enter when branch condition "];
140 [label="Access variable R|<local>/x|"];
141 [label="Const: Null(null)"];
142 [label="Equality operator !="];
143 [label="Exit when branch condition"];
}
144 [label="Synthetic else branch"];
145 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
146 [label="Enter block"];
subgraph cluster_40 {
color=blue
147 [label="Function call arguments enter"];
148 [label="Access variable R|<local>/a|"];
149 [label="Smart cast: R|<local>/a|"];
150 [label="Function call arguments exit"];
}
151 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
152 [label="Exit block"];
}
153 [label="Exit when branch result"];
154 [label="Exit when"];
}
155 [label="Exit block"];
}
156 [label="Exit function test_2" style="filled" fillcolor=red];
}
129 -> {130};
130 -> {131};
131 -> {132 136};
132 -> {133};
133 -> {134};
134 -> {135};
@@ -387,40 +427,15 @@ digraph assignSafeCall_kt {
137 -> {138};
138 -> {139};
139 -> {140};
subgraph cluster_33 {
color=red
141 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
142 [label="Enter block"];
143 [label="Access variable R|<local>/x|"];
144 [label="Type operator: (R|<local>/x| as? R|B|)"];
145 [label="Exit lhs of ?:"];
146 [label="Enter rhs of ?:"];
147 [label="Jump: ^test_3 Unit"];
148 [label="Stub" style="filled" fillcolor=gray];
149 [label="Lhs of ?: is not null"];
150 [label="Exit ?:"];
151 [label="Variable declaration: lval a: R|B|"];
152 [label="Access variable R|<local>/a|"];
153 [label="Function call: R|<local>/a|.R|/B.foo|()" style="filled" fillcolor=yellow];
154 [label="Access variable R|<local>/x|"];
155 [label="Smart cast: R|<local>/x|"];
156 [label="Function call: R|<local>/x|.R|/B.foo|()" style="filled" fillcolor=yellow];
157 [label="Exit block"];
}
158 [label="Exit function test_3" style="filled" fillcolor=red];
}
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146 149};
143 -> {144 145};
144 -> {154};
145 -> {146};
146 -> {147};
147 -> {158};
147 -> {148} [style=dotted];
148 -> {150} [style=dotted];
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
@@ -428,7 +443,62 @@ digraph assignSafeCall_kt {
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
subgraph cluster_41 {
color=red
157 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_42 {
color=blue
158 [label="Enter block"];
159 [label="Access variable R|<local>/x|"];
160 [label="Type operator: (R|<local>/x| as? R|B|)"];
161 [label="Exit lhs of ?:"];
162 [label="Enter rhs of ?:"];
163 [label="Jump: ^test_3 Unit"];
164 [label="Stub" style="filled" fillcolor=gray];
165 [label="Lhs of ?: is not null"];
166 [label="Exit ?:"];
167 [label="Variable declaration: lval a: R|B|"];
subgraph cluster_43 {
color=blue
168 [label="Function call arguments enter"];
169 [label="Access variable R|<local>/a|"];
170 [label="Function call arguments exit"];
}
171 [label="Function call: R|<local>/a|.R|/B.foo|()" style="filled" fillcolor=yellow];
subgraph cluster_44 {
color=blue
172 [label="Function call arguments enter"];
173 [label="Access variable R|<local>/x|"];
174 [label="Smart cast: R|<local>/x|"];
175 [label="Function call arguments exit"];
}
176 [label="Function call: R|<local>/x|.R|/B.foo|()" style="filled" fillcolor=yellow];
177 [label="Exit block"];
}
178 [label="Exit function test_3" style="filled" fillcolor=red];
}
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162 165};
162 -> {163};
163 -> {178};
163 -> {164} [style=dotted];
164 -> {166} [style=dotted];
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
}
@@ -45,63 +45,68 @@ digraph safeCallAndEqualityToBool_kt {
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/s|"];
14 [label="Enter safe call"];
15 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
16 [label="Exit safe call"];
17 [label="Const: Boolean(true)"];
18 [label="Equality operator =="];
19 [label="Exit when branch condition"];
}
subgraph cluster_7 {
color=blue
20 [label="Enter when branch condition else"];
subgraph cluster_7 {
color=blue
15 [label="Function call arguments enter"];
16 [label="Function call arguments exit"];
}
17 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
18 [label="Exit safe call"];
19 [label="Const: Boolean(true)"];
20 [label="Equality operator =="];
21 [label="Exit when branch condition"];
}
22 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/s|"];
25 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
26 [label="Exit block"];
22 [label="Enter when branch condition else"];
23 [label="Exit when branch condition"];
}
27 [label="Exit when branch result"];
28 [label="Enter when branch result"];
24 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
29 [label="Enter block"];
30 [label="Access variable R|<local>/s|"];
31 [label="Smart cast: R|<local>/s|"];
32 [label="Access variable R|kotlin/String.length|"];
33 [label="Exit block"];
25 [label="Enter block"];
26 [label="Access variable R|<local>/s|"];
27 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
28 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
29 [label="Exit when branch result"];
30 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/s|"];
33 [label="Smart cast: R|<local>/s|"];
34 [label="Access variable R|kotlin/String.length|"];
35 [label="Exit block"];
}
36 [label="Exit when branch result"];
37 [label="Exit when"];
}
36 [label="Exit block"];
38 [label="Exit block"];
}
37 [label="Exit function test_1" style="filled" fillcolor=red];
39 [label="Exit function test_1" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14 16};
13 -> {14 18};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20 28};
19 -> {20};
20 -> {21};
21 -> {22};
21 -> {22 30};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {35};
27 -> {28};
28 -> {29};
29 -> {30};
29 -> {37};
30 -> {31};
31 -> {32};
32 -> {33};
@@ -109,226 +114,241 @@ digraph safeCallAndEqualityToBool_kt {
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
subgraph cluster_10 {
subgraph cluster_11 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
40 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
39 [label="Enter block"];
subgraph cluster_12 {
41 [label="Enter block"];
subgraph cluster_13 {
color=blue
40 [label="Enter when"];
subgraph cluster_13 {
color=blue
41 [label="Enter when branch condition "];
42 [label="Access variable R|<local>/s|"];
43 [label="Enter safe call"];
44 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
45 [label="Exit safe call"];
46 [label="Const: Boolean(false)"];
47 [label="Equality operator =="];
48 [label="Exit when branch condition"];
}
42 [label="Enter when"];
subgraph cluster_14 {
color=blue
49 [label="Enter when branch condition else"];
50 [label="Exit when branch condition"];
43 [label="Enter when branch condition "];
44 [label="Access variable R|<local>/s|"];
45 [label="Enter safe call"];
subgraph cluster_15 {
color=blue
46 [label="Function call arguments enter"];
47 [label="Function call arguments exit"];
}
48 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
49 [label="Exit safe call"];
50 [label="Const: Boolean(false)"];
51 [label="Equality operator =="];
52 [label="Exit when branch condition"];
}
51 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/s|"];
54 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
58 [label="Enter block"];
59 [label="Access variable R|<local>/s|"];
60 [label="Smart cast: R|<local>/s|"];
61 [label="Access variable R|kotlin/String.length|"];
62 [label="Exit block"];
53 [label="Enter when branch condition else"];
54 [label="Exit when branch condition"];
}
63 [label="Exit when branch result"];
64 [label="Exit when"];
55 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/s|"];
58 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
61 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
62 [label="Enter block"];
63 [label="Access variable R|<local>/s|"];
64 [label="Smart cast: R|<local>/s|"];
65 [label="Access variable R|kotlin/String.length|"];
66 [label="Exit block"];
}
67 [label="Exit when branch result"];
68 [label="Exit when"];
}
65 [label="Exit block"];
69 [label="Exit block"];
}
66 [label="Exit function test_2" style="filled" fillcolor=red];
70 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43 45};
42 -> {43};
43 -> {44};
44 -> {45};
44 -> {45 49};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49 57};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
52 -> {53 61};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {64};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
60 -> {68};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
subgraph cluster_17 {
color=red
67 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
68 [label="Enter block"];
subgraph cluster_19 {
color=blue
69 [label="Enter when"];
subgraph cluster_20 {
color=blue
70 [label="Enter when branch condition "];
71 [label="Access variable R|<local>/s|"];
72 [label="Enter safe call"];
73 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
74 [label="Exit safe call"];
75 [label="Const: Boolean(true)"];
76 [label="Equality operator !="];
77 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
78 [label="Enter when branch condition else"];
79 [label="Exit when branch condition"];
}
80 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
81 [label="Enter block"];
82 [label="Access variable R|<local>/s|"];
83 [label="Smart cast: R|<local>/s|"];
84 [label="Access variable R|kotlin/String.length|"];
85 [label="Exit block"];
}
86 [label="Exit when branch result"];
87 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
88 [label="Enter block"];
89 [label="Access variable R|<local>/s|"];
90 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
91 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Exit when"];
}
94 [label="Exit block"];
}
95 [label="Exit function test_3" style="filled" fillcolor=red];
}
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72 74};
subgraph cluster_19 {
color=red
71 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
72 [label="Enter block"];
subgraph cluster_21 {
color=blue
73 [label="Enter when"];
subgraph cluster_22 {
color=blue
74 [label="Enter when branch condition "];
75 [label="Access variable R|<local>/s|"];
76 [label="Enter safe call"];
subgraph cluster_23 {
color=blue
77 [label="Function call arguments enter"];
78 [label="Function call arguments exit"];
}
79 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
80 [label="Exit safe call"];
81 [label="Const: Boolean(true)"];
82 [label="Equality operator !="];
83 [label="Exit when branch condition"];
}
subgraph cluster_24 {
color=blue
84 [label="Enter when branch condition else"];
85 [label="Exit when branch condition"];
}
86 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
87 [label="Enter block"];
88 [label="Access variable R|<local>/s|"];
89 [label="Smart cast: R|<local>/s|"];
90 [label="Access variable R|kotlin/String.length|"];
91 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
94 [label="Enter block"];
95 [label="Access variable R|<local>/s|"];
96 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
97 [label="Exit block"];
}
98 [label="Exit when branch result"];
99 [label="Exit when"];
}
100 [label="Exit block"];
}
101 [label="Exit function test_3" style="filled" fillcolor=red];
}
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
75 -> {76 80};
76 -> {77};
77 -> {78 87};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
83 -> {84 93};
84 -> {85};
85 -> {86};
86 -> {93};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
92 -> {99};
93 -> {94};
94 -> {95};
subgraph cluster_24 {
color=red
96 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
97 [label="Enter block"];
subgraph cluster_26 {
color=blue
98 [label="Enter when"];
subgraph cluster_27 {
color=blue
99 [label="Enter when branch condition "];
100 [label="Access variable R|<local>/s|"];
101 [label="Enter safe call"];
102 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
103 [label="Exit safe call"];
104 [label="Const: Boolean(false)"];
105 [label="Equality operator !="];
106 [label="Exit when branch condition"];
}
subgraph cluster_28 {
color=blue
107 [label="Enter when branch condition else"];
108 [label="Exit when branch condition"];
}
109 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
110 [label="Enter block"];
111 [label="Access variable R|<local>/s|"];
112 [label="Smart cast: R|<local>/s|"];
113 [label="Access variable R|kotlin/String.length|"];
114 [label="Exit block"];
}
115 [label="Exit when branch result"];
116 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
117 [label="Enter block"];
118 [label="Access variable R|<local>/s|"];
119 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
120 [label="Exit block"];
}
121 [label="Exit when branch result"];
122 [label="Exit when"];
}
123 [label="Exit block"];
}
124 [label="Exit function test_4" style="filled" fillcolor=red];
}
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101 103};
101 -> {102};
100 -> {101};
subgraph cluster_27 {
color=red
102 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
103 [label="Enter block"];
subgraph cluster_29 {
color=blue
104 [label="Enter when"];
subgraph cluster_30 {
color=blue
105 [label="Enter when branch condition "];
106 [label="Access variable R|<local>/s|"];
107 [label="Enter safe call"];
subgraph cluster_31 {
color=blue
108 [label="Function call arguments enter"];
109 [label="Function call arguments exit"];
}
110 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
111 [label="Exit safe call"];
112 [label="Const: Boolean(false)"];
113 [label="Equality operator !="];
114 [label="Exit when branch condition"];
}
subgraph cluster_32 {
color=blue
115 [label="Enter when branch condition else"];
116 [label="Exit when branch condition"];
}
117 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
118 [label="Enter block"];
119 [label="Access variable R|<local>/s|"];
120 [label="Smart cast: R|<local>/s|"];
121 [label="Access variable R|kotlin/String.length|"];
122 [label="Exit block"];
}
123 [label="Exit when branch result"];
124 [label="Enter when branch result"];
subgraph cluster_34 {
color=blue
125 [label="Enter block"];
126 [label="Access variable R|<local>/s|"];
127 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
128 [label="Exit block"];
}
129 [label="Exit when branch result"];
130 [label="Exit when"];
}
131 [label="Exit block"];
}
132 [label="Exit function test_4" style="filled" fillcolor=red];
}
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107 116};
106 -> {107 111};
107 -> {108};
108 -> {109};
109 -> {110};
@@ -336,8 +356,8 @@ digraph safeCallAndEqualityToBool_kt {
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {122};
114 -> {115 124};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
@@ -345,6 +365,14 @@ digraph safeCallAndEqualityToBool_kt {
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
123 -> {130};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
}
@@ -53,22 +53,27 @@ digraph safeCalls_kt {
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Enter safe call"];
17 [label="Access variable R|<local>/x|"];
18 [label="Smart cast: R|<local>/x|"];
19 [label="Access variable R|kotlin/String.length|"];
20 [label="Const: Int(1)"];
21 [label="Equality operator =="];
22 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
23 [label="Exit safe call"];
24 [label="Access variable R|<local>/x|"];
25 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
26 [label="Exit block"];
subgraph cluster_7 {
color=blue
17 [label="Function call arguments enter"];
18 [label="Access variable R|<local>/x|"];
19 [label="Smart cast: R|<local>/x|"];
20 [label="Access variable R|kotlin/String.length|"];
21 [label="Const: Int(1)"];
22 [label="Equality operator =="];
23 [label="Function call arguments exit"];
}
24 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
25 [label="Exit safe call"];
26 [label="Access variable R|<local>/x|"];
27 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
28 [label="Exit block"];
}
27 [label="Exit function test" style="filled" fillcolor=red];
29 [label="Exit function test" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {16 23};
15 -> {16 25};
16 -> {17};
17 -> {18};
18 -> {19};
@@ -80,246 +85,346 @@ digraph safeCalls_kt {
24 -> {25};
25 -> {26};
26 -> {27};
subgraph cluster_7 {
color=red
28 [label="Enter class A" style="filled" fillcolor=red];
29 [label="Exit class A" style="filled" fillcolor=red];
}
28 -> {29} [color=green];
27 -> {28};
28 -> {29};
subgraph cluster_8 {
color=red
30 [label="Enter function bar" style="filled" fillcolor=red];
31 [label="Exit function bar" style="filled" fillcolor=red];
30 [label="Enter class A" style="filled" fillcolor=red];
31 [label="Exit class A" style="filled" fillcolor=red];
}
30 -> {31};
30 -> {31} [color=green];
subgraph cluster_9 {
color=red
32 [label="Enter function bool" style="filled" fillcolor=red];
33 [label="Exit function bool" style="filled" fillcolor=red];
32 [label="Enter function bar" style="filled" fillcolor=red];
33 [label="Exit function bar" style="filled" fillcolor=red];
}
32 -> {33};
subgraph cluster_10 {
color=red
34 [label="Enter function id" style="filled" fillcolor=red];
35 [label="Exit function id" style="filled" fillcolor=red];
34 [label="Enter function bool" style="filled" fillcolor=red];
35 [label="Exit function bool" style="filled" fillcolor=red];
}
34 -> {35};
subgraph cluster_11 {
color=red
36 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/x|"];
39 [label="Type operator: (R|<local>/x| as? R|A|)"];
40 [label="Enter safe call"];
41 [label="Access variable R|<local>/x|"];
42 [label="Smart cast: R|<local>/x|"];
43 [label="Function call: $subj$.R|/A.bar|(...)" style="filled" fillcolor=yellow];
44 [label="Exit safe call"];
45 [label="Exit block"];
}
46 [label="Exit function test_2" style="filled" fillcolor=red];
36 [label="Enter function id" style="filled" fillcolor=red];
37 [label="Exit function id" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
subgraph cluster_12 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/x|"];
41 [label="Type operator: (R|<local>/x| as? R|A|)"];
42 [label="Enter safe call"];
subgraph cluster_14 {
color=blue
43 [label="Function call arguments enter"];
44 [label="Access variable R|<local>/x|"];
45 [label="Smart cast: R|<local>/x|"];
46 [label="Function call arguments exit"];
}
47 [label="Function call: $subj$.R|/A.bar|(...)" style="filled" fillcolor=yellow];
48 [label="Exit safe call"];
49 [label="Exit block"];
}
50 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40 44};
39 -> {40};
40 -> {41};
41 -> {42};
41 -> {42 48};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
subgraph cluster_13 {
color=red
47 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
48 [label="Enter block"];
49 [label="Access variable R|<local>/x|"];
50 [label="Type operator: (R|<local>/x| as? R|A|)"];
51 [label="Enter safe call"];
52 [label="Access variable R|<local>/x|"];
53 [label="Smart cast: R|<local>/x|"];
54 [label="Function call: $subj$.R|/A.bar|(...)" style="filled" fillcolor=yellow];
55 [label="Enter safe call"];
56 [label="Access variable R|<local>/x|"];
57 [label="Smart cast: R|<local>/x|"];
58 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
59 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
60 [label="Enter safe call"];
61 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
62 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
63 [label="Enter block"];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
67 [label="Exit block"];
}
68 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
69 [label="Postponed exit from lambda"];
70 [label="Function call: $subj$.R|/let|(...)" style="filled" fillcolor=yellow];
71 [label="Exit safe call"];
72 [label="Exit safe call"];
73 [label="Exit safe call"];
74 [label="Access variable R|<local>/x|"];
75 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()" style="filled" fillcolor=yellow];
76 [label="Exit block"];
}
77 [label="Exit function test_3" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51 71};
subgraph cluster_15 {
color=red
51 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Type operator: (R|<local>/x| as? R|A|)"];
55 [label="Enter safe call"];
subgraph cluster_17 {
color=blue
56 [label="Function call arguments enter"];
57 [label="Access variable R|<local>/x|"];
58 [label="Smart cast: R|<local>/x|"];
59 [label="Function call arguments exit"];
}
60 [label="Function call: $subj$.R|/A.bar|(...)" style="filled" fillcolor=yellow];
61 [label="Enter safe call"];
subgraph cluster_18 {
color=blue
62 [label="Function call arguments enter"];
subgraph cluster_19 {
color=blue
63 [label="Function call arguments enter"];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Function call arguments exit"];
}
67 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
68 [label="Function call arguments exit"];
}
69 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
70 [label="Enter safe call"];
subgraph cluster_20 {
color=blue
71 [label="Function call arguments enter"];
72 [label="Postponed enter to lambda"];
subgraph cluster_21 {
color=blue
73 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
74 [label="Enter block"];
subgraph cluster_23 {
color=blue
75 [label="Function call arguments enter"];
76 [label="Access variable R|<local>/x|"];
77 [label="Smart cast: R|<local>/x|"];
78 [label="Function call arguments exit"];
}
79 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
80 [label="Exit block"];
}
81 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
82 [label="Function call arguments exit"];
}
83 [label="Postponed exit from lambda"];
84 [label="Function call: $subj$.R|/let|(...)" style="filled" fillcolor=yellow];
85 [label="Exit safe call"];
86 [label="Exit safe call"];
87 [label="Exit safe call"];
subgraph cluster_24 {
color=blue
88 [label="Function call arguments enter"];
89 [label="Access variable R|<local>/x|"];
90 [label="Function call arguments exit"];
}
91 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()" style="filled" fillcolor=yellow];
92 [label="Exit block"];
}
93 [label="Exit function test_3" style="filled" fillcolor=red];
}
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55 71};
54 -> {55 85};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60 72};
60 -> {61};
61 -> {62 69 70};
61 -> {62} [style=dashed];
59 -> {60};
60 -> {61 85};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
69 -> {70};
70 -> {73};
68 -> {69};
69 -> {70 86};
70 -> {71};
71 -> {72};
72 -> {73};
72 -> {73 82 83};
72 -> {73} [style=dashed];
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
subgraph cluster_17 {
color=red
78 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/x|"];
81 [label="Enter safe call"];
82 [label="Function call: $subj$.R|/A.id|()" style="filled" fillcolor=yellow];
83 [label="Enter safe call"];
84 [label="Function call: $subj$.R|/A.bool|()" style="filled" fillcolor=yellow];
85 [label="Exit safe call"];
86 [label="Exit safe call"];
87 [label="Access variable R|<local>/x|"];
88 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
89 [label="Exit block"];
}
90 [label="Exit function test_4" style="filled" fillcolor=red];
}
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81 85};
81 -> {82};
82 -> {83 85};
80 -> {81};
82 -> {84};
83 -> {84};
84 -> {86};
84 -> {87};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
subgraph cluster_19 {
color=red
91 [label="Enter function boo" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
92 [label="Enter block"];
93 [label="Exit block"];
}
94 [label="Exit function boo" style="filled" fillcolor=red];
}
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
subgraph cluster_21 {
subgraph cluster_25 {
color=red
95 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_22 {
94 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
96 [label="Enter block"];
97 [label="Access variable R|<local>/x|"];
98 [label="Enter safe call"];
99 [label="Postponed enter to lambda"];
subgraph cluster_23 {
95 [label="Enter block"];
96 [label="Access variable R|<local>/x|"];
97 [label="Enter safe call"];
subgraph cluster_27 {
color=blue
100 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
101 [label="Enter block"];
102 [label="Jump: ^test_5 Unit"];
103 [label="Stub" style="filled" fillcolor=gray];
104 [label="Exit block" style="filled" fillcolor=gray];
}
105 [label="Exit function <anonymous>" style="filled" fillcolor=gray];
98 [label="Function call arguments enter"];
99 [label="Function call arguments exit"];
}
106 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
107 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
108 [label="Stub" style="filled" fillcolor=gray];
109 [label="Enter safe call" style="filled" fillcolor=gray];
110 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
111 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
112 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray];
113 [label="Function call: $subj$.R|/boo|(...)" style="filled" fillcolor=gray];
114 [label="Exit safe call"];
115 [label="Exit safe call"];
116 [label="Access variable R|<local>/x|"];
117 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
118 [label="Exit block"];
100 [label="Function call: $subj$.R|/A.id|()" style="filled" fillcolor=yellow];
101 [label="Enter safe call"];
subgraph cluster_28 {
color=blue
102 [label="Function call arguments enter"];
103 [label="Function call arguments exit"];
}
104 [label="Function call: $subj$.R|/A.bool|()" style="filled" fillcolor=yellow];
105 [label="Exit safe call"];
106 [label="Exit safe call"];
subgraph cluster_29 {
color=blue
107 [label="Function call arguments enter"];
108 [label="Access variable R|<local>/x|"];
109 [label="Function call arguments exit"];
}
110 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
111 [label="Exit block"];
}
119 [label="Exit function test_5" style="filled" fillcolor=red];
112 [label="Exit function test_4" style="filled" fillcolor=red];
}
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98 114};
96 -> {97 105};
97 -> {98};
98 -> {99};
99 -> {100};
99 -> {106 107} [style=dotted];
99 -> {100} [style=dashed];
100 -> {101};
100 -> {101 105};
101 -> {102};
102 -> {119};
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105} [style=dotted];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {108} [style=dotted];
108 -> {109 114} [style=dotted];
109 -> {110} [style=dotted];
110 -> {111} [style=dotted];
111 -> {112} [style=dotted];
112 -> {113} [style=dotted];
113 -> {115} [style=dotted];
102 -> {103};
103 -> {104};
104 -> {106};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
subgraph cluster_30 {
color=red
113 [label="Enter function boo" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
114 [label="Enter block"];
115 [label="Exit block"];
}
116 [label="Exit function boo" style="filled" fillcolor=red];
}
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
subgraph cluster_32 {
color=red
117 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
118 [label="Enter block"];
119 [label="Access variable R|<local>/x|"];
120 [label="Enter safe call"];
subgraph cluster_34 {
color=blue
121 [label="Function call arguments enter"];
122 [label="Postponed enter to lambda"];
subgraph cluster_35 {
color=blue
123 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
124 [label="Enter block"];
125 [label="Jump: ^test_5 Unit"];
126 [label="Stub" style="filled" fillcolor=gray];
127 [label="Exit block" style="filled" fillcolor=gray];
}
128 [label="Exit function <anonymous>" style="filled" fillcolor=gray];
}
129 [label="Function call arguments exit"];
}
130 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
131 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
132 [label="Stub" style="filled" fillcolor=gray];
133 [label="Enter safe call" style="filled" fillcolor=gray];
subgraph cluster_37 {
color=blue
134 [label="Function call arguments enter" style="filled" fillcolor=gray];
subgraph cluster_38 {
color=blue
135 [label="Function call arguments enter" style="filled" fillcolor=gray];
136 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
137 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
138 [label="Function call arguments exit" style="filled" fillcolor=gray];
}
139 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray];
140 [label="Function call arguments exit" style="filled" fillcolor=gray];
}
141 [label="Function call: $subj$.R|/boo|(...)" style="filled" fillcolor=gray];
142 [label="Exit safe call"];
143 [label="Exit safe call"];
subgraph cluster_39 {
color=blue
144 [label="Function call arguments enter"];
145 [label="Access variable R|<local>/x|"];
146 [label="Function call arguments exit"];
}
147 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
148 [label="Exit block"];
}
149 [label="Exit function test_5" style="filled" fillcolor=red];
}
117 -> {118};
118 -> {119};
119 -> {120 142};
120 -> {121};
121 -> {122};
122 -> {123 129};
122 -> {130} [style=dotted];
122 -> {123} [style=dashed];
123 -> {124};
124 -> {125};
125 -> {149};
125 -> {126} [style=dotted];
126 -> {127} [style=dotted];
127 -> {128} [style=dotted];
128 -> {130} [style=dotted];
129 -> {131} [style=dotted];
130 -> {131} [style=dotted];
131 -> {132} [style=dotted];
132 -> {133 142} [style=dotted];
133 -> {134} [style=dotted];
134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
136 -> {137} [style=dotted];
137 -> {138} [style=dotted];
138 -> {139} [style=dotted];
139 -> {140} [style=dotted];
140 -> {141} [style=dotted];
141 -> {143} [style=dotted];
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
}
@@ -37,62 +37,83 @@ digraph smartCastInInit_kt {
subgraph cluster_5 {
color=blue
9 [label="Enter block"];
10 [label="Function call: R|kotlin/TODO|()" style="filled" fillcolor=yellow];
11 [label="Stub" style="filled" fillcolor=gray];
12 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray];
subgraph cluster_6 {
color=blue
10 [label="Function call arguments enter"];
11 [label="Function call arguments exit"];
}
12 [label="Function call: R|kotlin/TODO|()" style="filled" fillcolor=yellow];
13 [label="Stub" style="filled" fillcolor=gray];
14 [label="Exit block" style="filled" fillcolor=gray];
14 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray];
}
15 [label="Exit function s" style="filled" fillcolor=gray];
17 [label="Exit function s" style="filled" fillcolor=gray];
}
8 -> {9};
9 -> {10};
10 -> {11} [style=dotted];
11 -> {12} [style=dotted];
12 -> {13 15} [style=dotted];
10 -> {11};
11 -> {12};
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
14 -> {15 17} [style=dotted];
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
subgraph cluster_6 {
subgraph cluster_7 {
color=red
16 [label="Enter class Main" style="filled" fillcolor=red];
subgraph cluster_7 {
18 [label="Enter class Main" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
17 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_8 {
19 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
18 [label="Enter block"];
19 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
20 [label="Assignment: R|/Main.x|"];
21 [label="Access variable R|/Main.x|"];
22 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
23 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
24 [label="Exit block"];
20 [label="Enter block"];
subgraph cluster_10 {
color=blue
21 [label="Function call arguments enter"];
22 [label="Function call arguments exit"];
}
23 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
24 [label="Assignment: R|/Main.x|"];
subgraph cluster_11 {
color=blue
25 [label="Function call arguments enter"];
26 [label="Access variable R|/Main.x|"];
27 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
28 [label="Function call arguments exit"];
}
29 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
30 [label="Exit block"];
}
25 [label="Exit init block" style="filled" fillcolor=red];
31 [label="Exit init block" style="filled" fillcolor=red];
}
subgraph cluster_9 {
subgraph cluster_12 {
color=blue
26 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
32 [label="Enter function <init>" style="filled" fillcolor=red];
33 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
34 [label="Exit function <init>" style="filled" fillcolor=red];
}
29 [label="Exit class Main" style="filled" fillcolor=red];
35 [label="Exit class Main" style="filled" fillcolor=red];
}
16 -> {17} [color=green];
16 -> {29} [style=dotted];
16 -> {17 26} [style=dashed];
17 -> {18};
18 -> {19};
18 -> {19} [color=green];
18 -> {35} [style=dotted];
18 -> {19 32} [style=dashed];
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26} [color=green];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29} [color=green];
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32} [color=green];
32 -> {33};
33 -> {34};
34 -> {35} [color=green];
}
@@ -98,41 +98,51 @@ digraph smartcastInByClause_kt {
34 [label="Lhs of ?: is not null"];
35 [label="Exit ?:"];
36 [label="Variable declaration: lval path: R|kotlin/String|"];
37 [label="Access variable R|<local>/a|"];
38 [label="Smart cast: R|<local>/a|"];
39 [label="Access variable R|/A.index|"];
40 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
41 [label="Enter anonymous object"];
subgraph cluster_11 {
color=blue
42 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
43 [label="Enter field" style="filled" fillcolor=red];
44 [label="Access variable R|<local>/a|"];
45 [label="Smart cast: R|<local>/a|"];
46 [label="Access variable R|/A.index|"];
47 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
48 [label="Exit field" style="filled" fillcolor=red];
}
37 [label="Function call arguments enter"];
38 [label="Access variable R|<local>/a|"];
39 [label="Smart cast: R|<local>/a|"];
40 [label="Access variable R|/A.index|"];
41 [label="Function call arguments exit"];
}
42 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
43 [label="Enter anonymous object"];
subgraph cluster_12 {
color=blue
44 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
49 [label="Enter property" style="filled" fillcolor=red];
50 [label="Access variable R|<local>/a|"];
51 [label="Smart cast: R|<local>/a|"];
52 [label="Access variable R|/A.index|"];
53 [label="Exit property" style="filled" fillcolor=red];
45 [label="Enter field" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
46 [label="Function call arguments enter"];
47 [label="Access variable R|<local>/a|"];
48 [label="Smart cast: R|<local>/a|"];
49 [label="Access variable R|/A.index|"];
50 [label="Function call arguments exit"];
}
51 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
52 [label="Exit field" style="filled" fillcolor=red];
}
subgraph cluster_14 {
subgraph cluster_15 {
color=blue
54 [label="Enter function <init>" style="filled" fillcolor=red];
55 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
56 [label="Exit function <init>" style="filled" fillcolor=red];
53 [label="Enter property" style="filled" fillcolor=red];
54 [label="Access variable R|<local>/a|"];
55 [label="Smart cast: R|<local>/a|"];
56 [label="Access variable R|/A.index|"];
57 [label="Exit property" style="filled" fillcolor=red];
}
57 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
58 [label="Enter function <init>" style="filled" fillcolor=red];
59 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
60 [label="Exit function <init>" style="filled" fillcolor=red];
}
61 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
58 [label="Exit anonymous object expression"];
59 [label="Jump: ^test object : R|Base| {
62 [label="Exit anonymous object expression"];
63 [label="Jump: ^test object : R|Base| {
private constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
}
@@ -148,24 +158,29 @@ digraph smartcastInByClause_kt {
}
"];
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit function test" style="filled" fillcolor=red];
66 [label="Exit function test" style="filled" fillcolor=red];
}
subgraph cluster_15 {
subgraph cluster_17 {
color=blue
63 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_16 {
67 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/a|"];
66 [label="Smart cast: R|<local>/a|"];
67 [label="Access variable R|/A.index|"];
68 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
69 [label="Exit block"];
68 [label="Enter block"];
subgraph cluster_19 {
color=blue
69 [label="Function call arguments enter"];
70 [label="Access variable R|<local>/a|"];
71 [label="Smart cast: R|<local>/a|"];
72 [label="Access variable R|/A.index|"];
73 [label="Function call arguments exit"];
}
74 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
75 [label="Exit block"];
}
70 [label="Exit function foo" style="filled" fillcolor=red];
76 [label="Exit function foo" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
@@ -176,7 +191,7 @@ digraph smartcastInByClause_kt {
29 -> {30 34};
30 -> {31};
31 -> {32};
32 -> {62};
32 -> {66};
32 -> {33} [style=dotted];
33 -> {35} [style=dotted];
34 -> {35};
@@ -187,56 +202,62 @@ digraph smartcastInByClause_kt {
39 -> {40};
40 -> {41};
41 -> {42};
41 -> {58} [style=dotted];
41 -> {42} [style=dashed];
42 -> {43};
42 -> {49 54 63} [color=red];
42 -> {57} [style=dotted];
42 -> {43 49 54} [style=dashed];
43 -> {44};
43 -> {62} [style=dotted];
43 -> {44} [style=dashed];
44 -> {45};
44 -> {53 58 67} [color=red];
44 -> {61} [style=dotted];
44 -> {45 53 58} [style=dashed];
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49} [color=green];
48 -> {57} [color=red];
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54} [color=green];
53 -> {57} [color=red];
52 -> {53} [color=green];
52 -> {61} [color=red];
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
57 -> {63} [color=green];
57 -> {63} [style=dashed];
57 -> {58} [color=green];
57 -> {61} [color=red];
58 -> {59};
59 -> {62};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
59 -> {60};
60 -> {61};
61 -> {62};
61 -> {67} [color=green];
61 -> {67} [style=dashed];
62 -> {63};
63 -> {66};
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
67 -> {68};
68 -> {69};
69 -> {70};
subgraph cluster_17 {
color=red
71 [label="Enter function takeInt" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
72 [label="Enter block"];
73 [label="Exit block"];
}
74 [label="Exit function takeInt" style="filled" fillcolor=red];
}
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
subgraph cluster_20 {
color=red
77 [label="Enter function takeInt" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
78 [label="Enter block"];
79 [label="Exit block"];
}
80 [label="Exit function takeInt" style="filled" fillcolor=red];
}
77 -> {78};
78 -> {79};
79 -> {80};
}
@@ -16,244 +16,269 @@ digraph smartcastToNothing_kt {
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
5 [label="Throw: throw R|java/lang/Exception.Exception|()"];
6 [label="Stub" style="filled" fillcolor=gray];
7 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
subgraph cluster_3 {
color=blue
4 [label="Function call arguments enter"];
5 [label="Function call arguments exit"];
}
6 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
7 [label="Throw: throw R|java/lang/Exception.Exception|()"];
8 [label="Stub" style="filled" fillcolor=gray];
9 [label="Exit block" style="filled" fillcolor=gray];
9 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
10 [label="Stub" style="filled" fillcolor=gray];
11 [label="Exit block" style="filled" fillcolor=gray];
}
10 [label="Exit function getNothing" style="filled" fillcolor=gray];
12 [label="Exit function getNothing" style="filled" fillcolor=gray];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6} [style=dotted];
6 -> {7} [style=dotted];
7 -> {8 10} [style=dotted];
5 -> {6};
6 -> {7};
7 -> {8} [style=dotted];
8 -> {9} [style=dotted];
9 -> {10} [style=dotted];
9 -> {10 12} [style=dotted];
10 -> {11} [style=dotted];
11 -> {12} [style=dotted];
subgraph cluster_3 {
subgraph cluster_4 {
color=red
11 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
subgraph cluster_4 {
13 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Const: Null(null)"];
14 [label="Jump: ^getNullableNothing Null(null)"];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray];
14 [label="Enter block"];
15 [label="Const: Null(null)"];
16 [label="Jump: ^getNullableNothing Null(null)"];
17 [label="Stub" style="filled" fillcolor=gray];
18 [label="Exit block" style="filled" fillcolor=gray];
}
17 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
19 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {17};
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
14 -> {15};
15 -> {16};
16 -> {19};
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
subgraph cluster_5 {
subgraph cluster_6 {
color=red
18 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_6 {
20 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Jump: ^ Int(1)"];
22 [label="Stub" style="filled" fillcolor=gray];
23 [label="Exit block" style="filled" fillcolor=gray];
21 [label="Enter block"];
22 [label="Const: Int(1)"];
23 [label="Jump: ^ Int(1)"];
24 [label="Stub" style="filled" fillcolor=gray];
25 [label="Exit block" style="filled" fillcolor=gray];
}
24 [label="Exit function <getter>" style="filled" fillcolor=red];
26 [label="Exit function <getter>" style="filled" fillcolor=red];
}
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {24};
21 -> {22} [style=dotted];
22 -> {23} [style=dotted];
21 -> {22};
22 -> {23};
23 -> {26};
23 -> {24} [style=dotted];
24 -> {25} [style=dotted];
25 -> {26} [style=dotted];
subgraph cluster_7 {
subgraph cluster_8 {
color=red
25 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_8 {
27 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
26 [label="Enter block"];
27 [label="Const: Int(2)"];
28 [label="Jump: ^ Int(2)"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
28 [label="Enter block"];
29 [label="Const: Int(2)"];
30 [label="Jump: ^ Int(2)"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
}
31 [label="Exit function <getter>" style="filled" fillcolor=red];
33 [label="Exit function <getter>" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {31};
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
28 -> {29};
29 -> {30};
30 -> {33};
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
subgraph cluster_9 {
subgraph cluster_10 {
color=red
32 [label="Enter function myListOf" style="filled" fillcolor=red];
subgraph cluster_10 {
34 [label="Enter function myListOf" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
33 [label="Enter block"];
34 [label="Const: Null(null)"];
35 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
36 [label="Stub" style="filled" fillcolor=gray];
37 [label="Jump: ^myListOf Null(null)!!" style="filled" fillcolor=gray];
35 [label="Enter block"];
36 [label="Const: Null(null)"];
37 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
38 [label="Stub" style="filled" fillcolor=gray];
39 [label="Exit block" style="filled" fillcolor=gray];
39 [label="Jump: ^myListOf Null(null)!!" style="filled" fillcolor=gray];
40 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit block" style="filled" fillcolor=gray];
}
40 [label="Exit function myListOf" style="filled" fillcolor=gray];
42 [label="Exit function myListOf" style="filled" fillcolor=gray];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38 40} [style=dotted];
35 -> {36};
36 -> {37};
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {40} [style=dotted];
39 -> {40 42} [style=dotted];
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
subgraph cluster_11 {
subgraph cluster_12 {
color=red
41 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
42 [label="Enter property" style="filled" fillcolor=red];
43 [label="Const: Int(1)"];
44 [label="Exit property" style="filled" fillcolor=red];
}
43 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
45 [label="Enter property" style="filled" fillcolor=red];
46 [label="Const: Boolean(true)"];
47 [label="Exit property" style="filled" fillcolor=red];
44 [label="Enter property" style="filled" fillcolor=red];
45 [label="Const: Int(1)"];
46 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_14 {
color=blue
48 [label="Enter function <init>" style="filled" fillcolor=red];
49 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
50 [label="Exit function <init>" style="filled" fillcolor=red];
47 [label="Enter property" style="filled" fillcolor=red];
48 [label="Const: Boolean(true)"];
49 [label="Exit property" style="filled" fillcolor=red];
}
51 [label="Exit class A" style="filled" fillcolor=red];
}
41 -> {42} [color=green];
41 -> {51} [style=dotted];
41 -> {42 45 48} [style=dashed];
42 -> {43};
43 -> {44};
44 -> {45} [color=green];
45 -> {46};
46 -> {47};
47 -> {48} [color=green];
48 -> {49};
49 -> {50};
50 -> {51} [color=green];
subgraph cluster_15 {
color=red
52 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_16 {
subgraph cluster_15 {
color=blue
53 [label="Enter block"];
54 [label="Const: Null(null)"];
55 [label="Variable declaration: lvar s: R|A?|"];
subgraph cluster_17 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/results|"];
58 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
59 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_18 {
color=blue
60 [label="Enter while loop"];
subgraph cluster_19 {
color=blue
61 [label="Enter loop condition"];
62 [label="Access variable R|<local>/<iterator>|"];
63 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
64 [label="Exit loop condition"];
}
subgraph cluster_20 {
color=blue
65 [label="Enter loop block"];
subgraph cluster_21 {
color=blue
66 [label="Enter block"];
67 [label="Access variable R|<local>/<iterator>|"];
68 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
subgraph cluster_22 {
color=blue
71 [label="Enter block" style="filled" fillcolor=gray];
72 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_23 {
color=blue
75 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_24 {
color=blue
76 [label="Enter when branch condition " style="filled" fillcolor=gray];
77 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
78 [label="Stub" style="filled" fillcolor=gray];
79 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
80 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
81 [label="Synthetic else branch" style="filled" fillcolor=gray];
82 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_25 {
color=blue
83 [label="Enter block" style="filled" fillcolor=gray];
84 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
}
87 [label="Exit when branch result" style="filled" fillcolor=gray];
88 [label="Exit when" style="filled" fillcolor=gray];
}
89 [label="Exit block" style="filled" fillcolor=gray];
}
90 [label="Exit block" style="filled" fillcolor=gray];
}
91 [label="Exit loop block" style="filled" fillcolor=gray];
}
92 [label="Exit while loop"];
}
93 [label="Exit block"];
}
94 [label="Access variable R|<local>/s|"];
95 [label="Enter safe call"];
96 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
97 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/it|"];
100 [label="Access variable R|/A.a|"];
101 [label="Exit block"];
}
102 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
103 [label="Postponed exit from lambda"];
104 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
105 [label="Exit safe call"];
106 [label="Exit block"];
50 [label="Enter function <init>" style="filled" fillcolor=red];
51 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
52 [label="Exit function <init>" style="filled" fillcolor=red];
}
107 [label="Exit function test_0" style="filled" fillcolor=red];
53 [label="Exit class A" style="filled" fillcolor=red];
}
43 -> {44} [color=green];
43 -> {53} [style=dotted];
43 -> {44 47 50} [style=dashed];
44 -> {45};
45 -> {46};
46 -> {47} [color=green];
47 -> {48};
48 -> {49};
49 -> {50} [color=green];
50 -> {51};
51 -> {52};
52 -> {53} [color=green];
subgraph cluster_16 {
color=red
54 [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?|"];
subgraph cluster_18 {
color=blue
58 [label="Enter block"];
subgraph cluster_19 {
color=blue
59 [label="Function call arguments enter"];
60 [label="Access variable R|<local>/results|"];
61 [label="Function call arguments exit"];
}
62 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
63 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_20 {
color=blue
64 [label="Enter while loop"];
subgraph cluster_21 {
color=blue
65 [label="Enter loop condition"];
subgraph cluster_22 {
color=blue
66 [label="Function call arguments enter"];
67 [label="Access variable R|<local>/<iterator>|"];
68 [label="Function call arguments exit"];
}
69 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
70 [label="Exit loop condition"];
}
subgraph cluster_23 {
color=blue
71 [label="Enter loop block"];
subgraph cluster_24 {
color=blue
72 [label="Enter block"];
subgraph cluster_25 {
color=blue
73 [label="Function call arguments enter"];
74 [label="Access variable R|<local>/<iterator>|"];
75 [label="Function call arguments exit"];
}
76 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
subgraph cluster_26 {
color=blue
79 [label="Enter block" style="filled" fillcolor=gray];
80 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
81 [label="Stub" style="filled" fillcolor=gray];
82 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_27 {
color=blue
83 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_28 {
color=blue
84 [label="Enter when branch condition " style="filled" fillcolor=gray];
85 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
86 [label="Stub" style="filled" fillcolor=gray];
87 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
88 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
89 [label="Synthetic else branch" style="filled" fillcolor=gray];
90 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_29 {
color=blue
91 [label="Enter block" style="filled" fillcolor=gray];
92 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
93 [label="Stub" style="filled" fillcolor=gray];
94 [label="Exit block" style="filled" fillcolor=gray];
}
95 [label="Exit when branch result" style="filled" fillcolor=gray];
96 [label="Exit when" style="filled" fillcolor=gray];
}
97 [label="Exit block" style="filled" fillcolor=gray];
}
98 [label="Exit block" style="filled" fillcolor=gray];
}
99 [label="Exit loop block" style="filled" fillcolor=gray];
}
100 [label="Exit while loop"];
}
101 [label="Exit block"];
}
102 [label="Access variable R|<local>/s|"];
103 [label="Enter safe call"];
subgraph cluster_30 {
color=blue
104 [label="Function call arguments enter"];
105 [label="Postponed enter to lambda"];
subgraph cluster_31 {
color=blue
106 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
107 [label="Enter block"];
108 [label="Access variable R|<local>/it|"];
109 [label="Access variable R|/A.a|"];
110 [label="Exit block"];
}
111 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
112 [label="Function call arguments exit"];
}
113 [label="Postponed exit from lambda"];
114 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
115 [label="Exit safe call"];
116 [label="Exit block"];
}
117 [label="Exit function test_0" style="filled" fillcolor=red];
}
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
@@ -264,137 +289,137 @@ digraph smartcastToNothing_kt {
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65 92};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
68 -> {69};
69 -> {70};
70 -> {71 100};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81 82} [style=dotted];
81 -> {88} [style=dotted];
80 -> {81} [style=dotted];
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85 92} [style=dotted];
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
88 -> {89 90} [style=dotted];
89 -> {96} [style=dotted];
90 -> {91} [style=dotted];
91 -> {61} [color=green style=dotted];
92 -> {93};
93 -> {94};
94 -> {95 105};
95 -> {96};
96 -> {97 104};
96 -> {103} [style=dotted];
96 -> {97} [style=dashed];
97 -> {98};
98 -> {99};
99 -> {100};
91 -> {92} [style=dotted];
92 -> {93 100} [style=dotted];
93 -> {94} [style=dotted];
94 -> {95} [style=dotted];
95 -> {96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {99} [style=dotted];
99 -> {65} [color=green style=dotted];
100 -> {101};
101 -> {102};
102 -> {103};
102 -> {103 115};
103 -> {104};
104 -> {105};
105 -> {106};
105 -> {106 112};
105 -> {113} [style=dotted];
105 -> {106} [style=dashed];
106 -> {107};
subgraph cluster_28 {
color=red
108 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
109 [label="Enter block"];
subgraph cluster_30 {
color=blue
110 [label="Enter when"];
subgraph cluster_31 {
color=blue
111 [label="Enter when branch condition "];
112 [label="Access variable R|<local>/a|"];
113 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
114 [label="Exit when branch condition"];
}
115 [label="Synthetic else branch"];
116 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
117 [label="Enter block"];
118 [label="Access variable R|<local>/a|"];
119 [label="Smart cast: R|<local>/a|"];
120 [label="Enter safe call"];
121 [label="Access variable R|kotlin/String.length|"];
122 [label="Exit safe call"];
123 [label="Variable declaration: lval b: R|kotlin/Int?|"];
124 [label="Exit block"];
}
125 [label="Exit when branch result"];
126 [label="Exit when"];
}
subgraph cluster_33 {
color=blue
127 [label="Enter when"];
subgraph cluster_34 {
color=blue
128 [label="Enter when branch condition "];
129 [label="Access variable R|<local>/a|"];
130 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
131 [label="Exit when branch condition"];
}
132 [label="Synthetic else branch"];
133 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
134 [label="Enter block"];
135 [label="Access variable R|<local>/a|"];
136 [label="Smart cast: R|<local>/a|"];
137 [label="Access variable R|kotlin/String.length|"];
138 [label="Variable declaration: lval b: R|kotlin/Int|"];
139 [label="Exit block"];
}
140 [label="Exit when branch result"];
141 [label="Exit when"];
}
142 [label="Exit block"];
}
143 [label="Exit function test_1" style="filled" fillcolor=red];
}
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
111 -> {113};
112 -> {114};
113 -> {114};
114 -> {115 116};
115 -> {126};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
subgraph cluster_33 {
color=red
118 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
119 [label="Enter block"];
subgraph cluster_35 {
color=blue
120 [label="Enter when"];
subgraph cluster_36 {
color=blue
121 [label="Enter when branch condition "];
122 [label="Access variable R|<local>/a|"];
123 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
124 [label="Exit when branch condition"];
}
125 [label="Synthetic else branch"];
126 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
127 [label="Enter block"];
128 [label="Access variable R|<local>/a|"];
129 [label="Smart cast: R|<local>/a|"];
130 [label="Enter safe call"];
131 [label="Access variable R|kotlin/String.length|"];
132 [label="Exit safe call"];
133 [label="Variable declaration: lval b: R|kotlin/Int?|"];
134 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
subgraph cluster_38 {
color=blue
137 [label="Enter when"];
subgraph cluster_39 {
color=blue
138 [label="Enter when branch condition "];
139 [label="Access variable R|<local>/a|"];
140 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
141 [label="Exit when branch condition"];
}
142 [label="Synthetic else branch"];
143 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
144 [label="Enter block"];
145 [label="Access variable R|<local>/a|"];
146 [label="Smart cast: R|<local>/a|"];
147 [label="Access variable R|kotlin/String.length|"];
148 [label="Variable declaration: lval b: R|kotlin/Int|"];
149 [label="Exit block"];
}
150 [label="Exit when branch result"];
151 [label="Exit when"];
}
152 [label="Exit block"];
}
153 [label="Exit function test_1" style="filled" fillcolor=red];
}
118 -> {119};
119 -> {120 122};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
124 -> {125 126};
125 -> {136};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
129 -> {130 132};
130 -> {131};
131 -> {132 133};
132 -> {141};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
@@ -403,7 +428,17 @@ digraph smartcastToNothing_kt {
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
141 -> {142 143};
142 -> {151};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
}
@@ -76,21 +76,36 @@ digraph delayedAssignment_kt {
subgraph cluster_11 {
color=blue
27 [label="Enter block"];
28 [label="Function call: R|/A.A|()" style="filled" fillcolor=yellow];
29 [label="Assignment: R|<local>/a|"];
30 [label="Access variable R|<local>/a|"];
31 [label="Smart cast: R|<local>/a|"];
32 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
33 [label="Exit block"];
subgraph cluster_12 {
color=blue
28 [label="Function call arguments enter"];
29 [label="Function call arguments exit"];
}
30 [label="Function call: R|/A.A|()" style="filled" fillcolor=yellow];
31 [label="Assignment: R|<local>/a|"];
subgraph cluster_13 {
color=blue
32 [label="Function call arguments enter"];
33 [label="Access variable R|<local>/a|"];
34 [label="Smart cast: R|<local>/a|"];
35 [label="Function call arguments exit"];
}
36 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
37 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
38 [label="Exit when branch result"];
39 [label="Exit when"];
}
36 [label="Access variable R|<local>/a|"];
37 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
subgraph cluster_14 {
color=blue
40 [label="Function call arguments enter"];
41 [label="Access variable R|<local>/a|"];
42 [label="Function call arguments exit"];
}
43 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
44 [label="Exit block"];
}
39 [label="Exit function test" style="filled" fillcolor=red];
45 [label="Exit function test" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
@@ -106,7 +121,7 @@ digraph delayedAssignment_kt {
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {35};
25 -> {39};
26 -> {27};
27 -> {28};
28 -> {29};
@@ -120,5 +135,11 @@ digraph delayedAssignment_kt {
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
}