Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts/tryWithLambdaInside.dot
T
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

241 lines
8.4 KiB
Plaintext
Vendored

digraph tryWithLambdaInside_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file tryWithLambdaInside.kt" style="filled" fillcolor=red];
1 [label="Exit file tryWithLambdaInside.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function notInPlaceFilter" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Access variable this@R|/notInPlaceFilter|"];
5 [label="Jump: ^notInPlaceFilter this@R|/notInPlaceFilter|"];
6 [label="Stub" style="filled" fillcolor=gray];
7 [label="Exit block" style="filled" fillcolor=gray];
}
8 [label="Exit function notInPlaceFilter" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {8};
5 -> {6} [style=dotted];
6 -> {7} [style=dotted];
7 -> {8} [style=dotted];
subgraph cluster_3 {
color=red
9 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Exit block"];
}
12 [label="Exit function foo" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
11 -> {12};
subgraph cluster_5 {
color=red
13 [label="Enter function testInPlace" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
14 [label="Enter block"];
subgraph cluster_7 {
color=blue
15 [label="Try expression enter"];
subgraph cluster_8 {
color=blue
16 [label="Try main block enter"];
subgraph cluster_9 {
color=blue
17 [label="Enter block"];
subgraph cluster_10 {
color=blue
18 [label="Function call arguments enter"];
19 [label="Access variable R|<local>/list|"];
20 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
21 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_12 {
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];
}
26 [label="Function call arguments exit"];
}
27 [label="Postponed exit from lambda"];
28 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)" style="filled" fillcolor=yellow];
29 [label="Exit block"];
}
30 [label="Try main block exit"];
}
subgraph cluster_13 {
color=blue
31 [label="Enter finally"];
subgraph cluster_14 {
color=blue
32 [label="Enter block"];
33 [label="Exit block"];
}
34 [label="Exit finally"];
}
35 [label="Try expression exit"];
}
36 [label="Jump: ^testInPlace try {
R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <inline=Inline, kind=UNKNOWN> {
^ R|<local>/it|
}
)
}
finally {
}
"];
37 [label="Stub" style="filled" fillcolor=gray];
38 [label="Exit block" style="filled" fillcolor=gray];
}
39 [label="Exit function testInPlace" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {16};
15 -> {31} [label="onUncaughtException"];
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21 26 27};
20 -> {21} [style=dashed];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {27};
26 -> {28};
27 -> {20} [color=green style=dashed];
27 -> {28} [color=green];
27 -> {35} [color=red label="Postponed"];
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {39};
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
subgraph cluster_15 {
color=red
40 [label="Enter function testNotInPlace" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
41 [label="Enter block"];
subgraph cluster_17 {
color=blue
42 [label="Try expression enter"];
subgraph cluster_18 {
color=blue
43 [label="Try main block enter"];
subgraph cluster_19 {
color=blue
44 [label="Enter block"];
subgraph cluster_20 {
color=blue
45 [label="Function call arguments enter"];
46 [label="Access variable R|<local>/list|"];
47 [label="Postponed enter to lambda"];
subgraph cluster_21 {
color=blue
48 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/it|"];
51 [label="Exit block"];
}
52 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
53 [label="Function call arguments exit"];
}
54 [label="Postponed exit from lambda"];
55 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)" style="filled" fillcolor=yellow];
56 [label="Exit block"];
}
57 [label="Try main block exit"];
}
subgraph cluster_23 {
color=blue
58 [label="Enter finally"];
subgraph cluster_24 {
color=blue
59 [label="Enter block"];
60 [label="Exit block"];
}
61 [label="Exit finally"];
}
62 [label="Try expression exit"];
}
63 [label="Jump: ^testNotInPlace try {
R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <inline=NoInline> {
^ R|<local>/it|
}
)
}
finally {
}
"];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Exit block" style="filled" fillcolor=gray];
}
66 [label="Exit function testNotInPlace" style="filled" fillcolor=red];
}
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {58} [label="onUncaughtException"];
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 53 54};
47 -> {48} [style=dashed];
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
53 -> {55};
54 -> {55} [color=green];
54 -> {62} [color=red label="Postponed"];
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {66};
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
}