FIR CFA: properly visit subgraphs in checkers
Interpretation: a graph A is a subgraph of B if information available at nodes of A depends on the paths taken in B. For example, local classes are subgraphs of a graph in which they are declared, and members of those classes are subgraphs of the local class itself - because these members can reference captured values. Consequences: * if graph G is a subgraph of node N, then G is a subgraph of N's owner; * `ControlFlowAnalysisDiagnosticComponent` will only visit root graphs; * `graph.traverse` will ignore subgraph boundaries, as if all subgraphs are inlined into one huge root graph; * if a control flow checker needs information from a declaration to which a graph is attached, it must look at subgraphs explicitly. For example, consider the `callsInPlace` checker. When a function has a `callsInPlace` contract and a local declaration, the checker must visit that local declaration to ensure it does not capture the allegedly called-in-place argument - hence `graph.traverse` will look at the nodes. However, the local declaration can also be a function with its own `callsInPlace` contracts, so the checker should also run for it in isolation. If that sounds quadratic, that's because unfortunately it is.
This commit is contained in:
@@ -57,6 +57,12 @@ digraph annotatedLocalClass_kt {
|
||||
23 [label="Enter class Local" style="filled" fillcolor=red];
|
||||
24 [label="Exit class Local" 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];
|
||||
}
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
@@ -79,13 +85,6 @@ digraph annotatedLocalClass_kt {
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
23 -> {24} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
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];
|
||||
}
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
|
||||
+39
-41
@@ -13,34 +13,33 @@ digraph initBlock_kt {
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
4 [label="Enter block"];
|
||||
5 [label="Const: Int(1)"];
|
||||
6 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
7 [label="Exit block"];
|
||||
}
|
||||
8 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {11} [color=green];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
9 [label="Enter class Foo" style="filled" fillcolor=red];
|
||||
10 [label="Part of class initialization"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
4 [label="Enter block"];
|
||||
5 [label="Const: Int(1)"];
|
||||
6 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
7 [label="Exit block"];
|
||||
}
|
||||
8 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
11 [label="Exit class Foo" style="filled" fillcolor=red];
|
||||
}
|
||||
9 -> {10} [color=green];
|
||||
10 -> {3} [color=green];
|
||||
10 -> {11} [style=dotted];
|
||||
10 -> {3} [style=dashed];
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {11} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
@@ -53,21 +52,31 @@ digraph initBlock_kt {
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
15 [label="Enter init block" style="filled" fillcolor=red];
|
||||
26 [label="Enter class Bar" style="filled" fillcolor=red];
|
||||
27 [label="Part of class initialization"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
16 [label="Enter block"];
|
||||
17 [label="Const: Int(1)"];
|
||||
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
19 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
20 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
21 [label="Stub" style="filled" fillcolor=gray];
|
||||
22 [label="Const: Int(2)" style="filled" fillcolor=gray];
|
||||
23 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
|
||||
24 [label="Exit block" style="filled" fillcolor=gray];
|
||||
15 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Enter block"];
|
||||
17 [label="Const: Int(1)"];
|
||||
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
19 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
20 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
21 [label="Stub" style="filled" fillcolor=gray];
|
||||
22 [label="Const: Int(2)" style="filled" fillcolor=gray];
|
||||
23 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
|
||||
24 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
25 [label="Exit init block" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
25 [label="Exit init block" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
28 [label="Exit class Bar" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
26 -> {27} [color=green];
|
||||
27 -> {15} [color=green];
|
||||
27 -> {28} [style=dotted];
|
||||
27 -> {15} [style=dashed];
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
@@ -80,15 +89,4 @@ digraph initBlock_kt {
|
||||
24 -> {25} [style=dotted];
|
||||
25 -> {28} [style=dotted];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
26 [label="Enter class Bar" style="filled" fillcolor=red];
|
||||
27 [label="Part of class initialization"];
|
||||
28 [label="Exit class Bar" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
26 -> {27} [color=green];
|
||||
27 -> {15} [color=green];
|
||||
27 -> {28} [style=dotted];
|
||||
27 -> {15} [style=dashed];
|
||||
|
||||
}
|
||||
|
||||
+29
-30
@@ -28,35 +28,45 @@ digraph initBlockAndInPlaceLambda_kt {
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
7 [label="Enter init block" style="filled" fillcolor=red];
|
||||
26 [label="Enter class C" style="filled" fillcolor=red];
|
||||
27 [label="Part of class initialization"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter block"];
|
||||
9 [label="Access variable R|<local>/a|"];
|
||||
10 [label="Access variable R|/A.b|"];
|
||||
11 [label="Enter safe call"];
|
||||
12 [label="Postponed enter to lambda"];
|
||||
7 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
8 [label="Enter block"];
|
||||
9 [label="Access variable R|<local>/a|"];
|
||||
10 [label="Access variable R|/A.b|"];
|
||||
11 [label="Enter safe call"];
|
||||
12 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter block"];
|
||||
21 [label="Access variable R|<local>/a|"];
|
||||
22 [label="Access variable R|<local>/it|"];
|
||||
23 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
|
||||
24 [label="Exit block"];
|
||||
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
20 [label="Enter block"];
|
||||
21 [label="Access variable R|<local>/a|"];
|
||||
22 [label="Access variable R|<local>/it|"];
|
||||
23 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
25 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
13 [label="Postponed exit from lambda"];
|
||||
14 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
|
||||
15 [label="Exit safe call"];
|
||||
16 [label="Variable declaration: lval c: R|C?|"];
|
||||
17 [label="Exit block"];
|
||||
}
|
||||
13 [label="Postponed exit from lambda"];
|
||||
14 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
|
||||
15 [label="Exit safe call"];
|
||||
16 [label="Variable declaration: lval c: R|C?|"];
|
||||
17 [label="Exit block"];
|
||||
18 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
18 [label="Exit init block" style="filled" fillcolor=red];
|
||||
28 [label="Exit class C" style="filled" fillcolor=red];
|
||||
}
|
||||
26 -> {27} [color=green];
|
||||
27 -> {7} [color=green];
|
||||
27 -> {28} [style=dotted];
|
||||
27 -> {7} [style=dashed];
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
@@ -79,15 +89,4 @@ digraph initBlockAndInPlaceLambda_kt {
|
||||
24 -> {25};
|
||||
25 -> {13};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
26 [label="Enter class C" style="filled" fillcolor=red];
|
||||
27 [label="Part of class initialization"];
|
||||
28 [label="Exit class C" style="filled" fillcolor=red];
|
||||
}
|
||||
26 -> {27} [color=green];
|
||||
27 -> {7} [color=green];
|
||||
27 -> {28} [style=dotted];
|
||||
27 -> {7} [style=dashed];
|
||||
|
||||
}
|
||||
|
||||
+13
-14
@@ -4,15 +4,6 @@ digraph innerClassInAnonymousObject_kt {
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
4 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
@@ -21,10 +12,10 @@ digraph innerClassInAnonymousObject_kt {
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_2 {
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
6 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
7 [label="Enter block"];
|
||||
8 [label="Exit block"];
|
||||
@@ -35,18 +26,18 @@ digraph innerClassInAnonymousObject_kt {
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
|
||||
subgraph cluster_4 {
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
10 [label="Enter class Nested" style="filled" fillcolor=red];
|
||||
11 [label="Exit class Nested" style="filled" fillcolor=red];
|
||||
}
|
||||
10 -> {11} [color=green];
|
||||
|
||||
subgraph cluster_5 {
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
14 [label="Enter property" style="filled" fillcolor=red];
|
||||
15 [label="Enter anonymous object"];
|
||||
subgraph cluster_6 {
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
13 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
@@ -55,6 +46,12 @@ digraph innerClassInAnonymousObject_kt {
|
||||
17 [label="Exit anonymous object expression"];
|
||||
18 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
14 -> {15};
|
||||
14 -> {0 3 6} [color=red];
|
||||
15 -> {12} [color=green];
|
||||
@@ -66,5 +63,7 @@ digraph innerClassInAnonymousObject_kt {
|
||||
17 -> {18};
|
||||
12 -> {13} [color=green];
|
||||
13 -> {16} [color=green];
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
}
|
||||
|
||||
+290
-298
@@ -56,8 +56,8 @@ digraph localClassesWithImplicit_kt {
|
||||
23 [label="Enter anonymous object"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
31 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
32 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
97 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
98 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
}
|
||||
24 [label="Exit anonymous object"];
|
||||
25 [label="Exit anonymous object expression"];
|
||||
@@ -68,290 +68,86 @@ digraph localClassesWithImplicit_kt {
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
29 [label="Enter class A" style="filled" fillcolor=red];
|
||||
30 [label="Exit class A" style="filled" fillcolor=red];
|
||||
158 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
159 [label="Enter block"];
|
||||
160 [label="Const: Int(1)"];
|
||||
161 [label="Jump: ^baz Int(1)"];
|
||||
162 [label="Stub" style="filled" fillcolor=gray];
|
||||
163 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
164 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14 15};
|
||||
14 -> {21};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {28};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
21 -> {33 36 73 92} [color=red];
|
||||
22 -> {23};
|
||||
22 -> {29 33 36 73 92} [color=green];
|
||||
22 -> {99 102 139 158} [color=red];
|
||||
22 -> {29 33 36 73 92} [style=dashed];
|
||||
23 -> {31} [color=green];
|
||||
23 -> {24} [color=red];
|
||||
23 -> {31} [style=dashed];
|
||||
24 -> {25};
|
||||
24 -> {99 102 139 158} [color=green];
|
||||
24 -> {99 102 139 158} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
29 -> {30} [color=green];
|
||||
31 -> {32} [color=green];
|
||||
32 -> {24} [color=green];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
33 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
34 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
35 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
36 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
color=blue
|
||||
139 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Postponed enter to lambda"];
|
||||
140 [label="Enter block"];
|
||||
141 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
45 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
148 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Access variable R|<local>/a|"];
|
||||
48 [label="Smart cast: R|<local>/a|"];
|
||||
49 [label="Access variable R|kotlin/String.length|"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
50 [label="Enter when"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
51 [label="Enter when branch condition "];
|
||||
52 [label="Access variable R|<local>/b|"];
|
||||
53 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
||||
54 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
55 [label="Enter when branch condition else"];
|
||||
56 [label="Exit when branch condition"];
|
||||
}
|
||||
57 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Const: Int(1)"];
|
||||
60 [label="Exit block"];
|
||||
}
|
||||
61 [label="Exit when branch result"];
|
||||
62 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
63 [label="Enter block"];
|
||||
64 [label="Access variable R|<local>/b|"];
|
||||
65 [label="Smart cast: R|<local>/b|"];
|
||||
66 [label="Access variable R|kotlin/String.length|"];
|
||||
67 [label="Function call: this@R|/A|.R|<local>/bar|()" style="filled" fillcolor=yellow];
|
||||
68 [label="Exit block"];
|
||||
}
|
||||
69 [label="Exit when branch result"];
|
||||
70 [label="Exit when"];
|
||||
}
|
||||
71 [label="Exit block"];
|
||||
149 [label="Enter block"];
|
||||
150 [label="Access variable R|<local>/a|"];
|
||||
151 [label="Smart cast: R|<local>/a|"];
|
||||
152 [label="Access variable R|kotlin/String.length|"];
|
||||
153 [label="Access variable R|<local>/b|"];
|
||||
154 [label="Access variable <Unresolved name: length>#"];
|
||||
155 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow];
|
||||
156 [label="Exit block"];
|
||||
}
|
||||
72 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
157 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
39 [label="Postponed exit from lambda"];
|
||||
40 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
41 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
142 [label="Postponed exit from lambda"];
|
||||
143 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
144 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
R|<local>/a|.R|kotlin/String.length|
|
||||
^ when () {
|
||||
(R|<local>/b| is R|kotlin/String|) -> {
|
||||
R|<local>/b|.R|kotlin/String.length|
|
||||
this@R|/A|.R|<local>/bar|()
|
||||
}
|
||||
else -> {
|
||||
Int(1)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
)"];
|
||||
42 [label="Stub" style="filled" fillcolor=gray];
|
||||
43 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
44 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39 40 45};
|
||||
38 -> {45} [style=dashed];
|
||||
39 -> {40};
|
||||
39 -> {38} [color=green style=dashed];
|
||||
40 -> {41};
|
||||
41 -> {44};
|
||||
41 -> {42} [style=dotted];
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {44} [style=dotted];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55 62};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {70};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {39};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
73 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
74 [label="Enter block"];
|
||||
75 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
82 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
83 [label="Enter block"];
|
||||
84 [label="Access variable R|<local>/b|"];
|
||||
85 [label="Access variable <Unresolved name: length>#"];
|
||||
86 [label="Access variable R|<local>/a|"];
|
||||
87 [label="Smart cast: R|<local>/a|"];
|
||||
88 [label="Access variable R|kotlin/String.length|"];
|
||||
89 [label="Function call: this@R|/A|.R|<local>/baz|()" style="filled" fillcolor=yellow];
|
||||
90 [label="Exit block"];
|
||||
}
|
||||
91 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
76 [label="Postponed exit from lambda"];
|
||||
77 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
78 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
R|<local>/b|.<Unresolved name: length>#
|
||||
R|<local>/a|.R|kotlin/String.length|
|
||||
^ this@R|/A|.R|<local>/baz|()
|
||||
^ this@R|/<anonymous>|.R|/<anonymous>.baz|()
|
||||
}
|
||||
)"];
|
||||
79 [label="Stub" style="filled" fillcolor=gray];
|
||||
80 [label="Exit block" style="filled" fillcolor=gray];
|
||||
145 [label="Stub" style="filled" fillcolor=gray];
|
||||
146 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
81 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
147 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76 77 82};
|
||||
75 -> {82} [style=dashed];
|
||||
76 -> {77};
|
||||
76 -> {75} [color=green style=dashed];
|
||||
77 -> {78};
|
||||
78 -> {81};
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {76};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
92 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
93 [label="Enter block"];
|
||||
94 [label="Const: Int(1)"];
|
||||
95 [label="Jump: ^baz Int(1)"];
|
||||
96 [label="Stub" style="filled" fillcolor=gray];
|
||||
97 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
98 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {98};
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
97 -> {98} [style=dotted];
|
||||
|
||||
subgraph cluster_25 {
|
||||
color=red
|
||||
99 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
100 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
101 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
|
||||
subgraph cluster_26 {
|
||||
color=red
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
102 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_27 {
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
103 [label="Enter block"];
|
||||
104 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_28 {
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
111 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_29 {
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
112 [label="Enter block"];
|
||||
113 [label="Access variable R|<local>/a|"];
|
||||
114 [label="Smart cast: R|<local>/a|"];
|
||||
115 [label="Access variable R|kotlin/String.length|"];
|
||||
subgraph cluster_30 {
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
116 [label="Enter when"];
|
||||
subgraph cluster_31 {
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
117 [label="Enter when branch condition "];
|
||||
118 [label="Access variable R|<local>/b|"];
|
||||
119 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
||||
120 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_32 {
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
121 [label="Enter when branch condition else"];
|
||||
122 [label="Exit when branch condition"];
|
||||
}
|
||||
123 [label="Enter when branch result"];
|
||||
subgraph cluster_33 {
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
124 [label="Enter block"];
|
||||
125 [label="Const: Int(1)"];
|
||||
@@ -359,7 +155,7 @@ digraph localClassesWithImplicit_kt {
|
||||
}
|
||||
127 [label="Exit when branch result"];
|
||||
128 [label="Enter when branch result"];
|
||||
subgraph cluster_34 {
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
129 [label="Enter block"];
|
||||
130 [label="Access variable R|<local>/b|"];
|
||||
@@ -396,6 +192,253 @@ digraph localClassesWithImplicit_kt {
|
||||
}
|
||||
110 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
99 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
100 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
101 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
29 [label="Enter class A" style="filled" fillcolor=red];
|
||||
30 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
90 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
91 [label="Enter block"];
|
||||
92 [label="Const: Int(1)"];
|
||||
93 [label="Jump: ^baz Int(1)"];
|
||||
94 [label="Stub" style="filled" fillcolor=gray];
|
||||
95 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
96 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
71 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
72 [label="Enter block"];
|
||||
73 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
80 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
81 [label="Enter block"];
|
||||
82 [label="Access variable R|<local>/b|"];
|
||||
83 [label="Access variable <Unresolved name: length>#"];
|
||||
84 [label="Access variable R|<local>/a|"];
|
||||
85 [label="Smart cast: R|<local>/a|"];
|
||||
86 [label="Access variable R|kotlin/String.length|"];
|
||||
87 [label="Function call: this@R|/A|.R|<local>/baz|()" style="filled" fillcolor=yellow];
|
||||
88 [label="Exit block"];
|
||||
}
|
||||
89 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
74 [label="Postponed exit from lambda"];
|
||||
75 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
76 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
R|<local>/b|.<Unresolved name: length>#
|
||||
R|<local>/a|.R|kotlin/String.length|
|
||||
^ this@R|/A|.R|<local>/baz|()
|
||||
}
|
||||
)"];
|
||||
77 [label="Stub" style="filled" fillcolor=gray];
|
||||
78 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
79 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
34 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
35 [label="Enter block"];
|
||||
36 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
45 [label="Access variable R|<local>/a|"];
|
||||
46 [label="Smart cast: R|<local>/a|"];
|
||||
47 [label="Access variable R|kotlin/String.length|"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
48 [label="Enter when"];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
49 [label="Enter when branch condition "];
|
||||
50 [label="Access variable R|<local>/b|"];
|
||||
51 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
||||
52 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
53 [label="Enter when branch condition else"];
|
||||
54 [label="Exit when branch condition"];
|
||||
}
|
||||
55 [label="Enter when branch result"];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
56 [label="Enter block"];
|
||||
57 [label="Const: Int(1)"];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit when branch result"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Access variable R|<local>/b|"];
|
||||
63 [label="Smart cast: R|<local>/b|"];
|
||||
64 [label="Access variable R|kotlin/String.length|"];
|
||||
65 [label="Function call: this@R|/A|.R|<local>/bar|()" style="filled" fillcolor=yellow];
|
||||
66 [label="Exit block"];
|
||||
}
|
||||
67 [label="Exit when branch result"];
|
||||
68 [label="Exit when"];
|
||||
}
|
||||
69 [label="Exit block"];
|
||||
}
|
||||
70 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
37 [label="Postponed exit from lambda"];
|
||||
38 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
39 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
R|<local>/a|.R|kotlin/String.length|
|
||||
^ when () {
|
||||
(R|<local>/b| is R|kotlin/String|) -> {
|
||||
R|<local>/b|.R|kotlin/String.length|
|
||||
this@R|/A|.R|<local>/bar|()
|
||||
}
|
||||
else -> {
|
||||
Int(1)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
)"];
|
||||
40 [label="Stub" style="filled" fillcolor=gray];
|
||||
41 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
42 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
31 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
32 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
33 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14 15};
|
||||
14 -> {21};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {28};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
21 -> {31 34 71 90} [color=red];
|
||||
22 -> {23};
|
||||
22 -> {29 31 34 71 90} [color=green];
|
||||
22 -> {99 102 139 158} [color=red];
|
||||
22 -> {29 31 34 71 90} [style=dashed];
|
||||
23 -> {97} [color=green];
|
||||
23 -> {24} [color=red];
|
||||
23 -> {97} [style=dashed];
|
||||
24 -> {25};
|
||||
24 -> {99 102 139 158} [color=green];
|
||||
24 -> {99 102 139 158} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
29 -> {30} [color=green];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37 38 43};
|
||||
36 -> {43} [style=dashed];
|
||||
37 -> {38};
|
||||
37 -> {36} [color=green style=dashed];
|
||||
38 -> {39};
|
||||
39 -> {42};
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
41 -> {42} [style=dotted];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53 60};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {68};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {37};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74 75 80};
|
||||
73 -> {80} [style=dashed];
|
||||
74 -> {75};
|
||||
74 -> {73} [color=green style=dashed];
|
||||
75 -> {76};
|
||||
76 -> {79};
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {74};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {96};
|
||||
93 -> {94} [style=dotted];
|
||||
94 -> {95} [style=dotted];
|
||||
95 -> {96} [style=dotted];
|
||||
97 -> {98} [color=green];
|
||||
98 -> {24} [color=green];
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105 106 111};
|
||||
@@ -435,43 +478,6 @@ digraph localClassesWithImplicit_kt {
|
||||
136 -> {137};
|
||||
137 -> {138};
|
||||
138 -> {105};
|
||||
|
||||
subgraph cluster_35 {
|
||||
color=red
|
||||
139 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
140 [label="Enter block"];
|
||||
141 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
148 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
149 [label="Enter block"];
|
||||
150 [label="Access variable R|<local>/a|"];
|
||||
151 [label="Smart cast: R|<local>/a|"];
|
||||
152 [label="Access variable R|kotlin/String.length|"];
|
||||
153 [label="Access variable R|<local>/b|"];
|
||||
154 [label="Access variable <Unresolved name: length>#"];
|
||||
155 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow];
|
||||
156 [label="Exit block"];
|
||||
}
|
||||
157 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
142 [label="Postponed exit from lambda"];
|
||||
143 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
144 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
R|<local>/a|.R|kotlin/String.length|
|
||||
R|<local>/b|.<Unresolved name: length>#
|
||||
^ this@R|/<anonymous>|.R|/<anonymous>.baz|()
|
||||
}
|
||||
)"];
|
||||
145 [label="Stub" style="filled" fillcolor=gray];
|
||||
146 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
147 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142 143 148};
|
||||
@@ -493,20 +499,6 @@ digraph localClassesWithImplicit_kt {
|
||||
155 -> {156};
|
||||
156 -> {157};
|
||||
157 -> {142};
|
||||
|
||||
subgraph cluster_39 {
|
||||
color=red
|
||||
158 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
159 [label="Enter block"];
|
||||
160 [label="Const: Int(1)"];
|
||||
161 [label="Jump: ^baz Int(1)"];
|
||||
162 [label="Stub" style="filled" fillcolor=gray];
|
||||
163 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
164 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
158 -> {159};
|
||||
159 -> {160};
|
||||
160 -> {161};
|
||||
|
||||
+11
-12
@@ -72,19 +72,9 @@ digraph postponedLambdaInConstructor_kt {
|
||||
20 -> {21};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
22 [label="Enter property" style="filled" fillcolor=red];
|
||||
23 [label="Access variable R|<local>/s|"];
|
||||
24 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {32} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
25 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Function call: this@R|/B|.R|/B.foo|()" style="filled" fillcolor=yellow];
|
||||
@@ -97,15 +87,24 @@ digraph postponedLambdaInConstructor_kt {
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
|
||||
subgraph cluster_10 {
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
30 [label="Enter class B" style="filled" fillcolor=red];
|
||||
31 [label="Part of class initialization"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
22 [label="Enter property" style="filled" fillcolor=red];
|
||||
23 [label="Access variable R|<local>/s|"];
|
||||
24 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
32 [label="Exit class B" style="filled" fillcolor=red];
|
||||
}
|
||||
30 -> {31} [color=green];
|
||||
31 -> {22} [color=green];
|
||||
31 -> {32} [style=dotted];
|
||||
31 -> {22} [style=dashed];
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {32} [color=green];
|
||||
|
||||
}
|
||||
|
||||
+87
-91
@@ -78,68 +78,36 @@ digraph propertiesAndInitBlocks_kt {
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
35 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
46 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Const: Int(1)"];
|
||||
38 [label="Const: Int(1)"];
|
||||
39 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
|
||||
40 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
||||
41 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
42 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
43 [label="Stub" style="filled" fillcolor=gray];
|
||||
44 [label="Exit block" style="filled" fillcolor=gray];
|
||||
47 [label="Enter block"];
|
||||
48 [label="Const: Int(1)"];
|
||||
49 [label="Const: Int(1)"];
|
||||
50 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
|
||||
51 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
||||
52 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
53 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
54 [label="Stub" style="filled" fillcolor=gray];
|
||||
55 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
45 [label="Exit function foo" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {44} [style=dotted];
|
||||
44 -> {45} [style=dotted];
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
46 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
47 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
48 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
56 [label="Exit function foo" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
49 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
50 [label="Enter block"];
|
||||
51 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
52 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
53 [label="Stub" style="filled" fillcolor=gray];
|
||||
54 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
55 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
56 [label="Exit init block" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53} [style=dotted];
|
||||
52 -> {53};
|
||||
53 -> {54} [style=dotted];
|
||||
54 -> {55} [style=dotted];
|
||||
55 -> {56} [style=dotted];
|
||||
56 -> {34} [style=dotted];
|
||||
|
||||
subgraph cluster_13 {
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
57 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Exit local class <getter>"];
|
||||
@@ -147,62 +115,60 @@ digraph propertiesAndInitBlocks_kt {
|
||||
}
|
||||
61 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
62 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
|
||||
63 [label="Part of class initialization"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
65 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
66 [label="Enter block"];
|
||||
67 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
68 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
69 [label="Stub" style="filled" fillcolor=gray];
|
||||
70 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
71 [label="Exit init block" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
64 [label="Exit class GetterLocalClass" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
72 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
73 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
74 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
58 -> {65 68} [color=red];
|
||||
58 -> {65 72} [color=red];
|
||||
59 -> {60};
|
||||
59 -> {62 65} [color=green];
|
||||
59 -> {62 65} [style=dashed];
|
||||
59 -> {62 72} [color=green];
|
||||
59 -> {62 72} [style=dashed];
|
||||
60 -> {61};
|
||||
62 -> {63} [color=green];
|
||||
63 -> {68} [color=green];
|
||||
63 -> {65} [color=green];
|
||||
63 -> {64} [style=dotted];
|
||||
63 -> {68} [style=dashed];
|
||||
63 -> {65} [style=dashed];
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {64} [style=dotted];
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
65 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
66 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
67 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
68 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
69 [label="Enter block"];
|
||||
70 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
71 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
72 [label="Stub" style="filled" fillcolor=gray];
|
||||
73 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
74 [label="Exit init block" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72} [style=dotted];
|
||||
72 -> {73} [style=dotted];
|
||||
73 -> {74} [style=dotted];
|
||||
74 -> {64} [style=dotted];
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
75 [label="Enter property" style="filled" fillcolor=red];
|
||||
76 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_20 {
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
25 [label="Enter block"];
|
||||
26 [label="Exit local class <anonymous>"];
|
||||
@@ -213,12 +179,32 @@ digraph propertiesAndInitBlocks_kt {
|
||||
}
|
||||
31 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_22 {
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
32 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
|
||||
33 [label="Part of class initialization"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
35 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
||||
38 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
39 [label="Stub" style="filled" fillcolor=gray];
|
||||
40 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
41 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
42 [label="Exit init block" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
34 [label="Exit class InitializerLocalClass" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
43 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
44 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
45 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
77 [label="Postponed exit from lambda"];
|
||||
78 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
|
||||
79 [label="Exit property" style="filled" fillcolor=red];
|
||||
@@ -231,19 +217,29 @@ digraph propertiesAndInitBlocks_kt {
|
||||
78 -> {79};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
25 -> {35 46 49} [color=red];
|
||||
25 -> {35 43 46} [color=red];
|
||||
26 -> {27};
|
||||
26 -> {32 46} [color=green];
|
||||
26 -> {32 46} [style=dashed];
|
||||
26 -> {32 43} [color=green];
|
||||
26 -> {32 43} [style=dashed];
|
||||
27 -> {28};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {77} [style=dotted];
|
||||
32 -> {33} [color=green];
|
||||
33 -> {49} [color=green];
|
||||
33 -> {35} [color=green];
|
||||
33 -> {34} [style=dotted];
|
||||
33 -> {49} [style=dashed];
|
||||
33 -> {35} [style=dashed];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
41 -> {42} [style=dotted];
|
||||
42 -> {34} [style=dotted];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
|
||||
+46
-49
@@ -13,33 +13,11 @@ digraph secondaryConstructorCfg_kt {
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/p0|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {29} [color=green];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
6 [label="Enter property" style="filled" fillcolor=red];
|
||||
7 [label="Access variable R|<local>/p0|"];
|
||||
8 [label="Access variable R|kotlin/String.length|"];
|
||||
9 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {30} [color=green];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
10 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
11 [label="Access variable R|<local>/p0|"];
|
||||
12 [label="Delegated constructor call: this<R|B|>(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_4 {
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Access variable R|<local>/p1|"];
|
||||
@@ -56,37 +34,40 @@ digraph secondaryConstructorCfg_kt {
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
18 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Access variable R|<local>/p0|"];
|
||||
21 [label="Access variable R|kotlin/String.length|"];
|
||||
22 [label="Assignment: R|/B.p1|"];
|
||||
23 [label="Const: String()"];
|
||||
24 [label="Assignment: R|/B.p3|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {31} [color=green];
|
||||
|
||||
subgraph cluster_7 {
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
27 [label="Enter class B" style="filled" fillcolor=red];
|
||||
28 [label="Part of class initialization"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/p0|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
29 [label="Part of class initialization"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
6 [label="Enter property" style="filled" fillcolor=red];
|
||||
7 [label="Access variable R|<local>/p0|"];
|
||||
8 [label="Access variable R|kotlin/String.length|"];
|
||||
9 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
30 [label="Part of class initialization"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
18 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Access variable R|<local>/p0|"];
|
||||
21 [label="Access variable R|kotlin/String.length|"];
|
||||
22 [label="Assignment: R|/B.p1|"];
|
||||
23 [label="Const: String()"];
|
||||
24 [label="Assignment: R|/B.p3|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
31 [label="Exit class B" style="filled" fillcolor=red];
|
||||
}
|
||||
27 -> {28} [color=green];
|
||||
@@ -99,5 +80,21 @@ digraph secondaryConstructorCfg_kt {
|
||||
30 -> {18} [color=green];
|
||||
30 -> {31} [style=dotted];
|
||||
30 -> {18} [style=dashed];
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {29} [color=green];
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {30} [color=green];
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {31} [color=green];
|
||||
|
||||
}
|
||||
|
||||
Vendored
+9
-10
@@ -344,25 +344,24 @@ digraph boundSmartcasts_kt {
|
||||
126 -> {127};
|
||||
|
||||
subgraph cluster_28 {
|
||||
color=red
|
||||
128 [label="Enter property" style="filled" fillcolor=red];
|
||||
129 [label="Access variable R|<local>/any|"];
|
||||
130 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {133} [color=green];
|
||||
|
||||
subgraph cluster_29 {
|
||||
color=red
|
||||
131 [label="Enter class D" style="filled" fillcolor=red];
|
||||
132 [label="Part of class initialization"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
128 [label="Enter property" style="filled" fillcolor=red];
|
||||
129 [label="Access variable R|<local>/any|"];
|
||||
130 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
133 [label="Exit class D" style="filled" fillcolor=red];
|
||||
}
|
||||
131 -> {132} [color=green];
|
||||
132 -> {128} [color=green];
|
||||
132 -> {133} [style=dotted];
|
||||
132 -> {128} [style=dashed];
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {133} [color=green];
|
||||
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
|
||||
+9
-10
@@ -13,25 +13,24 @@ digraph boundSmartcastsInBranches_kt {
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Const: String()"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8} [color=green];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
6 [label="Enter class A" style="filled" fillcolor=red];
|
||||
7 [label="Part of class initialization"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Const: String()"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
8 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7} [color=green];
|
||||
7 -> {3} [color=green];
|
||||
7 -> {8} [style=dotted];
|
||||
7 -> {3} [style=dashed];
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8} [color=green];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
|
||||
Vendored
+9
-10
@@ -29,25 +29,24 @@ digraph functionCallBound_kt {
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter property" style="filled" fillcolor=red];
|
||||
9 [label="Access variable R|<local>/data|"];
|
||||
10 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {13} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
11 [label="Enter class Sub" style="filled" fillcolor=red];
|
||||
12 [label="Part of class initialization"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter property" style="filled" fillcolor=red];
|
||||
9 [label="Access variable R|<local>/data|"];
|
||||
10 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
13 [label="Exit class Sub" style="filled" fillcolor=red];
|
||||
}
|
||||
11 -> {12} [color=green];
|
||||
12 -> {8} [color=green];
|
||||
12 -> {13} [style=dotted];
|
||||
12 -> {8} [style=dashed];
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {13} [color=green];
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
|
||||
+12
-13
@@ -29,26 +29,16 @@ digraph lambdaInWhenBranch_kt {
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter property" style="filled" fillcolor=red];
|
||||
9 [label="Access variable R|<local>/t|"];
|
||||
10 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {20} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
11 [label="Enter function component1" style="filled" fillcolor=red];
|
||||
12 [label="Exit function component1" style="filled" fillcolor=red];
|
||||
}
|
||||
11 -> {12};
|
||||
|
||||
subgraph cluster_5 {
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
13 [label="Enter function copy" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
15 [label="Enter default value of t" style="filled" fillcolor=red];
|
||||
16 [label="Access variable R|/SubClass1.t|"];
|
||||
@@ -61,16 +51,25 @@ digraph lambdaInWhenBranch_kt {
|
||||
15 -> {15} [style=dashed];
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_7 {
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
18 [label="Enter class SubClass1" style="filled" fillcolor=red];
|
||||
19 [label="Part of class initialization"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
8 [label="Enter property" style="filled" fillcolor=red];
|
||||
9 [label="Access variable R|<local>/t|"];
|
||||
10 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
20 [label="Exit class SubClass1" style="filled" fillcolor=red];
|
||||
}
|
||||
18 -> {19} [color=green];
|
||||
19 -> {8} [color=green];
|
||||
19 -> {20} [style=dotted];
|
||||
19 -> {8} [style=dashed];
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {20} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
|
||||
@@ -62,19 +62,9 @@ digraph nullability_kt {
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
17 [label="Enter property" style="filled" fillcolor=red];
|
||||
18 [label="Access variable R|<local>/data|"];
|
||||
19 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {29} [color=green];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
20 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: Null(null)"];
|
||||
@@ -92,16 +82,25 @@ digraph nullability_kt {
|
||||
24 -> {25} [style=dotted];
|
||||
25 -> {26} [style=dotted];
|
||||
|
||||
subgraph cluster_11 {
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
27 [label="Enter class QImpl" style="filled" fillcolor=red];
|
||||
28 [label="Part of class initialization"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
17 [label="Enter property" style="filled" fillcolor=red];
|
||||
18 [label="Access variable R|<local>/data|"];
|
||||
19 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
29 [label="Exit class QImpl" style="filled" fillcolor=red];
|
||||
}
|
||||
27 -> {28} [color=green];
|
||||
28 -> {17} [color=green];
|
||||
28 -> {29} [style=dotted];
|
||||
28 -> {17} [style=dashed];
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {29} [color=green];
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
@@ -113,19 +112,9 @@ digraph nullability_kt {
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
33 [label="Enter property" style="filled" fillcolor=red];
|
||||
34 [label="Access variable R|<local>/data|"];
|
||||
35 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {45} [color=green];
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
36 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Const: Null(null)"];
|
||||
@@ -143,16 +132,25 @@ digraph nullability_kt {
|
||||
40 -> {41} [style=dotted];
|
||||
41 -> {42} [style=dotted];
|
||||
|
||||
subgraph cluster_16 {
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
43 [label="Enter class QImplMutable" style="filled" fillcolor=red];
|
||||
44 [label="Part of class initialization"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
33 [label="Enter property" style="filled" fillcolor=red];
|
||||
34 [label="Access variable R|<local>/data|"];
|
||||
35 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
45 [label="Exit class QImplMutable" style="filled" fillcolor=red];
|
||||
}
|
||||
43 -> {44} [color=green];
|
||||
44 -> {33} [color=green];
|
||||
44 -> {45} [style=dotted];
|
||||
44 -> {33} [style=dashed];
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {45} [color=green];
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
|
||||
+11
-12
@@ -34,19 +34,9 @@ digraph assignSafeCall_kt {
|
||||
8 -> {9} [style=dotted];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
10 [label="Enter property" style="filled" fillcolor=red];
|
||||
11 [label="Const: Int(1)"];
|
||||
12 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {19} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
13 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
14 [label="Enter block"];
|
||||
15 [label="Exit block"];
|
||||
@@ -57,16 +47,25 @@ digraph assignSafeCall_kt {
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_6 {
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
17 [label="Enter class A" style="filled" fillcolor=red];
|
||||
18 [label="Part of class initialization"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
10 [label="Enter property" style="filled" fillcolor=red];
|
||||
11 [label="Const: Int(1)"];
|
||||
12 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
19 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
17 -> {18} [color=green];
|
||||
18 -> {10} [color=green];
|
||||
18 -> {19} [style=dotted];
|
||||
18 -> {10} [style=dashed];
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {19} [color=green];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
|
||||
+19
-20
@@ -57,19 +57,29 @@ digraph smartCastInInit_kt {
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
17 [label="Enter init block" style="filled" fillcolor=red];
|
||||
26 [label="Enter class Main" style="filled" fillcolor=red];
|
||||
27 [label="Part of class initialization"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter block"];
|
||||
19 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
|
||||
20 [label="Assignment: R|/Main.x|"];
|
||||
21 [label="Access variable R|/Main.x|"];
|
||||
22 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
|
||||
23 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
|
||||
24 [label="Exit block"];
|
||||
17 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
18 [label="Enter block"];
|
||||
19 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
|
||||
20 [label="Assignment: R|/Main.x|"];
|
||||
21 [label="Access variable R|/Main.x|"];
|
||||
22 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
|
||||
23 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
25 [label="Exit init block" style="filled" fillcolor=red];
|
||||
28 [label="Exit class Main" style="filled" fillcolor=red];
|
||||
}
|
||||
26 -> {27} [color=green];
|
||||
27 -> {17} [color=green];
|
||||
27 -> {28} [style=dotted];
|
||||
27 -> {17} [style=dashed];
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
@@ -80,15 +90,4 @@ digraph smartCastInInit_kt {
|
||||
24 -> {25};
|
||||
25 -> {28} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
26 [label="Enter class Main" style="filled" fillcolor=red];
|
||||
27 [label="Part of class initialization"];
|
||||
28 [label="Exit class Main" style="filled" fillcolor=red];
|
||||
}
|
||||
26 -> {27} [color=green];
|
||||
27 -> {17} [color=green];
|
||||
27 -> {28} [style=dotted];
|
||||
27 -> {17} [style=dashed];
|
||||
|
||||
}
|
||||
|
||||
+75
-82
@@ -13,30 +13,22 @@ digraph smartcastInByClause_kt {
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/path|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {11} [color=green];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
6 [label="Enter property" style="filled" fillcolor=red];
|
||||
7 [label="Access variable R|<local>/index|"];
|
||||
8 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {12} [color=green];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
9 [label="Enter class A" style="filled" fillcolor=red];
|
||||
10 [label="Part of class initialization"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/path|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
11 [label="Part of class initialization"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter property" style="filled" fillcolor=red];
|
||||
7 [label="Access variable R|<local>/index|"];
|
||||
8 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
12 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
9 -> {10} [color=green];
|
||||
@@ -46,6 +38,12 @@ digraph smartcastInByClause_kt {
|
||||
11 -> {6} [color=green];
|
||||
11 -> {12} [style=dotted];
|
||||
11 -> {6} [style=dashed];
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {11} [color=green];
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {12} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
@@ -64,25 +62,24 @@ digraph smartcastInByClause_kt {
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
18 [label="Enter property" style="filled" fillcolor=red];
|
||||
19 [label="Access variable R|<local>/index|"];
|
||||
20 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {23} [color=green];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
21 [label="Enter class Derived" style="filled" fillcolor=red];
|
||||
22 [label="Part of class initialization"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter property" style="filled" fillcolor=red];
|
||||
19 [label="Access variable R|<local>/index|"];
|
||||
20 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
23 [label="Exit class Derived" style="filled" fillcolor=red];
|
||||
}
|
||||
21 -> {22} [color=green];
|
||||
22 -> {18} [color=green];
|
||||
22 -> {23} [style=dotted];
|
||||
22 -> {18} [style=dashed];
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {23} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
@@ -111,7 +108,24 @@ digraph smartcastInByClause_kt {
|
||||
color=blue
|
||||
49 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
50 [label="Part of class initialization"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
53 [label="Enter field" style="filled" fillcolor=red];
|
||||
54 [label="Access variable R|<local>/a|"];
|
||||
55 [label="Smart cast: R|<local>/a|"];
|
||||
56 [label="Access variable R|/A.index|"];
|
||||
57 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
|
||||
58 [label="Exit field" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Part of class initialization"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
59 [label="Enter property" style="filled" fillcolor=red];
|
||||
60 [label="Access variable R|<local>/a|"];
|
||||
61 [label="Smart cast: R|<local>/a|"];
|
||||
62 [label="Access variable R|/A.index|"];
|
||||
63 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
52 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
}
|
||||
43 [label="Exit anonymous object"];
|
||||
@@ -137,6 +151,26 @@ digraph smartcastInByClause_kt {
|
||||
}
|
||||
48 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
67 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
68 [label="Enter block"];
|
||||
69 [label="Access variable R|<local>/a|"];
|
||||
70 [label="Smart cast: R|<local>/a|"];
|
||||
71 [label="Access variable R|/A.index|"];
|
||||
72 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
64 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
65 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
66 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27 31};
|
||||
@@ -156,80 +190,39 @@ digraph smartcastInByClause_kt {
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
41 -> {53 56 62 67} [color=red];
|
||||
41 -> {53 59 64 67} [color=red];
|
||||
42 -> {49} [color=green];
|
||||
42 -> {43} [color=red];
|
||||
42 -> {49} [style=dashed];
|
||||
43 -> {44};
|
||||
43 -> {53 67} [color=green];
|
||||
43 -> {53 67} [style=dashed];
|
||||
43 -> {64 67} [color=green];
|
||||
43 -> {64 67} [style=dashed];
|
||||
44 -> {45};
|
||||
45 -> {48};
|
||||
45 -> {46} [style=dotted];
|
||||
46 -> {47} [style=dotted];
|
||||
47 -> {48} [style=dotted];
|
||||
49 -> {50} [color=green];
|
||||
50 -> {56} [color=green];
|
||||
50 -> {53} [color=green];
|
||||
50 -> {51} [style=dotted];
|
||||
50 -> {56} [style=dashed];
|
||||
51 -> {62} [color=green];
|
||||
50 -> {53} [style=dashed];
|
||||
51 -> {59} [color=green];
|
||||
51 -> {52} [style=dotted];
|
||||
51 -> {62} [style=dashed];
|
||||
51 -> {59} [style=dashed];
|
||||
52 -> {43} [color=green];
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
53 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
54 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
55 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
56 [label="Enter field" style="filled" fillcolor=red];
|
||||
57 [label="Access variable R|<local>/a|"];
|
||||
58 [label="Smart cast: R|<local>/a|"];
|
||||
59 [label="Access variable R|/A.index|"];
|
||||
60 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
|
||||
61 [label="Exit field" style="filled" fillcolor=red];
|
||||
}
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
58 -> {51} [color=green];
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {51} [color=green];
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
62 [label="Enter property" style="filled" fillcolor=red];
|
||||
63 [label="Access variable R|<local>/a|"];
|
||||
64 [label="Smart cast: R|<local>/a|"];
|
||||
65 [label="Access variable R|/A.index|"];
|
||||
66 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
63 -> {52} [color=green];
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {52} [color=green];
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
67 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
68 [label="Enter block"];
|
||||
69 [label="Access variable R|<local>/a|"];
|
||||
70 [label="Smart cast: R|<local>/a|"];
|
||||
71 [label="Access variable R|/A.index|"];
|
||||
72 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
|
||||
+18
-20
@@ -124,30 +124,22 @@ digraph smartcastToNothing_kt {
|
||||
40 -> {41};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
42 [label="Enter property" style="filled" fillcolor=red];
|
||||
43 [label="Const: Int(1)"];
|
||||
44 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {50} [color=green];
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
45 [label="Enter property" style="filled" fillcolor=red];
|
||||
46 [label="Const: Boolean(true)"];
|
||||
47 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {51} [color=green];
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
48 [label="Enter class A" style="filled" fillcolor=red];
|
||||
49 [label="Part of class initialization"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
42 [label="Enter property" style="filled" fillcolor=red];
|
||||
43 [label="Const: Int(1)"];
|
||||
44 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
50 [label="Part of class initialization"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
45 [label="Enter property" style="filled" fillcolor=red];
|
||||
46 [label="Const: Boolean(true)"];
|
||||
47 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
48 -> {49} [color=green];
|
||||
@@ -157,6 +149,12 @@ digraph smartcastToNothing_kt {
|
||||
50 -> {45} [color=green];
|
||||
50 -> {51} [style=dotted];
|
||||
50 -> {45} [style=dashed];
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {50} [color=green];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {51} [color=green];
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
|
||||
+9
-10
@@ -13,25 +13,24 @@ digraph overridenOpenVal_kt {
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/x|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8} [color=green];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
6 [label="Enter class A" style="filled" fillcolor=red];
|
||||
7 [label="Part of class initialization"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/x|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
8 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7} [color=green];
|
||||
7 -> {3} [color=green];
|
||||
7 -> {8} [style=dotted];
|
||||
7 -> {3} [style=dashed];
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8} [color=green];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
|
||||
+57
-61
@@ -19,7 +19,25 @@ digraph inAnonymousObject_kt {
|
||||
color=blue
|
||||
13 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
14 [label="Part of class initialization"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
17 [label="Enter property" style="filled" fillcolor=red];
|
||||
18 [label="Access variable R|<local>/a|"];
|
||||
19 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
15 [label="Part of class initialization"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
20 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Access variable R|<local>/b|"];
|
||||
23 [label="Assignment: R|/<anonymous>.leaked|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
16 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
}
|
||||
5 [label="Exit anonymous object"];
|
||||
@@ -32,17 +50,34 @@ digraph inAnonymousObject_kt {
|
||||
}
|
||||
12 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter function run" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
26 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
28 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
3 -> {37 40 43 49} [color=red];
|
||||
3 -> {17 20 26 29} [color=red];
|
||||
4 -> {13} [color=green];
|
||||
4 -> {5} [color=red];
|
||||
4 -> {13} [style=dashed];
|
||||
5 -> {6};
|
||||
5 -> {37 49} [color=green];
|
||||
5 -> {37 49} [style=dashed];
|
||||
5 -> {26 29} [color=green];
|
||||
5 -> {26 29} [style=dashed];
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
@@ -50,66 +85,27 @@ digraph inAnonymousObject_kt {
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
13 -> {14} [color=green];
|
||||
14 -> {40} [color=green];
|
||||
14 -> {17} [color=green];
|
||||
14 -> {15} [style=dotted];
|
||||
14 -> {40} [style=dashed];
|
||||
15 -> {43} [color=green];
|
||||
14 -> {17} [style=dashed];
|
||||
15 -> {20} [color=green];
|
||||
15 -> {16} [style=dotted];
|
||||
15 -> {43} [style=dashed];
|
||||
15 -> {20} [style=dashed];
|
||||
16 -> {5} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
37 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
38 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
39 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
40 [label="Enter property" style="filled" fillcolor=red];
|
||||
41 [label="Access variable R|<local>/a|"];
|
||||
42 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {15} [color=green];
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
43 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
45 [label="Access variable R|<local>/b|"];
|
||||
46 [label="Assignment: R|/<anonymous>.leaked|"];
|
||||
47 [label="Exit block"];
|
||||
}
|
||||
48 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {16} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
49 [label="Enter function run" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
50 [label="Enter block"];
|
||||
51 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
52 [label="Exit block"];
|
||||
}
|
||||
53 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {15} [color=green];
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {16} [color=green];
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
|
||||
}
|
||||
|
||||
+66
-70
@@ -26,90 +26,86 @@ digraph inLocalClass_kt {
|
||||
color=blue
|
||||
10 [label="Enter class LocalClass" style="filled" fillcolor=red];
|
||||
11 [label="Part of class initialization"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
29 [label="Enter function run" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
23 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
24 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
25 [label="Enter block"];
|
||||
26 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
27 [label="Exit block"];
|
||||
}
|
||||
28 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
14 [label="Enter property" style="filled" fillcolor=red];
|
||||
15 [label="Access variable R|<local>/a|"];
|
||||
16 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
12 [label="Part of class initialization"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
17 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
18 [label="Enter block"];
|
||||
19 [label="Access variable R|<local>/c|"];
|
||||
20 [label="Assignment: R|<local>/leaked|"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
22 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
13 [label="Exit class LocalClass" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
3 -> {38 41 47 53} [color=red];
|
||||
3 -> {14 17 23 29} [color=red];
|
||||
4 -> {5};
|
||||
4 -> {10 41 53} [color=green];
|
||||
4 -> {10 41 53} [style=dashed];
|
||||
4 -> {10 23 29} [color=green];
|
||||
4 -> {10 23 29} [style=dashed];
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
10 -> {11} [color=green];
|
||||
11 -> {38} [color=green];
|
||||
11 -> {14} [color=green];
|
||||
11 -> {12} [style=dotted];
|
||||
11 -> {38} [style=dashed];
|
||||
12 -> {47} [color=green];
|
||||
11 -> {14} [style=dashed];
|
||||
12 -> {17} [color=green];
|
||||
12 -> {13} [style=dotted];
|
||||
12 -> {47} [style=dashed];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
38 [label="Enter property" style="filled" fillcolor=red];
|
||||
39 [label="Access variable R|<local>/a|"];
|
||||
40 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {12} [color=green];
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
41 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
42 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
43 [label="Enter block"];
|
||||
44 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
45 [label="Exit block"];
|
||||
}
|
||||
46 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
47 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
48 [label="Enter block"];
|
||||
49 [label="Access variable R|<local>/c|"];
|
||||
50 [label="Assignment: R|<local>/leaked|"];
|
||||
51 [label="Exit block"];
|
||||
}
|
||||
52 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {13} [color=green];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
53 [label="Enter function run" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
54 [label="Enter block"];
|
||||
55 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
56 [label="Exit block"];
|
||||
}
|
||||
57 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
12 -> {17} [style=dashed];
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {12} [color=green];
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {13} [color=green];
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
|
||||
}
|
||||
|
||||
Vendored
+84
-88
@@ -83,64 +83,9 @@ digraph delegateWithAnonymousObject_kt {
|
||||
24 -> {25};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
35 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
36 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
37 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
38 [label="Enter function getValue" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
39 [label="Enter block"];
|
||||
40 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
41 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
|
||||
42 [label="Stub" style="filled" fillcolor=gray];
|
||||
43 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
44 [label="Exit function getValue" style="filled" fillcolor=red];
|
||||
}
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {44};
|
||||
41 -> {42} [style=dotted];
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {44} [style=dotted];
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
45 [label="Enter function setValue" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
48 [label="Access variable R|<local>/value|"];
|
||||
49 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
|
||||
50 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
|
||||
51 [label="Stub" style="filled" fillcolor=gray];
|
||||
52 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
53 [label="Exit function setValue" style="filled" fillcolor=red];
|
||||
}
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {53};
|
||||
50 -> {51} [style=dotted];
|
||||
51 -> {52} [style=dotted];
|
||||
52 -> {53} [style=dotted];
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
54 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
55 [label="Enter block"];
|
||||
56 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||
@@ -162,10 +107,10 @@ digraph delegateWithAnonymousObject_kt {
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62} [style=dotted];
|
||||
|
||||
subgraph cluster_16 {
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
63 [label="Enter function setter" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
64 [label="Enter block"];
|
||||
65 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||
@@ -184,35 +129,79 @@ digraph delegateWithAnonymousObject_kt {
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
|
||||
subgraph cluster_18 {
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
71 [label="Enter property" style="filled" fillcolor=red];
|
||||
72 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_19 {
|
||||
79 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
80 [label="Part of class initialization"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
26 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
71 [label="Enter property" style="filled" fillcolor=red];
|
||||
72 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
26 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Enter anonymous object"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
33 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
34 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
}
|
||||
29 [label="Exit anonymous object"];
|
||||
30 [label="Exit anonymous object expression"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
45 [label="Enter function setValue" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
48 [label="Access variable R|<local>/value|"];
|
||||
49 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
|
||||
50 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
|
||||
51 [label="Stub" style="filled" fillcolor=gray];
|
||||
52 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
53 [label="Exit function setValue" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Enter anonymous object"];
|
||||
38 [label="Enter function getValue" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
33 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
34 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
39 [label="Enter block"];
|
||||
40 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
41 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
|
||||
42 [label="Stub" style="filled" fillcolor=gray];
|
||||
43 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
29 [label="Exit anonymous object"];
|
||||
30 [label="Exit anonymous object expression"];
|
||||
31 [label="Exit block"];
|
||||
44 [label="Exit function getValue" style="filled" fillcolor=red];
|
||||
}
|
||||
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
35 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
36 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
37 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
73 [label="Postponed exit from lambda"];
|
||||
74 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
|
||||
75 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||
76 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)" style="filled" fillcolor=yellow];
|
||||
77 [label="Exit property delegate" style="filled" fillcolor=yellow];
|
||||
78 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
73 [label="Postponed exit from lambda"];
|
||||
74 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
|
||||
75 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||
76 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)" style="filled" fillcolor=yellow];
|
||||
77 [label="Exit property delegate" style="filled" fillcolor=yellow];
|
||||
78 [label="Exit property" style="filled" fillcolor=red];
|
||||
81 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
}
|
||||
79 -> {80} [color=green];
|
||||
80 -> {71} [color=green];
|
||||
80 -> {81} [style=dotted];
|
||||
80 -> {71} [style=dashed];
|
||||
71 -> {72};
|
||||
72 -> {26 73 74};
|
||||
72 -> {26} [style=dashed];
|
||||
@@ -236,16 +225,23 @@ digraph delegateWithAnonymousObject_kt {
|
||||
31 -> {32};
|
||||
33 -> {34} [color=green];
|
||||
34 -> {29} [color=green];
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
79 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
80 [label="Part of class initialization"];
|
||||
81 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
}
|
||||
79 -> {80} [color=green];
|
||||
80 -> {71} [color=green];
|
||||
80 -> {81} [style=dotted];
|
||||
80 -> {71} [style=dashed];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {44};
|
||||
41 -> {42} [style=dotted];
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {44} [style=dotted];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {53};
|
||||
50 -> {51} [style=dotted];
|
||||
51 -> {52} [style=dotted];
|
||||
52 -> {53} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
Vendored
+9
-10
@@ -59,25 +59,24 @@ digraph plusAssignWithLambdaInRhs_kt {
|
||||
18 -> {19};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
20 [label="Enter property" style="filled" fillcolor=red];
|
||||
21 [label="Access variable R|<local>/executor|"];
|
||||
22 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {25} [color=green];
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
23 [label="Enter class A" style="filled" fillcolor=red];
|
||||
24 [label="Part of class initialization"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter property" style="filled" fillcolor=red];
|
||||
21 [label="Access variable R|<local>/executor|"];
|
||||
22 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
25 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
23 -> {24} [color=green];
|
||||
24 -> {20} [color=green];
|
||||
24 -> {25} [style=dotted];
|
||||
24 -> {20} [style=dashed];
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {25} [color=green];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
|
||||
Reference in New Issue
Block a user