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