[FIR] Rewind DFA after call arguments for correct receiver smartcasting
^KT-63709 Fixed
This commit is contained in:
@@ -30,38 +30,45 @@ digraph postponedLambdas_kt {
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
7 [label="Enter block"];
|
||||
8 [label="Access variable R|<local>/a|"];
|
||||
9 [label="Access variable R|<local>/b|"];
|
||||
10 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
11 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
8 [label="Function call arguments enter"];
|
||||
9 [label="Access variable R|<local>/a|"];
|
||||
10 [label="Access variable R|<local>/b|"];
|
||||
11 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: String()"];
|
||||
14 [label="Exit block"];
|
||||
12 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Const: String()"];
|
||||
15 [label="Exit block"];
|
||||
}
|
||||
16 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
15 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
17 [label="Function call arguments exit"];
|
||||
}
|
||||
16 [label="Postponed exit from lambda"];
|
||||
17 [label="Function call: R|/foo|(...)" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit block"];
|
||||
18 [label="Postponed exit from lambda"];
|
||||
19 [label="Function call: R|/foo|(...)" style="filled" fillcolor=yellow];
|
||||
20 [label="Exit block"];
|
||||
}
|
||||
19 [label="Exit function test" style="filled" fillcolor=red];
|
||||
21 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11 16 17};
|
||||
10 -> {11} [style=dashed];
|
||||
11 -> {12};
|
||||
10 -> {11};
|
||||
11 -> {12 17 18};
|
||||
11 -> {12} [style=dashed];
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
15 -> {16};
|
||||
17 -> {19};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user