FIR CFA: put primary constructor before other class members
This commit is contained in:
+25
-26
@@ -52,42 +52,41 @@ digraph smartCastInInit_kt {
|
||||
14 [label="Enter class Main" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
15 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Enter block"];
|
||||
17 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
|
||||
18 [label="Assignment: R|/Main.x|"];
|
||||
19 [label="Access variable R|/Main.x|"];
|
||||
20 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
|
||||
21 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
23 [label="Exit init block" style="filled" fillcolor=red];
|
||||
15 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
17 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
24 [label="Exit class Main" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
25 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
26 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
27 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
|
||||
21 [label="Assignment: R|/Main.x|"];
|
||||
22 [label="Access variable R|/Main.x|"];
|
||||
23 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
|
||||
24 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
27 [label="Exit class Main" style="filled" fillcolor=red];
|
||||
}
|
||||
14 -> {15} [color=green];
|
||||
14 -> {24} [style=dotted];
|
||||
14 -> {15} [style=dashed];
|
||||
14 -> {27} [style=dotted];
|
||||
14 -> {15 18} [style=dashed];
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
17 -> {18} [color=green];
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24} [color=green];
|
||||
24 -> {25} [color=green];
|
||||
24 -> {25} [style=dashed];
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
26 -> {27} [color=green];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user