blob: 18c4fc88154bf8c087fcb56c66bf0123af5a30aa [file]
digraph smartCastInCatch_fir_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file smartCastInCatch.fir.kt" style="filled" fillcolor=red];
1 [label="Exit file smartCastInCatch.fir.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function exc" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
subgraph cluster_3 {
color=blue
4 [label="Enter when"];
subgraph cluster_4 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/flag|"];
7 [label="Exit when branch condition"];
}
8 [label="Synthetic else branch"];
9 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
10 [label="Enter block"];
subgraph cluster_6 {
color=blue
11 [label="Function call arguments enter"];
12 [label="Function call arguments exit"];
}
13 [label="Function call enter: R|java/lang/RuntimeException.RuntimeException|()"];
14 [label="Function call exit: R|java/lang/RuntimeException.RuntimeException|()" style="filled" fillcolor=yellow];
15 [label="Throw: throw R|java/lang/RuntimeException.RuntimeException|()"];
16 [label="Stub" style="filled" fillcolor=gray];
17 [label="Exit block" style="filled" fillcolor=gray];
}
18 [label="Exit when branch result" style="filled" fillcolor=gray];
19 [label="Exit when"];
}
20 [label="Exit block"];
}
21 [label="Exit function exc" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8 9};
8 -> {19};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20};
20 -> {21};
subgraph cluster_7 {
color=red
22 [label="Enter function notNull" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
23 [label="Enter block"];
subgraph cluster_9 {
color=blue
24 [label="Function call arguments enter"];
25 [label="Function call arguments exit"];
}
26 [label="Function call enter: this@R|/notNull|.R|kotlin/Any.toString|()"];
27 [label="Function call exit: this@R|/notNull|.R|kotlin/Any.toString|()" style="filled" fillcolor=yellow];
28 [label="Jump: ^notNull this@R|/notNull|.R|kotlin/Any.toString|()"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
}
31 [label="Exit function notNull" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {31};
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
subgraph cluster_10 {
color=red
32 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
33 [label="Enter block"];
34 [label="Enter variable declaration: lvar x: R|kotlin/Any?|"];
35 [label="Exit variable declaration: lvar x: R|kotlin/Any?|"];
36 [label="Const: String()"];
37 [label="Assignment: R|<local>/x|"];
subgraph cluster_12 {
color=blue
38 [label="Try expression enter"];
subgraph cluster_13 {
color=blue
39 [label="Try main block enter"];
subgraph cluster_14 {
color=blue
40 [label="Enter block"];
41 [label="Const: Null(null)"];
42 [label="Assignment: R|<local>/x|"];
subgraph cluster_15 {
color=blue
43 [label="Function call arguments enter"];
44 [label="Access variable R|<local>/flag|"];
45 [label="Function call arguments exit"];
}
46 [label="Function call enter: R|/exc|(...)"];
47 [label="Function call exit: R|/exc|(...)" style="filled" fillcolor=yellow];
48 [label="Const: Int(1)"];
49 [label="Assignment: R|<local>/x|"];
subgraph cluster_16 {
color=blue
50 [label="Function call arguments enter"];
subgraph cluster_17 {
color=blue
51 [label="Function call arguments enter"];
52 [label="Access variable R|<local>/flag|"];
53 [label="Function call arguments exit"];
}
54 [label="Function call enter: R|<local>/flag|.R|kotlin/Boolean.not|()"];
55 [label="Function call exit: R|<local>/flag|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
56 [label="Function call arguments exit"];
}
57 [label="Function call enter: R|/exc|(...)"];
58 [label="Function call exit: R|/exc|(...)" style="filled" fillcolor=yellow];
59 [label="Const: String()"];
60 [label="Assignment: R|<local>/x|"];
61 [label="Exit block"];
}
62 [label="Try main block exit"];
}
subgraph cluster_18 {
color=blue
63 [label="Catch enter"];
64 [label="Enter variable declaration: e: R|kotlin/Throwable|"];
65 [label="Exit variable declaration: e: R|kotlin/Throwable|"];
subgraph cluster_19 {
color=blue
66 [label="Enter block"];
67 [label="Access variable R|<local>/x|"];
68 [label="Smart cast: R|<local>/x|"];
69 [label="Access variable <Unresolved name: length>#"];
subgraph cluster_20 {
color=blue
70 [label="Function call arguments enter"];
71 [label="Access variable R|<local>/x|"];
72 [label="Smart cast: R|<local>/x|"];
73 [label="Function call arguments exit"];
}
74 [label="Function call enter: R|<local>/x|.<Unresolved name: inc>#()"];
75 [label="Function call exit: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
76 [label="Exit block"];
}
77 [label="Catch exit"];
}
78 [label="Try expression exit"];
}
79 [label="Exit block"];
}
80 [label="Exit function test" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39 63};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43 63};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 63};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61 63};
61 -> {62};
62 -> {63 78};
63 -> {64};
64 -> {65};
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};
subgraph cluster_21 {
color=red
81 [label="Enter function testGetClassThrows" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
82 [label="Enter block"];
83 [label="Enter variable declaration: lvar x: R|kotlin/reflect/KClass<kotlin/String>?|"];
84 [label="Access qualifier kotlin/String"];
85 [label="::class call"];
86 [label="Exit variable declaration: lvar x: R|kotlin/reflect/KClass<kotlin/String>?|"];
87 [label="Access variable R|<local>/x|"];
88 [label="Type operator: (R|<local>/x| as R|kotlin/reflect/KClass<kotlin/String>|)"];
subgraph cluster_23 {
color=blue
89 [label="Try expression enter"];
subgraph cluster_24 {
color=blue
90 [label="Try main block enter"];
subgraph cluster_25 {
color=blue
91 [label="Enter block"];
92 [label="Const: Null(null)"];
93 [label="Assignment: R|<local>/x|"];
94 [label="Access qualifier kotlin/String"];
95 [label="::class call"];
96 [label="Assignment: R|<local>/x|"];
97 [label="Exit block"];
}
98 [label="Try main block exit"];
}
subgraph cluster_26 {
color=blue
99 [label="Catch enter"];
100 [label="Enter variable declaration: e: R|kotlin/Throwable|"];
101 [label="Exit variable declaration: e: R|kotlin/Throwable|"];
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 enter: R|<local>/x|.R|/notNull<Inapplicable(UNSAFE_CALL): /notNull>#|()"];
107 [label="Function call exit: R|<local>/x|.R|/notNull<Inapplicable(UNSAFE_CALL): /notNull>#|()" style="filled" fillcolor=yellow];
108 [label="Exit block"];
}
109 [label="Catch exit"];
}
110 [label="Try expression exit"];
}
111 [label="Exit block"];
}
112 [label="Exit function testGetClassThrows" style="filled" fillcolor=red];
}
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90 99};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94 99};
94 -> {95};
95 -> {96};
96 -> {97 99};
97 -> {98};
98 -> {99 110};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
subgraph cluster_29 {
color=red
113 [label="Enter function testMemberReferenceThrows" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
114 [label="Enter block"];
115 [label="Enter variable declaration: lvar x: R|kotlin/Any?|"];
116 [label="Const: String()"];
117 [label="Exit variable declaration: lvar x: R|kotlin/Any?|"];
118 [label="Access variable R|<local>/x|"];
119 [label="Type operator: (R|<local>/x| as R|kotlin/Any|)"];
subgraph cluster_31 {
color=blue
120 [label="Try expression enter"];
subgraph cluster_32 {
color=blue
121 [label="Try main block enter"];
subgraph cluster_33 {
color=blue
122 [label="Enter block"];
123 [label="Const: Null(null)"];
124 [label="Assignment: R|<local>/x|"];
125 [label="Access qualifier kotlin/String"];
126 [label="Callable reference: Q|kotlin/String|::R|kotlin/String.length|"];
127 [label="Assignment: R|<local>/x|"];
128 [label="Exit block"];
}
129 [label="Try main block exit"];
}
subgraph cluster_34 {
color=blue
130 [label="Catch enter"];
131 [label="Enter variable declaration: ex: R|kotlin/Throwable|"];
132 [label="Exit variable declaration: ex: R|kotlin/Throwable|"];
subgraph cluster_35 {
color=blue
133 [label="Enter block"];
subgraph cluster_36 {
color=blue
134 [label="Function call arguments enter"];
135 [label="Access variable R|<local>/x|"];
136 [label="Function call arguments exit"];
}
137 [label="Function call enter: R|<local>/x|.R|/notNull<Inapplicable(UNSAFE_CALL): /notNull>#|()"];
138 [label="Function call exit: R|<local>/x|.R|/notNull<Inapplicable(UNSAFE_CALL): /notNull>#|()" style="filled" fillcolor=yellow];
139 [label="Exit block"];
}
140 [label="Catch exit"];
}
141 [label="Try expression exit"];
}
142 [label="Exit block"];
}
143 [label="Exit function testMemberReferenceThrows" style="filled" fillcolor=red];
}
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121 130};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125 130};
125 -> {126};
126 -> {127};
127 -> {128 130};
128 -> {129};
129 -> {130 141};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
subgraph cluster_37 {
color=red
144 [label="Enter function testExceptionBeforeLambda" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
145 [label="Enter block"];
146 [label="Enter variable declaration: lvar x: R|kotlin/String?|"];
147 [label="Const: String()"];
148 [label="Exit variable declaration: lvar x: R|kotlin/String?|"];
149 [label="Access variable R|<local>/x|"];
150 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
subgraph cluster_39 {
color=blue
151 [label="Try expression enter"];
subgraph cluster_40 {
color=blue
152 [label="Try main block enter"];
subgraph cluster_41 {
color=blue
153 [label="Enter block"];
154 [label="Const: Null(null)"];
155 [label="Assignment: R|<local>/x|"];
subgraph cluster_42 {
color=blue
156 [label="Function call arguments enter"];
157 [label="Anonymous function capture"];
158 [label="Postponed enter to lambda"];
subgraph cluster_43 {
color=blue
159 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_44 {
color=blue
160 [label="Enter block"];
161 [label="Const: String()"];
162 [label="Assignment: R|<local>/x|"];
163 [label="Exit block"];
}
164 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
165 [label="Function call arguments exit"];
}
166 [label="Function call enter: R|kotlin/run|<R|kotlin/Unit|>(...)"];
167 [label="Postponed exit from lambda"];
168 [label="Function call exit: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
169 [label="Exit block"];
}
170 [label="Try main block exit"];
}
subgraph cluster_45 {
color=blue
171 [label="Catch enter"];
172 [label="Enter variable declaration: ex: R|kotlin/Throwable|"];
173 [label="Exit variable declaration: ex: R|kotlin/Throwable|"];
subgraph cluster_46 {
color=blue
174 [label="Enter block"];
subgraph cluster_47 {
color=blue
175 [label="Function call arguments enter"];
176 [label="Access variable R|<local>/x|"];
177 [label="Function call arguments exit"];
}
178 [label="Function call enter: R|<local>/x|.R|/notNull<Inapplicable(UNSAFE_CALL): /notNull>#|()"];
179 [label="Function call exit: R|<local>/x|.R|/notNull<Inapplicable(UNSAFE_CALL): /notNull>#|()" style="filled" fillcolor=yellow];
180 [label="Exit block"];
}
181 [label="Catch exit"];
}
182 [label="Try expression exit"];
}
183 [label="Exit block"];
}
184 [label="Exit function testExceptionBeforeLambda" style="filled" fillcolor=red];
}
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152 171};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156 171};
156 -> {157};
157 -> {158};
157 -> {159} [color=green style=dotted label="CapturedByValue"];
158 -> {159 165};
158 -> {167} [style=dotted];
158 -> {159} [style=dashed];
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163 171};
163 -> {164};
164 -> {167};
165 -> {166};
166 -> {168};
167 -> {168} [color=green];
167 -> {182} [color=red label="Postponed"];
168 -> {169};
169 -> {170};
170 -> {171 182};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
subgraph cluster_48 {
color=red
185 [label="Enter function testExceptionWithinLocalFunction" style="filled" fillcolor=red];
subgraph cluster_49 {
color=blue
186 [label="Enter block"];
187 [label="Enter variable declaration: lvar x: R|kotlin/Any|"];
188 [label="Const: String()"];
189 [label="Exit variable declaration: lvar x: R|kotlin/Any|"];
190 [label="Access variable R|<local>/x|"];
191 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
subgraph cluster_50 {
color=blue
192 [label="Try expression enter"];
subgraph cluster_51 {
color=blue
193 [label="Try main block enter"];
subgraph cluster_52 {
color=blue
194 [label="Enter block"];
195 [label="Local function declaration"];
196 [label="Exit block"];
}
197 [label="Try main block exit"];
}
subgraph cluster_53 {
color=blue
198 [label="Enter function local" style="filled" fillcolor=red];
subgraph cluster_54 {
color=blue
199 [label="Enter block"];
200 [label="Const: Int(1)"];
201 [label="Assignment: R|<local>/x|"];
202 [label="Exit block"];
}
203 [label="Exit function local" style="filled" fillcolor=red];
}
subgraph cluster_55 {
color=blue
204 [label="Catch enter"];
205 [label="Enter variable declaration: e: R|{kotlin/Exception=} java/lang/Exception|"];
206 [label="Exit variable declaration: e: R|{kotlin/Exception=} java/lang/Exception|"];
subgraph cluster_56 {
color=blue
207 [label="Enter block"];
208 [label="Access variable R|<local>/x|"];
209 [label="Smart cast: R|<local>/x|"];
210 [label="Access variable <Unresolved name: length>#"];
211 [label="Exit block"];
}
212 [label="Catch exit"];
}
213 [label="Try expression exit"];
}
214 [label="Exit block"];
}
215 [label="Exit function testExceptionWithinLocalFunction" style="filled" fillcolor=red];
}
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193 204};
193 -> {194};
194 -> {195};
195 -> {196 198};
195 -> {198} [style=dashed];
196 -> {197};
197 -> {204 213};
198 -> {199};
199 -> {200};
200 -> {201};
201 -> {202};
201 -> {204} [color=red];
202 -> {203};
203 -> {198} [color=green style=dashed];
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209};
209 -> {210};
210 -> {211};
211 -> {212};
212 -> {213};
213 -> {214};
214 -> {215};
}