Files
Brian Norman b2041e0927 [FIR] Disable data flow from in-place lambdas
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
2023-12-14 16:40:27 +00:00

293 lines
10 KiB
Plaintext
Vendored

digraph inPlaceLambdas_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file inPlaceLambdas.kt" style="filled" fillcolor=red];
1 [label="Exit file inPlaceLambdas.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
subgraph cluster_4 {
color=red
8 [label="Enter function bar" style="filled" fillcolor=red];
9 [label="Exit function bar" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_5 {
color=red
10 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
11 [label="Enter block"];
subgraph cluster_7 {
color=blue
12 [label="Enter when"];
subgraph cluster_8 {
color=blue
13 [label="Enter when branch condition "];
14 [label="Access variable R|<local>/x|"];
15 [label="Type operator: (R|<local>/x| is R|A|)"];
16 [label="Exit when branch condition"];
}
17 [label="Synthetic else branch"];
18 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
subgraph cluster_10 {
color=blue
20 [label="Function call arguments enter"];
21 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
22 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
23 [label="Enter block"];
subgraph cluster_13 {
color=blue
24 [label="Function call arguments enter"];
25 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"];
27 [label="Function call arguments exit"];
}
28 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
29 [label="Exit block"];
}
30 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
31 [label="Function call arguments exit"];
}
32 [label="Postponed exit from lambda"];
33 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
34 [label="Exit block"];
}
35 [label="Exit when branch result"];
36 [label="Exit when"];
}
37 [label="Exit block"];
}
38 [label="Exit function test_1" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17 18};
17 -> {36};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22 31};
21 -> {32} [style=dotted];
21 -> {22} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {32};
31 -> {33};
32 -> {33} [label="Postponed"];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
subgraph cluster_14 {
color=red
39 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
40 [label="Enter block"];
subgraph cluster_16 {
color=blue
41 [label="Function call arguments enter"];
42 [label="Postponed enter to lambda"];
subgraph cluster_17 {
color=blue
43 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as R|B|)"];
47 [label="Exit block"];
}
48 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
49 [label="Function call arguments exit"];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_19 {
color=blue
52 [label="Function call arguments enter"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call arguments exit"];
}
55 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
56 [label="Exit block"];
}
57 [label="Exit function test_2" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43 49};
42 -> {50} [style=dotted];
42 -> {43} [style=dashed];
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {50};
49 -> {51};
50 -> {51} [label="Postponed"];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
subgraph cluster_20 {
color=red
58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
59 [label="Enter block"];
subgraph cluster_22 {
color=blue
60 [label="Enter when"];
subgraph cluster_23 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/x|"];
63 [label="Type operator: (R|<local>/x| is R|A|)"];
64 [label="Exit when branch condition"];
}
65 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
67 [label="Enter block"];
subgraph cluster_25 {
color=blue
68 [label="Function call arguments enter"];
69 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
70 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
71 [label="Enter block"];
subgraph cluster_28 {
color=blue
72 [label="Function call arguments enter"];
73 [label="Access variable R|<local>/x|"];
74 [label="Smart cast: R|<local>/x|"];
75 [label="Function call arguments exit"];
}
76 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
77 [label="Access variable R|<local>/x|"];
78 [label="Smart cast: R|<local>/x|"];
79 [label="Type operator: (R|<local>/x| as R|B|)"];
80 [label="Exit block"];
}
81 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
82 [label="Function call arguments exit"];
}
83 [label="Postponed exit from lambda"];
84 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_29 {
color=blue
85 [label="Function call arguments enter"];
86 [label="Access variable R|<local>/x|"];
87 [label="Smart cast: R|<local>/x|"];
88 [label="Function call arguments exit"];
}
89 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
90 [label="Exit block"];
}
91 [label="Exit when branch result"];
92 [label="Exit when"];
}
93 [label="Exit block"];
}
94 [label="Exit function test_3" style="filled" fillcolor=red];
}
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65 66};
65 -> {92};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70 82};
69 -> {83} [style=dotted];
69 -> {70} [style=dashed];
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {83};
82 -> {84};
83 -> {84} [label="Postponed"];
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
}