[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
@@ -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};
}