[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
@@ -17,403 +17,501 @@ digraph callsInPlace_kt {
color=blue
3 [label="Enter block"];
4 [label="Variable declaration: lval x: R|kotlin/Int|"];
5 [label="Postponed enter to lambda"];
subgraph cluster_3 {
color=blue
6 [label="Enter function <anonymous>" style="filled" fillcolor=red];
5 [label="Function call arguments enter"];
6 [label="Postponed enter to lambda"];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
8 [label="Const: Int(1)"];
9 [label="Assignment: R|<local>/x|"];
10 [label="Exit block"];
7 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
8 [label="Enter block"];
9 [label="Const: Int(1)"];
10 [label="Assignment: R|<local>/x|"];
11 [label="Exit block"];
}
12 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
11 [label="Exit function <anonymous>" style="filled" fillcolor=red];
13 [label="Function call arguments exit"];
}
12 [label="Postponed exit from lambda"];
13 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
14 [label="Access variable R|<local>/x|"];
15 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
16 [label="Exit block"];
14 [label="Postponed exit from lambda"];
15 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_6 {
color=blue
16 [label="Function call arguments enter"];
17 [label="Access variable R|<local>/x|"];
18 [label="Function call arguments exit"];
}
19 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
}
17 [label="Exit function test" style="filled" fillcolor=red];
21 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6 13};
5 -> {12} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7};
5 -> {6};
6 -> {7 13};
6 -> {14} [style=dotted];
6 -> {7} [style=dashed];
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
12 -> {14};
13 -> {15};
14 -> {15};
15 -> {16};
16 -> {17};
subgraph cluster_5 {
color=red
18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(10)"];
21 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
22 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
23 [label="Enter block"];
24 [label="Const: String(test_2)"];
25 [label="Exit block"];
}
26 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
27 [label="Postponed exit from lambda"];
28 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
29 [label="Exit block"];
}
30 [label="Exit function test_2" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22 27 28};
21 -> {22} [style=dashed];
subgraph cluster_7 {
color=red
22 [label="Enter function test_2" 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="Const: Int(10)"];
26 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
27 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
28 [label="Enter block"];
29 [label="Const: String(test_2)"];
30 [label="Exit block"];
}
31 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
32 [label="Function call arguments exit"];
}
33 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
35 [label="Exit block"];
}
36 [label="Exit function test_2" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
26 -> {27 32 33};
26 -> {27} [style=dashed];
27 -> {28};
27 -> {21} [color=green style=dashed];
28 -> {29};
29 -> {30};
subgraph cluster_9 {
color=red
31 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
32 [label="Enter block"];
33 [label="Const: Int(10)"];
34 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
35 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
36 [label="Enter block"];
37 [label="Const: String(test_3)"];
38 [label="Exit block"];
}
39 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
42 [label="Exit block"];
}
43 [label="Exit function test_3" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
30 -> {31};
31 -> {33};
32 -> {34};
33 -> {34};
34 -> {35 40 41};
34 -> {35} [style=dashed];
33 -> {26} [color=green style=dashed];
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_12 {
color=red
37 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
38 [label="Enter block"];
subgraph cluster_14 {
color=blue
39 [label="Function call arguments enter"];
40 [label="Const: Int(10)"];
41 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
42 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
43 [label="Enter block"];
44 [label="Const: String(test_3)"];
45 [label="Exit block"];
}
46 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
47 [label="Function call arguments exit"];
}
48 [label="Postponed exit from lambda"];
49 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
50 [label="Exit block"];
}
51 [label="Exit function test_3" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
40 -> {34} [color=green style=dashed];
41 -> {42};
41 -> {42 47 48};
41 -> {42} [style=dashed];
42 -> {43};
subgraph cluster_13 {
color=red
44 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
45 [label="Enter block"];
46 [label="Const: Int(1)"];
47 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
48 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
49 [label="Enter block"];
50 [label="Const: String(test_4)"];
51 [label="Access variable R|<local>/it|"];
52 [label="Const: Int(0)"];
53 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
54 [label="Comparison >"];
55 [label="Exit block"];
}
56 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
57 [label="Postponed exit from lambda"];
58 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
59 [label="Exit block"];
}
60 [label="Exit function test_4" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 58};
47 -> {57} [style=dotted];
47 -> {48} [style=dashed];
46 -> {48};
47 -> {49};
48 -> {49};
48 -> {41} [color=green style=dashed];
49 -> {50};
50 -> {51};
51 -> {52};
subgraph cluster_17 {
color=red
52 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
53 [label="Enter block"];
subgraph cluster_19 {
color=blue
54 [label="Function call arguments enter"];
55 [label="Const: Int(1)"];
56 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
57 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
58 [label="Enter block"];
59 [label="Const: String(test_4)"];
subgraph cluster_22 {
color=blue
60 [label="Function call arguments enter"];
61 [label="Access variable R|<local>/it|"];
62 [label="Const: Int(0)"];
63 [label="Function call arguments exit"];
}
64 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
65 [label="Comparison >"];
66 [label="Exit block"];
}
67 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
68 [label="Function call arguments exit"];
}
69 [label="Postponed exit from lambda"];
70 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
71 [label="Exit block"];
}
72 [label="Exit function test_4" style="filled" fillcolor=red];
}
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
56 -> {57 68};
56 -> {69} [style=dotted];
56 -> {57} [style=dashed];
57 -> {58};
58 -> {59};
59 -> {60};
subgraph cluster_17 {
color=red
61 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
62 [label="Enter block"];
63 [label="Const: Int(1)"];
64 [label="Postponed enter to lambda"];
subgraph cluster_19 {
color=blue
65 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
66 [label="Enter block"];
67 [label="Const: String(test_5)"];
68 [label="Access variable R|<local>/it|"];
69 [label="Const: Int(0)"];
70 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
71 [label="Comparison >"];
72 [label="Exit block"];
}
73 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
74 [label="Postponed exit from lambda"];
75 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
76 [label="Exit block"];
}
77 [label="Exit function test_5" style="filled" fillcolor=red];
}
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65 75};
64 -> {74} [style=dotted];
64 -> {65} [style=dashed];
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
67 -> {69};
68 -> {70};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
subgraph cluster_23 {
color=red
73 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
74 [label="Enter block"];
subgraph cluster_25 {
color=blue
75 [label="Function call arguments enter"];
76 [label="Const: Int(1)"];
77 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
78 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
79 [label="Enter block"];
80 [label="Const: String(test_5)"];
subgraph cluster_28 {
color=blue
81 [label="Function call arguments enter"];
82 [label="Access variable R|<local>/it|"];
83 [label="Const: Int(0)"];
84 [label="Function call arguments exit"];
}
85 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
86 [label="Comparison >"];
87 [label="Exit block"];
}
88 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
89 [label="Function call arguments exit"];
}
90 [label="Postponed exit from lambda"];
91 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
92 [label="Exit block"];
}
93 [label="Exit function test_5" style="filled" fillcolor=red];
}
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
subgraph cluster_21 {
color=red
78 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
79 [label="Enter block"];
80 [label="Function call: R|<local>/block1|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
81 [label="Function call: R|<local>/block2|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
82 [label="Exit block"];
}
83 [label="Exit function myRun" style="filled" fillcolor=red];
}
77 -> {78 89};
77 -> {90} [style=dotted];
77 -> {78} [style=dashed];
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
subgraph cluster_23 {
color=red
84 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
85 [label="Enter block"];
86 [label="Postponed enter to lambda"];
subgraph cluster_25 {
color=blue
87 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
88 [label="Enter block"];
89 [label="Const: String(test_6_2)"];
90 [label="Exit block"];
}
91 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
subgraph cluster_27 {
color=blue
92 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
93 [label="Enter block"];
94 [label="Const: String(test_6_1)"];
95 [label="Exit block"];
}
96 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
97 [label="Postponed exit from lambda"];
98 [label="Postponed exit from lambda"];
99 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
100 [label="Exit block"];
}
101 [label="Exit function test_6" style="filled" fillcolor=red];
}
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87 92 97 98 99};
86 -> {87 92} [style=dashed];
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
88 -> {90};
89 -> {91};
90 -> {91};
91 -> {97};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {98};
97 -> {99};
97 -> {86} [color=green style=dashed];
98 -> {99};
98 -> {86} [color=green style=dashed];
99 -> {100};
100 -> {101};
subgraph cluster_29 {
color=red
102 [label="Enter function test_7" style="filled" fillcolor=red];
94 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
103 [label="Enter block"];
104 [label="Postponed enter to lambda"];
95 [label="Enter block"];
subgraph cluster_31 {
color=blue
105 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
106 [label="Enter block"];
107 [label="Const: String(test_7_1)"];
108 [label="Exit block"];
}
109 [label="Exit function <anonymous>" style="filled" fillcolor=red];
96 [label="Function call arguments enter"];
97 [label="Function call arguments exit"];
}
subgraph cluster_33 {
98 [label="Function call: R|<local>/block1|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
subgraph cluster_32 {
color=blue
110 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
111 [label="Enter block"];
112 [label="Const: String(test_7_2)"];
113 [label="Exit block"];
}
114 [label="Exit function <anonymous>" style="filled" fillcolor=red];
99 [label="Function call arguments enter"];
100 [label="Function call arguments exit"];
}
115 [label="Postponed exit from lambda"];
116 [label="Postponed exit from lambda"];
117 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
118 [label="Exit block"];
101 [label="Function call: R|<local>/block2|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
102 [label="Exit block"];
}
119 [label="Exit function test_7" style="filled" fillcolor=red];
103 [label="Exit function myRun" style="filled" fillcolor=red];
}
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105 110 115 116 117};
104 -> {105 110} [style=dashed];
subgraph cluster_33 {
color=red
104 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
105 [label="Enter block"];
subgraph cluster_35 {
color=blue
106 [label="Function call arguments enter"];
107 [label="Postponed enter to lambda"];
subgraph cluster_36 {
color=blue
108 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
109 [label="Enter block"];
110 [label="Const: String(test_6_2)"];
111 [label="Exit block"];
}
112 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
subgraph cluster_38 {
color=blue
113 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
114 [label="Enter block"];
115 [label="Const: String(test_6_1)"];
116 [label="Exit block"];
}
117 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
118 [label="Function call arguments exit"];
}
119 [label="Postponed exit from lambda"];
120 [label="Postponed exit from lambda"];
121 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
122 [label="Exit block"];
}
123 [label="Exit function test_6" style="filled" fillcolor=red];
}
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
107 -> {108 113 118 119 120};
107 -> {108 113} [style=dashed];
108 -> {109};
109 -> {115};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
112 -> {119};
113 -> {114};
114 -> {116};
115 -> {117};
115 -> {104} [color=green style=dashed];
114 -> {115};
115 -> {116};
116 -> {117};
116 -> {104} [color=green style=dashed];
117 -> {118};
118 -> {119};
subgraph cluster_35 {
color=red
120 [label="Enter function myDummyRun" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
121 [label="Enter block"];
122 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
123 [label="Exit block"];
}
124 [label="Exit function myDummyRun" style="filled" fillcolor=red];
}
117 -> {120};
118 -> {121};
119 -> {121};
119 -> {107} [color=green style=dashed];
120 -> {121};
120 -> {107} [color=green style=dashed];
121 -> {122};
122 -> {123};
123 -> {124};
subgraph cluster_37 {
subgraph cluster_40 {
color=red
125 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_38 {
124 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_41 {
color=blue
126 [label="Enter block"];
127 [label="Postponed enter to lambda"];
subgraph cluster_39 {
125 [label="Enter block"];
subgraph cluster_42 {
color=blue
128 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_40 {
126 [label="Function call arguments enter"];
127 [label="Postponed enter to lambda"];
subgraph cluster_43 {
color=blue
129 [label="Enter block"];
130 [label="Const: String(test_8)"];
131 [label="Exit block"];
128 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_44 {
color=blue
129 [label="Enter block"];
130 [label="Const: String(test_7_1)"];
131 [label="Exit block"];
}
132 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
132 [label="Exit function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_45 {
color=blue
133 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_46 {
color=blue
134 [label="Enter block"];
135 [label="Const: String(test_7_2)"];
136 [label="Exit block"];
}
137 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
138 [label="Function call arguments exit"];
}
133 [label="Postponed exit from lambda"];
134 [label="Function call: R|/myDummyRun|(...)" style="filled" fillcolor=yellow];
135 [label="Exit block"];
139 [label="Postponed exit from lambda"];
140 [label="Postponed exit from lambda"];
141 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
142 [label="Exit block"];
}
136 [label="Exit function test_8" style="filled" fillcolor=red];
143 [label="Exit function test_7" style="filled" fillcolor=red];
}
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128 133 134};
127 -> {128} [style=dashed];
127 -> {128 133 138 139 140};
127 -> {128 133} [style=dashed];
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {139};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {140};
138 -> {141};
139 -> {141};
139 -> {127} [color=green style=dashed];
140 -> {141};
140 -> {127} [color=green style=dashed];
141 -> {142};
142 -> {143};
subgraph cluster_47 {
color=red
144 [label="Enter function myDummyRun" style="filled" fillcolor=red];
subgraph cluster_48 {
color=blue
145 [label="Enter block"];
subgraph cluster_49 {
color=blue
146 [label="Function call arguments enter"];
147 [label="Function call arguments exit"];
}
148 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
149 [label="Exit block"];
}
150 [label="Exit function myDummyRun" style="filled" fillcolor=red];
}
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
subgraph cluster_50 {
color=red
151 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_51 {
color=blue
152 [label="Enter block"];
subgraph cluster_52 {
color=blue
153 [label="Function call arguments enter"];
154 [label="Postponed enter to lambda"];
subgraph cluster_53 {
color=blue
155 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_54 {
color=blue
156 [label="Enter block"];
157 [label="Const: String(test_8)"];
158 [label="Exit block"];
}
159 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
160 [label="Function call arguments exit"];
}
161 [label="Postponed exit from lambda"];
162 [label="Function call: R|/myDummyRun|(...)" style="filled" fillcolor=yellow];
163 [label="Exit block"];
}
164 [label="Exit function test_8" style="filled" fillcolor=red];
}
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155 160 161};
154 -> {155} [style=dashed];
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
160 -> {162};
161 -> {162};
162 -> {163};
163 -> {164};
}
@@ -16,15 +16,25 @@ digraph conditionalEffects_kt {
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Access variable R|<local>/x|"];
5 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
6 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
7 [label="Access variable R|<local>/x|"];
8 [label="Smart cast: R|<local>/x|"];
9 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
10 [label="Exit block"];
subgraph cluster_3 {
color=blue
4 [label="Function call arguments enter"];
5 [label="Access variable R|<local>/x|"];
6 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
7 [label="Function call arguments exit"];
}
8 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
subgraph cluster_4 {
color=blue
9 [label="Function call arguments enter"];
10 [label="Access variable R|<local>/x|"];
11 [label="Smart cast: R|<local>/x|"];
12 [label="Function call arguments exit"];
}
13 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
}
11 [label="Exit function test_1" style="filled" fillcolor=red];
15 [label="Exit function test_1" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
@@ -35,174 +45,194 @@ digraph conditionalEffects_kt {
8 -> {9};
9 -> {10};
10 -> {11};
subgraph cluster_3 {
color=red
12 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/x|"];
15 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
16 [label="Access variable R|<local>/x|"];
17 [label="Smart cast: R|<local>/x|"];
18 [label="Access variable R|kotlin/String.length|"];
19 [label="Exit block"];
}
20 [label="Exit function test_2" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_5 {
color=red
16 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
17 [label="Enter block"];
subgraph cluster_7 {
color=blue
18 [label="Function call arguments enter"];
19 [label="Access variable R|<local>/x|"];
20 [label="Function call arguments exit"];
}
21 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
22 [label="Access variable R|<local>/x|"];
23 [label="Smart cast: R|<local>/x|"];
24 [label="Access variable R|kotlin/String.length|"];
25 [label="Exit block"];
}
26 [label="Exit function test_2" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
subgraph cluster_5 {
color=red
21 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
22 [label="Enter block"];
23 [label="Access variable R|<local>/x|"];
24 [label="Const: Null(null)"];
25 [label="Equality operator !="];
26 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
27 [label="Access variable R|<local>/x|"];
28 [label="Smart cast: R|<local>/x|"];
29 [label="Access variable R|kotlin/String.length|"];
30 [label="Exit block"];
}
31 [label="Exit function test_3" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
subgraph cluster_8 {
color=red
27 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
28 [label="Enter block"];
subgraph cluster_10 {
color=blue
29 [label="Function call arguments enter"];
30 [label="Access variable R|<local>/x|"];
31 [label="Const: Null(null)"];
32 [label="Equality operator !="];
33 [label="Function call arguments exit"];
}
34 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
35 [label="Access variable R|<local>/x|"];
36 [label="Smart cast: R|<local>/x|"];
37 [label="Access variable R|kotlin/String.length|"];
38 [label="Exit block"];
}
39 [label="Exit function test_3" style="filled" fillcolor=red];
}
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
subgraph cluster_7 {
color=red
32 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
33 [label="Enter block"];
subgraph cluster_9 {
color=blue
34 [label="Enter &&"];
35 [label="Access variable R|<local>/x|"];
36 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
37 [label="Exit left part of &&"];
38 [label="Enter right part of &&"];
39 [label="Access variable R|<local>/y|"];
40 [label="Const: Null(null)"];
41 [label="Equality operator !="];
42 [label="Exit &&"];
}
43 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
44 [label="Access variable R|<local>/x|"];
45 [label="Smart cast: R|<local>/x|"];
46 [label="Access variable R|kotlin/String.length|"];
47 [label="Access variable R|<local>/y|"];
48 [label="Smart cast: R|<local>/y|"];
49 [label="Access variable R|kotlin/String.length|"];
50 [label="Exit block"];
}
51 [label="Exit function test_4" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 42};
37 -> {38};
38 -> {39};
39 -> {40};
subgraph cluster_11 {
color=red
40 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
41 [label="Enter block"];
subgraph cluster_13 {
color=blue
42 [label="Function call arguments enter"];
subgraph cluster_14 {
color=blue
43 [label="Enter &&"];
44 [label="Access variable R|<local>/x|"];
45 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
46 [label="Exit left part of &&"];
47 [label="Enter right part of &&"];
48 [label="Access variable R|<local>/y|"];
49 [label="Const: Null(null)"];
50 [label="Equality operator !="];
51 [label="Exit &&"];
}
52 [label="Function call arguments exit"];
}
53 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
54 [label="Access variable R|<local>/x|"];
55 [label="Smart cast: R|<local>/x|"];
56 [label="Access variable R|kotlin/String.length|"];
57 [label="Access variable R|<local>/y|"];
58 [label="Smart cast: R|<local>/y|"];
59 [label="Access variable R|kotlin/String.length|"];
60 [label="Exit block"];
}
61 [label="Exit function test_4" style="filled" fillcolor=red];
}
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
46 -> {47 51};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
subgraph cluster_10 {
color=red
52 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
53 [label="Enter block"];
subgraph cluster_12 {
color=blue
54 [label="Enter when"];
subgraph cluster_13 {
color=blue
55 [label="Enter when branch condition "];
56 [label="Access variable R|<local>/b|"];
57 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
58 [label="Enter when branch condition else"];
59 [label="Exit when branch condition"];
}
60 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
61 [label="Enter block"];
62 [label="Access variable R|<local>/x|"];
63 [label="Access variable <Unresolved name: length>#"];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
66 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
70 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
71 [label="Access variable R|<local>/x|"];
72 [label="Smart cast: R|<local>/x|"];
73 [label="Access variable R|kotlin/String.length|"];
74 [label="Exit block"];
}
75 [label="Exit when branch result"];
76 [label="Exit when"];
}
77 [label="Access variable R|<local>/x|"];
78 [label="Access variable <Unresolved name: length>#"];
79 [label="Exit block"];
}
80 [label="Exit function test_5" style="filled" fillcolor=red];
}
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58 66};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
subgraph cluster_15 {
color=red
62 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
63 [label="Enter block"];
subgraph cluster_17 {
color=blue
64 [label="Enter when"];
subgraph cluster_18 {
color=blue
65 [label="Enter when branch condition "];
66 [label="Access variable R|<local>/b|"];
67 [label="Exit when branch condition"];
}
subgraph cluster_19 {
color=blue
68 [label="Enter when branch condition else"];
69 [label="Exit when branch condition"];
}
70 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
71 [label="Enter block"];
72 [label="Access variable R|<local>/x|"];
73 [label="Access variable <Unresolved name: length>#"];
74 [label="Exit block"];
}
75 [label="Exit when branch result"];
76 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
77 [label="Enter block"];
subgraph cluster_22 {
color=blue
78 [label="Function call arguments enter"];
79 [label="Access variable R|<local>/x|"];
80 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
81 [label="Function call arguments exit"];
}
82 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
83 [label="Access variable R|<local>/x|"];
84 [label="Smart cast: R|<local>/x|"];
85 [label="Access variable R|kotlin/String.length|"];
86 [label="Exit block"];
}
87 [label="Exit when branch result"];
88 [label="Exit when"];
}
89 [label="Access variable R|<local>/x|"];
90 [label="Access variable <Unresolved name: length>#"];
91 [label="Exit block"];
}
92 [label="Exit function test_5" style="filled" fillcolor=red];
}
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {76};
65 -> {66};
66 -> {67};
67 -> {68};
67 -> {68 76};
68 -> {69};
69 -> {70};
70 -> {71};
@@ -210,85 +240,95 @@ digraph conditionalEffects_kt {
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
75 -> {88};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
subgraph cluster_17 {
color=red
81 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
82 [label="Enter block"];
subgraph cluster_19 {
color=blue
83 [label="Enter when"];
subgraph cluster_20 {
color=blue
84 [label="Enter when branch condition "];
85 [label="Access variable R|<local>/b|"];
86 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
87 [label="Enter when branch condition else"];
88 [label="Exit when branch condition"];
}
89 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/x|"];
92 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
93 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
94 [label="Access variable R|<local>/x|"];
95 [label="Smart cast: R|<local>/x|"];
96 [label="Access variable R|kotlin/String.length|"];
97 [label="Exit block"];
}
98 [label="Exit when branch result"];
99 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
100 [label="Enter block"];
101 [label="Access variable R|<local>/x|"];
102 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
103 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
104 [label="Access variable R|<local>/x|"];
105 [label="Smart cast: R|<local>/x|"];
106 [label="Access variable R|kotlin/String.length|"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
110 [label="Access variable R|<local>/x|"];
111 [label="Smart cast: R|<local>/x|"];
112 [label="Access variable R|kotlin/String.length|"];
113 [label="Exit block"];
}
114 [label="Exit function test_6" style="filled" fillcolor=red];
}
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87 99};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
subgraph cluster_23 {
color=red
93 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
94 [label="Enter block"];
subgraph cluster_25 {
color=blue
95 [label="Enter when"];
subgraph cluster_26 {
color=blue
96 [label="Enter when branch condition "];
97 [label="Access variable R|<local>/b|"];
98 [label="Exit when branch condition"];
}
subgraph cluster_27 {
color=blue
99 [label="Enter when branch condition else"];
100 [label="Exit when branch condition"];
}
101 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
102 [label="Enter block"];
subgraph cluster_29 {
color=blue
103 [label="Function call arguments enter"];
104 [label="Access variable R|<local>/x|"];
105 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
106 [label="Function call arguments exit"];
}
107 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
108 [label="Access variable R|<local>/x|"];
109 [label="Smart cast: R|<local>/x|"];
110 [label="Access variable R|kotlin/String.length|"];
111 [label="Exit block"];
}
112 [label="Exit when branch result"];
113 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
114 [label="Enter block"];
subgraph cluster_31 {
color=blue
115 [label="Function call arguments enter"];
116 [label="Access variable R|<local>/x|"];
117 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
118 [label="Function call arguments exit"];
}
119 [label="Function call: R|kotlin/require|(...)" style="filled" fillcolor=yellow];
120 [label="Access variable R|<local>/x|"];
121 [label="Smart cast: R|<local>/x|"];
122 [label="Access variable R|kotlin/String.length|"];
123 [label="Exit block"];
}
124 [label="Exit when branch result"];
125 [label="Exit when"];
}
126 [label="Access variable R|<local>/x|"];
127 [label="Smart cast: R|<local>/x|"];
128 [label="Access variable R|kotlin/String.length|"];
129 [label="Exit block"];
}
130 [label="Exit function test_6" style="filled" fillcolor=red];
}
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {109};
98 -> {99 113};
99 -> {100};
100 -> {101};
101 -> {102};
@@ -302,7 +342,23 @@ digraph conditionalEffects_kt {
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
112 -> {125};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
}