b2041e0927
There are many complications with the current design of passing data from within in-place lambdas to surrounding code. Solving these complications will involve more time to investigation than is available within the K2 release. So we are disabling passing type statement information from lambdas for the time being until more time can be devoted to a more complete solution. ^KT-60958 Fixed ^KT-63530 Fixed
586 lines
22 KiB
Plaintext
Vendored
586 lines
22 KiB
Plaintext
Vendored
digraph localClassesWithImplicit_kt {
|
|
graph [nodesep=3]
|
|
node [shape=box penwidth=2]
|
|
edge [penwidth=2]
|
|
|
|
subgraph cluster_0 {
|
|
color=red
|
|
0 [label="Enter file localClassesWithImplicit.kt" style="filled" fillcolor=red];
|
|
1 [label="Exit file localClassesWithImplicit.kt" style="filled" fillcolor=red];
|
|
}
|
|
0 -> {1} [color=green];
|
|
|
|
subgraph cluster_1 {
|
|
color=red
|
|
2 [label="Enter function myRun" style="filled" fillcolor=red];
|
|
subgraph cluster_2 {
|
|
color=blue
|
|
3 [label="Enter block"];
|
|
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|T|>|()" style="filled" fillcolor=yellow];
|
|
7 [label="Jump: ^myRun R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
|
|
8 [label="Stub" style="filled" fillcolor=gray];
|
|
9 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
10 [label="Exit function myRun" style="filled" fillcolor=red];
|
|
}
|
|
2 -> {3};
|
|
3 -> {4};
|
|
4 -> {5};
|
|
5 -> {6};
|
|
6 -> {7};
|
|
7 -> {10};
|
|
7 -> {8} [style=dotted];
|
|
8 -> {9} [style=dotted];
|
|
9 -> {10} [style=dotted];
|
|
|
|
subgraph cluster_4 {
|
|
color=red
|
|
11 [label="Enter function test" style="filled" fillcolor=red];
|
|
subgraph cluster_5 {
|
|
color=blue
|
|
12 [label="Enter block"];
|
|
subgraph cluster_6 {
|
|
color=blue
|
|
13 [label="Enter when"];
|
|
subgraph cluster_7 {
|
|
color=blue
|
|
14 [label="Enter when branch condition "];
|
|
15 [label="Access variable R|<local>/a|"];
|
|
16 [label="Type operator: (R|<local>/a| !is R|kotlin/String|)"];
|
|
17 [label="Exit when branch condition"];
|
|
}
|
|
18 [label="Synthetic else branch"];
|
|
19 [label="Enter when branch result"];
|
|
subgraph cluster_8 {
|
|
color=blue
|
|
20 [label="Enter block"];
|
|
21 [label="Jump: ^test Unit"];
|
|
22 [label="Stub" style="filled" fillcolor=gray];
|
|
23 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
24 [label="Exit when branch result" style="filled" fillcolor=gray];
|
|
25 [label="Exit when"];
|
|
}
|
|
26 [label="Local class declaration"];
|
|
27 [label="Enter anonymous object"];
|
|
subgraph cluster_9 {
|
|
color=blue
|
|
28 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
|
subgraph cluster_10 {
|
|
color=blue
|
|
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
|
30 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
|
31 [label="Exit function <init>" style="filled" fillcolor=red];
|
|
}
|
|
32 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
|
}
|
|
33 [label="Exit anonymous object expression"];
|
|
34 [label="Variable declaration: lval x: R|<anonymous>|"];
|
|
35 [label="Exit block"];
|
|
}
|
|
36 [label="Exit function test" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_11 {
|
|
color=blue
|
|
37 [label="Enter function baz" style="filled" fillcolor=red];
|
|
subgraph cluster_12 {
|
|
color=blue
|
|
38 [label="Enter block"];
|
|
39 [label="Const: Int(1)"];
|
|
40 [label="Jump: ^baz Int(1)"];
|
|
41 [label="Stub" style="filled" fillcolor=gray];
|
|
42 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
43 [label="Exit function baz" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_13 {
|
|
color=blue
|
|
44 [label="Enter function bar" style="filled" fillcolor=red];
|
|
subgraph cluster_14 {
|
|
color=blue
|
|
45 [label="Enter block"];
|
|
subgraph cluster_15 {
|
|
color=blue
|
|
46 [label="Function call arguments enter"];
|
|
47 [label="Postponed enter to lambda"];
|
|
subgraph cluster_16 {
|
|
color=blue
|
|
48 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
|
subgraph cluster_17 {
|
|
color=blue
|
|
49 [label="Enter block"];
|
|
50 [label="Access variable R|<local>/a|"];
|
|
51 [label="Smart cast: R|<local>/a|"];
|
|
52 [label="Access variable R|kotlin/String.length|"];
|
|
53 [label="Access variable R|<local>/b|"];
|
|
54 [label="Access variable <Unresolved name: length>#"];
|
|
subgraph cluster_18 {
|
|
color=blue
|
|
55 [label="Function call arguments enter"];
|
|
56 [label="Function call arguments exit"];
|
|
}
|
|
57 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow];
|
|
58 [label="Exit block"];
|
|
}
|
|
59 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
|
}
|
|
60 [label="Function call arguments exit"];
|
|
}
|
|
61 [label="Postponed exit from lambda"];
|
|
62 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
|
63 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
|
R|<local>/a|.R|kotlin/String.length|
|
|
R|<local>/b|.<Unresolved name: length>#
|
|
^ this@R|/<anonymous>|.R|/<anonymous>.baz|()
|
|
}
|
|
)"];
|
|
64 [label="Stub" style="filled" fillcolor=gray];
|
|
65 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
66 [label="Exit function bar" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_19 {
|
|
color=blue
|
|
67 [label="Enter function foo" style="filled" fillcolor=red];
|
|
subgraph cluster_20 {
|
|
color=blue
|
|
68 [label="Enter block"];
|
|
subgraph cluster_21 {
|
|
color=blue
|
|
69 [label="Function call arguments enter"];
|
|
70 [label="Postponed enter to lambda"];
|
|
subgraph cluster_22 {
|
|
color=blue
|
|
71 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
|
subgraph cluster_23 {
|
|
color=blue
|
|
72 [label="Enter block"];
|
|
73 [label="Access variable R|<local>/a|"];
|
|
74 [label="Smart cast: R|<local>/a|"];
|
|
75 [label="Access variable R|kotlin/String.length|"];
|
|
subgraph cluster_24 {
|
|
color=blue
|
|
76 [label="Enter when"];
|
|
subgraph cluster_25 {
|
|
color=blue
|
|
77 [label="Enter when branch condition "];
|
|
78 [label="Access variable R|<local>/b|"];
|
|
79 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
|
80 [label="Exit when branch condition"];
|
|
}
|
|
subgraph cluster_26 {
|
|
color=blue
|
|
81 [label="Enter when branch condition else"];
|
|
82 [label="Exit when branch condition"];
|
|
}
|
|
83 [label="Enter when branch result"];
|
|
subgraph cluster_27 {
|
|
color=blue
|
|
84 [label="Enter block"];
|
|
85 [label="Const: Int(1)"];
|
|
86 [label="Exit block"];
|
|
}
|
|
87 [label="Exit when branch result"];
|
|
88 [label="Enter when branch result"];
|
|
subgraph cluster_28 {
|
|
color=blue
|
|
89 [label="Enter block"];
|
|
90 [label="Access variable R|<local>/b|"];
|
|
91 [label="Smart cast: R|<local>/b|"];
|
|
92 [label="Access variable R|kotlin/String.length|"];
|
|
subgraph cluster_29 {
|
|
color=blue
|
|
93 [label="Function call arguments enter"];
|
|
94 [label="Function call arguments exit"];
|
|
}
|
|
95 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.bar|()" style="filled" fillcolor=yellow];
|
|
96 [label="Exit block"];
|
|
}
|
|
97 [label="Exit when branch result"];
|
|
98 [label="Exit when"];
|
|
}
|
|
99 [label="Exit block"];
|
|
}
|
|
100 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
|
}
|
|
101 [label="Function call arguments exit"];
|
|
}
|
|
102 [label="Postponed exit from lambda"];
|
|
103 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
|
104 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
|
R|<local>/a|.R|kotlin/String.length|
|
|
^ when () {
|
|
(R|<local>/b| is R|kotlin/String|) -> {
|
|
R|<local>/b|.R|kotlin/String.length|
|
|
this@R|/<anonymous>|.R|/<anonymous>.bar|()
|
|
}
|
|
else -> {
|
|
Int(1)
|
|
}
|
|
}
|
|
|
|
}
|
|
)"];
|
|
105 [label="Stub" style="filled" fillcolor=gray];
|
|
106 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
107 [label="Exit function foo" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_30 {
|
|
color=blue
|
|
108 [label="Enter class A" style="filled" fillcolor=red];
|
|
subgraph cluster_31 {
|
|
color=blue
|
|
109 [label="Enter function <init>" style="filled" fillcolor=red];
|
|
110 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
|
111 [label="Exit function <init>" style="filled" fillcolor=red];
|
|
}
|
|
112 [label="Exit class A" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_32 {
|
|
color=blue
|
|
113 [label="Enter function baz" style="filled" fillcolor=red];
|
|
subgraph cluster_33 {
|
|
color=blue
|
|
114 [label="Enter block"];
|
|
115 [label="Const: Int(1)"];
|
|
116 [label="Jump: ^baz Int(1)"];
|
|
117 [label="Stub" style="filled" fillcolor=gray];
|
|
118 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
119 [label="Exit function baz" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_34 {
|
|
color=blue
|
|
120 [label="Enter function bar" style="filled" fillcolor=red];
|
|
subgraph cluster_35 {
|
|
color=blue
|
|
121 [label="Enter block"];
|
|
subgraph cluster_36 {
|
|
color=blue
|
|
122 [label="Function call arguments enter"];
|
|
123 [label="Postponed enter to lambda"];
|
|
subgraph cluster_37 {
|
|
color=blue
|
|
124 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
|
subgraph cluster_38 {
|
|
color=blue
|
|
125 [label="Enter block"];
|
|
126 [label="Access variable R|<local>/b|"];
|
|
127 [label="Access variable <Unresolved name: length>#"];
|
|
128 [label="Access variable R|<local>/a|"];
|
|
129 [label="Smart cast: R|<local>/a|"];
|
|
130 [label="Access variable R|kotlin/String.length|"];
|
|
subgraph cluster_39 {
|
|
color=blue
|
|
131 [label="Function call arguments enter"];
|
|
132 [label="Function call arguments exit"];
|
|
}
|
|
133 [label="Function call: this@R|<local>/A|.R|<local>/baz|()" style="filled" fillcolor=yellow];
|
|
134 [label="Exit block"];
|
|
}
|
|
135 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
|
}
|
|
136 [label="Function call arguments exit"];
|
|
}
|
|
137 [label="Postponed exit from lambda"];
|
|
138 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
|
139 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
|
R|<local>/b|.<Unresolved name: length>#
|
|
R|<local>/a|.R|kotlin/String.length|
|
|
^ this@R|<local>/A|.R|<local>/baz|()
|
|
}
|
|
)"];
|
|
140 [label="Stub" style="filled" fillcolor=gray];
|
|
141 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
142 [label="Exit function bar" style="filled" fillcolor=red];
|
|
}
|
|
subgraph cluster_40 {
|
|
color=blue
|
|
143 [label="Enter function foo" style="filled" fillcolor=red];
|
|
subgraph cluster_41 {
|
|
color=blue
|
|
144 [label="Enter block"];
|
|
subgraph cluster_42 {
|
|
color=blue
|
|
145 [label="Function call arguments enter"];
|
|
146 [label="Postponed enter to lambda"];
|
|
subgraph cluster_43 {
|
|
color=blue
|
|
147 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
|
subgraph cluster_44 {
|
|
color=blue
|
|
148 [label="Enter block"];
|
|
149 [label="Access variable R|<local>/a|"];
|
|
150 [label="Smart cast: R|<local>/a|"];
|
|
151 [label="Access variable R|kotlin/String.length|"];
|
|
subgraph cluster_45 {
|
|
color=blue
|
|
152 [label="Enter when"];
|
|
subgraph cluster_46 {
|
|
color=blue
|
|
153 [label="Enter when branch condition "];
|
|
154 [label="Access variable R|<local>/b|"];
|
|
155 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
|
156 [label="Exit when branch condition"];
|
|
}
|
|
subgraph cluster_47 {
|
|
color=blue
|
|
157 [label="Enter when branch condition else"];
|
|
158 [label="Exit when branch condition"];
|
|
}
|
|
159 [label="Enter when branch result"];
|
|
subgraph cluster_48 {
|
|
color=blue
|
|
160 [label="Enter block"];
|
|
161 [label="Const: Int(1)"];
|
|
162 [label="Exit block"];
|
|
}
|
|
163 [label="Exit when branch result"];
|
|
164 [label="Enter when branch result"];
|
|
subgraph cluster_49 {
|
|
color=blue
|
|
165 [label="Enter block"];
|
|
166 [label="Access variable R|<local>/b|"];
|
|
167 [label="Smart cast: R|<local>/b|"];
|
|
168 [label="Access variable R|kotlin/String.length|"];
|
|
subgraph cluster_50 {
|
|
color=blue
|
|
169 [label="Function call arguments enter"];
|
|
170 [label="Function call arguments exit"];
|
|
}
|
|
171 [label="Function call: this@R|<local>/A|.R|<local>/bar|()" style="filled" fillcolor=yellow];
|
|
172 [label="Exit block"];
|
|
}
|
|
173 [label="Exit when branch result"];
|
|
174 [label="Exit when"];
|
|
}
|
|
175 [label="Exit block"];
|
|
}
|
|
176 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
|
}
|
|
177 [label="Function call arguments exit"];
|
|
}
|
|
178 [label="Postponed exit from lambda"];
|
|
179 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
|
180 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
|
R|<local>/a|.R|kotlin/String.length|
|
|
^ when () {
|
|
(R|<local>/b| is R|kotlin/String|) -> {
|
|
R|<local>/b|.R|kotlin/String.length|
|
|
this@R|<local>/A|.R|<local>/bar|()
|
|
}
|
|
else -> {
|
|
Int(1)
|
|
}
|
|
}
|
|
|
|
}
|
|
)"];
|
|
181 [label="Stub" style="filled" fillcolor=gray];
|
|
182 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
183 [label="Exit function foo" style="filled" fillcolor=red];
|
|
}
|
|
11 -> {12};
|
|
12 -> {13};
|
|
13 -> {14};
|
|
14 -> {15};
|
|
15 -> {16};
|
|
16 -> {17};
|
|
17 -> {18 19};
|
|
18 -> {25};
|
|
19 -> {20};
|
|
20 -> {21};
|
|
21 -> {36};
|
|
21 -> {22} [style=dotted];
|
|
22 -> {23} [style=dotted];
|
|
23 -> {24} [style=dotted];
|
|
24 -> {25} [style=dotted];
|
|
25 -> {26};
|
|
26 -> {27 108};
|
|
26 -> {108} [style=dashed];
|
|
27 -> {28};
|
|
27 -> {33} [style=dotted];
|
|
27 -> {28} [style=dashed];
|
|
28 -> {29};
|
|
28 -> {37 44 67} [color=red];
|
|
28 -> {32} [style=dotted];
|
|
28 -> {29} [style=dashed];
|
|
29 -> {30};
|
|
30 -> {31};
|
|
31 -> {32};
|
|
32 -> {33};
|
|
32 -> {37 44 67} [color=green];
|
|
32 -> {37 44 67} [style=dashed];
|
|
33 -> {34};
|
|
34 -> {35};
|
|
35 -> {36};
|
|
37 -> {38};
|
|
38 -> {39};
|
|
39 -> {40};
|
|
40 -> {43};
|
|
40 -> {41} [style=dotted];
|
|
41 -> {42} [style=dotted];
|
|
42 -> {43} [style=dotted];
|
|
44 -> {45};
|
|
45 -> {46};
|
|
46 -> {47};
|
|
47 -> {48 60 61};
|
|
47 -> {48} [style=dashed];
|
|
48 -> {49};
|
|
49 -> {50};
|
|
50 -> {51};
|
|
51 -> {52};
|
|
52 -> {53};
|
|
53 -> {54};
|
|
54 -> {55};
|
|
55 -> {56};
|
|
56 -> {57};
|
|
57 -> {58};
|
|
58 -> {59};
|
|
59 -> {61};
|
|
60 -> {62};
|
|
61 -> {47} [color=green style=dashed];
|
|
61 -> {62} [label="Postponed"];
|
|
62 -> {63};
|
|
63 -> {66};
|
|
63 -> {64} [style=dotted];
|
|
64 -> {65} [style=dotted];
|
|
65 -> {66} [style=dotted];
|
|
67 -> {68};
|
|
68 -> {69};
|
|
69 -> {70};
|
|
70 -> {71 101 102};
|
|
70 -> {71} [style=dashed];
|
|
71 -> {72};
|
|
72 -> {73};
|
|
73 -> {74};
|
|
74 -> {75};
|
|
75 -> {76};
|
|
76 -> {77};
|
|
77 -> {78};
|
|
78 -> {79};
|
|
79 -> {80};
|
|
80 -> {81 88};
|
|
81 -> {82};
|
|
82 -> {83};
|
|
83 -> {84};
|
|
84 -> {85};
|
|
85 -> {86};
|
|
86 -> {87};
|
|
87 -> {98};
|
|
88 -> {89};
|
|
89 -> {90};
|
|
90 -> {91};
|
|
91 -> {92};
|
|
92 -> {93};
|
|
93 -> {94};
|
|
94 -> {95};
|
|
95 -> {96};
|
|
96 -> {97};
|
|
97 -> {98};
|
|
98 -> {99};
|
|
99 -> {100};
|
|
100 -> {102};
|
|
101 -> {103};
|
|
102 -> {70} [color=green style=dashed];
|
|
102 -> {103} [label="Postponed"];
|
|
103 -> {104};
|
|
104 -> {107};
|
|
104 -> {105} [style=dotted];
|
|
105 -> {106} [style=dotted];
|
|
106 -> {107} [style=dotted];
|
|
108 -> {109};
|
|
108 -> {113 120 143} [color=red];
|
|
108 -> {112} [style=dotted];
|
|
108 -> {109} [style=dashed];
|
|
109 -> {110};
|
|
110 -> {111};
|
|
111 -> {112} [color=green];
|
|
112 -> {113 120 143} [color=green];
|
|
112 -> {113 120 143} [style=dashed];
|
|
113 -> {114};
|
|
114 -> {115};
|
|
115 -> {116};
|
|
116 -> {119};
|
|
116 -> {117} [style=dotted];
|
|
117 -> {118} [style=dotted];
|
|
118 -> {119} [style=dotted];
|
|
120 -> {121};
|
|
121 -> {122};
|
|
122 -> {123};
|
|
123 -> {124 136 137};
|
|
123 -> {124} [style=dashed];
|
|
124 -> {125};
|
|
125 -> {126};
|
|
126 -> {127};
|
|
127 -> {128};
|
|
128 -> {129};
|
|
129 -> {130};
|
|
130 -> {131};
|
|
131 -> {132};
|
|
132 -> {133};
|
|
133 -> {134};
|
|
134 -> {135};
|
|
135 -> {137};
|
|
136 -> {138};
|
|
137 -> {123} [color=green style=dashed];
|
|
137 -> {138} [label="Postponed"];
|
|
138 -> {139};
|
|
139 -> {142};
|
|
139 -> {140} [style=dotted];
|
|
140 -> {141} [style=dotted];
|
|
141 -> {142} [style=dotted];
|
|
143 -> {144};
|
|
144 -> {145};
|
|
145 -> {146};
|
|
146 -> {147 177 178};
|
|
146 -> {147} [style=dashed];
|
|
147 -> {148};
|
|
148 -> {149};
|
|
149 -> {150};
|
|
150 -> {151};
|
|
151 -> {152};
|
|
152 -> {153};
|
|
153 -> {154};
|
|
154 -> {155};
|
|
155 -> {156};
|
|
156 -> {157 164};
|
|
157 -> {158};
|
|
158 -> {159};
|
|
159 -> {160};
|
|
160 -> {161};
|
|
161 -> {162};
|
|
162 -> {163};
|
|
163 -> {174};
|
|
164 -> {165};
|
|
165 -> {166};
|
|
166 -> {167};
|
|
167 -> {168};
|
|
168 -> {169};
|
|
169 -> {170};
|
|
170 -> {171};
|
|
171 -> {172};
|
|
172 -> {173};
|
|
173 -> {174};
|
|
174 -> {175};
|
|
175 -> {176};
|
|
176 -> {178};
|
|
177 -> {179};
|
|
178 -> {146} [color=green style=dashed];
|
|
178 -> {179} [label="Postponed"];
|
|
179 -> {180};
|
|
180 -> {183};
|
|
180 -> {181} [style=dotted];
|
|
181 -> {182} [style=dotted];
|
|
182 -> {183} [style=dotted];
|
|
|
|
}
|