[FIR] Don't pass flow from inplace lambdas throw when and elvis expressions
#KT-39080 Fixed
This commit is contained in:
+70
-73
@@ -61,14 +61,14 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
23 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
32 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
34 [label="Enter block"];
|
||||
35 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||
36 [label="Exit block"];
|
||||
33 [label="Enter block"];
|
||||
34 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||
35 [label="Exit block"];
|
||||
}
|
||||
37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
36 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
24 [label="Postponed exit from lambda"];
|
||||
25 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||
@@ -77,11 +77,10 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
27 [label="Exit when branch result"];
|
||||
28 [label="Exit when"];
|
||||
}
|
||||
29 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
30 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
31 [label="Exit block"];
|
||||
29 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
32 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
31 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
@@ -98,7 +97,7 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
20 -> {28};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {33};
|
||||
23 -> {32};
|
||||
23 -> {24} [color=red];
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
@@ -107,78 +106,77 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {29} [color=red];
|
||||
37 -> {24} [color=green];
|
||||
36 -> {24} [color=green];
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
38 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
37 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
39 [label="Enter block"];
|
||||
38 [label="Enter block"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
40 [label="Try expression enter"];
|
||||
39 [label="Try expression enter"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
41 [label="Try main block enter"];
|
||||
40 [label="Try main block enter"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
42 [label="Enter block"];
|
||||
43 [label="Postponed enter to lambda"];
|
||||
41 [label="Enter block"];
|
||||
42 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
57 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
59 [label="Enter block"];
|
||||
60 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||
61 [label="Exit block"];
|
||||
58 [label="Enter block"];
|
||||
59 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||
60 [label="Exit block"];
|
||||
}
|
||||
62 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
44 [label="Postponed exit from lambda"];
|
||||
45 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||
46 [label="Exit block"];
|
||||
43 [label="Postponed exit from lambda"];
|
||||
44 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||
45 [label="Exit block"];
|
||||
}
|
||||
47 [label="Try main block exit"];
|
||||
46 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
48 [label="Catch enter"];
|
||||
47 [label="Catch enter"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Const: String()"];
|
||||
51 [label="Exit block"];
|
||||
48 [label="Enter block"];
|
||||
49 [label="Const: String()"];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
52 [label="Catch exit"];
|
||||
51 [label="Catch exit"];
|
||||
}
|
||||
53 [label="Try expression exit"];
|
||||
52 [label="Try expression exit"];
|
||||
}
|
||||
54 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
55 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
56 [label="Exit block"];
|
||||
53 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
54 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
57 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
56 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {57 48 42};
|
||||
42 -> {43};
|
||||
43 -> {58};
|
||||
43 -> {44} [color=red];
|
||||
40 -> {56 47 41};
|
||||
41 -> {42};
|
||||
42 -> {57};
|
||||
42 -> {43} [color=red];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {53};
|
||||
48 -> {57 49};
|
||||
46 -> {52};
|
||||
47 -> {56 48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
@@ -186,56 +184,55 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {54} [color=red];
|
||||
62 -> {44} [color=green];
|
||||
61 -> {53} [color=red];
|
||||
61 -> {43} [color=green];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
63 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
62 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
64 [label="Enter block"];
|
||||
65 [label="Postponed enter to lambda"];
|
||||
63 [label="Enter block"];
|
||||
64 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
73 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
74 [label="Enter block"];
|
||||
75 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
|
||||
76 [label="Exit block"];
|
||||
73 [label="Enter block"];
|
||||
74 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
|
||||
75 [label="Exit block"];
|
||||
}
|
||||
77 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
76 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
66 [label="Postponed exit from lambda"];
|
||||
67 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
|
||||
68 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
|
||||
69 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
70 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
71 [label="Exit block"];
|
||||
65 [label="Postponed exit from lambda"];
|
||||
66 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
|
||||
67 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
|
||||
68 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
69 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
70 [label="Exit block"];
|
||||
}
|
||||
72 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
71 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {73};
|
||||
65 -> {66} [color=red];
|
||||
64 -> {72};
|
||||
64 -> {65} [color=red];
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {69} [color=red];
|
||||
77 -> {66} [color=green];
|
||||
76 -> {68} [color=red];
|
||||
76 -> {65} [color=green];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user