FIR: fix FirDefaultPropertyAccessor phase to BODY_RESOLVE

This commit is contained in:
Ilya Kirillov
2021-04-13 12:54:47 +02:00
committed by TeamCityServer
parent 39b2cd1027
commit 0cf00d0f72
27 changed files with 3738 additions and 4107 deletions
@@ -19,85 +19,78 @@ digraph initBlockAndInPlaceLambda_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function getter" style="filled" fillcolor=red];
5 [label="Exit function getter" style="filled" fillcolor=red];
4 [label="Enter class C" style="filled" fillcolor=red];
5 [label="Part of class initialization"];
6 [label="Exit class C" style="filled" fillcolor=red];
}
4 -> {5};
4 -> {5} [color=green];
5 -> {6} [style=dotted];
5 -> {10} [color=green];
5 -> {10} [style=dashed];
subgraph cluster_3 {
color=red
6 [label="Enter class C" style="filled" fillcolor=red];
7 [label="Part of class initialization"];
8 [label="Exit class C" style="filled" fillcolor=red];
7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {8} [style=dotted];
7 -> {12} [color=green];
7 -> {12} [style=dashed];
7 -> {8};
8 -> {9};
subgraph cluster_4 {
color=red
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
11 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
subgraph cluster_5 {
color=red
12 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
10 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/a|"];
15 [label="Access variable R|/A.b|"];
16 [label="Enter safe call"];
17 [label="Postponed enter to lambda"];
subgraph cluster_7 {
11 [label="Enter block"];
12 [label="Access variable R|<local>/a|"];
13 [label="Access variable R|/A.b|"];
14 [label="Enter safe call"];
15 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/a|"];
28 [label="Access variable R|<local>/it|"];
29 [label="Function call: R|/C.C|(...)"];
30 [label="Exit block"];
24 [label="Enter block"];
25 [label="Access variable R|<local>/a|"];
26 [label="Access variable R|<local>/it|"];
27 [label="Function call: R|/C.C|(...)"];
28 [label="Exit block"];
}
31 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
18 [label="Call arguments union" style="filled" fillcolor=yellow];
19 [label="Postponed exit from lambda"];
20 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)"];
21 [label="Exit safe call"];
22 [label="Variable declaration: lval c: R|C?|"];
23 [label="Exit block"];
16 [label="Call arguments union" style="filled" fillcolor=yellow];
17 [label="Postponed exit from lambda"];
18 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)"];
19 [label="Exit safe call"];
20 [label="Variable declaration: lval c: R|C?|"];
21 [label="Exit block"];
}
24 [label="Exit init block" style="filled" fillcolor=red];
22 [label="Exit init block" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
13 -> {14 19};
14 -> {15};
15 -> {16 21};
16 -> {17};
17 -> {25};
17 -> {19} [color=red];
17 -> {25} [style=dashed];
18 -> {20} [color=red];
19 -> {20} [color=green];
15 -> {23};
15 -> {17} [color=red];
15 -> {23} [style=dashed];
16 -> {18} [color=red];
17 -> {18} [color=green];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
22 -> {6} [color=green];
23 -> {24};
24 -> {8} [color=green];
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {18} [color=red];
31 -> {19} [color=green];
29 -> {16} [color=red];
29 -> {17} [color=green];
}
@@ -44,27 +44,20 @@ digraph innerClassInAnonymousObject_kt {
subgraph cluster_5 {
color=red
14 [label="Enter function getter" style="filled" fillcolor=red];
15 [label="Exit function getter" style="filled" fillcolor=red];
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Exit anonymous object"];
16 [label="Exit property" style="filled" fillcolor=red];
}
14 -> {15};
subgraph cluster_6 {
color=red
16 [label="Enter property" style="filled" fillcolor=red];
17 [label="Exit anonymous object"];
18 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
12 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
13 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
16 -> {17};
16 -> {0 5 8} [color=red];
17 -> {18};
17 -> {0 12} [color=green];
17 -> {0 12} [style=dashed];
14 -> {15};
14 -> {0 5 8} [color=red];
15 -> {16};
15 -> {0 12} [color=green];
15 -> {0 12} [style=dashed];
12 -> {13} [color=green];
}
@@ -5,26 +5,19 @@ digraph lambdaAsReturnOfLambda_kt {
subgraph cluster_0 {
color=red
14 [label="Enter function getter" style="filled" fillcolor=red];
15 [label="Exit function getter" style="filled" fillcolor=red];
}
14 -> {15};
subgraph cluster_1 {
color=red
16 [label="Enter property" style="filled" fillcolor=red];
17 [label="Postponed enter to lambda"];
subgraph cluster_2 {
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Postponed enter to lambda"];
subgraph cluster_1 {
color=blue
0 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_3 {
subgraph cluster_2 {
color=blue
1 [label="Enter block"];
2 [label="Postponed enter to lambda"];
subgraph cluster_4 {
subgraph cluster_3 {
color=blue
8 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_5 {
subgraph cluster_4 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/foo|"];
@@ -43,15 +36,15 @@ digraph lambdaAsReturnOfLambda_kt {
}
7 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
18 [label="Postponed exit from lambda"];
19 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)"];
20 [label="Exit property" style="filled" fillcolor=red];
16 [label="Postponed exit from lambda"];
17 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)"];
18 [label="Exit property" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16 0};
15 -> {0} [style=dashed];
16 -> {17};
17 -> {18 0};
17 -> {0} [style=dashed];
18 -> {19};
19 -> {20};
17 -> {18};
0 -> {1};
1 -> {2};
2 -> {3 8};
@@ -67,39 +60,39 @@ digraph lambdaAsReturnOfLambda_kt {
11 -> {12};
12 -> {13};
subgraph cluster_6 {
subgraph cluster_5 {
color=red
21 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_7 {
19 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
22 [label="Enter block"];
23 [label="Exit block"];
20 [label="Enter block"];
21 [label="Exit block"];
}
24 [label="Exit function bar" style="filled" fillcolor=red];
22 [label="Exit function bar" style="filled" fillcolor=red];
}
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
subgraph cluster_8 {
subgraph cluster_7 {
color=red
25 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_9 {
23 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
26 [label="Enter block"];
27 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()"];
28 [label="Jump: ^run R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
24 [label="Enter block"];
25 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()"];
26 [label="Jump: ^run R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()"];
27 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit block" style="filled" fillcolor=gray];
}
31 [label="Exit function run" style="filled" fillcolor=red];
29 [label="Exit function run" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {31};
26 -> {29};
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
}
@@ -27,8 +27,8 @@ digraph postponedLambdaInConstructor_kt {
}
5 -> {6} [color=green];
6 -> {7} [style=dotted];
6 -> {29} [color=green];
6 -> {29} [style=dashed];
6 -> {27} [color=green];
6 -> {27} [style=dashed];
subgraph cluster_3 {
color=red
@@ -88,35 +88,28 @@ digraph postponedLambdaInConstructor_kt {
subgraph cluster_8 {
color=red
27 [label="Enter function getter" style="filled" fillcolor=red];
28 [label="Exit function getter" style="filled" fillcolor=red];
27 [label="Enter property" style="filled" fillcolor=red];
28 [label="Access variable R|<local>/s|"];
29 [label="Exit property" style="filled" fillcolor=red];
}
27 -> {28};
28 -> {29};
29 -> {7} [color=green];
subgraph cluster_9 {
color=red
29 [label="Enter property" style="filled" fillcolor=red];
30 [label="Access variable R|<local>/s|"];
31 [label="Exit property" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
31 -> {7} [color=green];
subgraph cluster_10 {
color=red
32 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_11 {
30 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
33 [label="Enter block"];
34 [label="Function call: this@R|/B|.R|/B.foo|()"];
35 [label="Exit block"];
31 [label="Enter block"];
32 [label="Function call: this@R|/B|.R|/B.foo|()"];
33 [label="Exit block"];
}
36 [label="Exit function foo" style="filled" fillcolor=red];
34 [label="Exit function foo" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
}
@@ -21,312 +21,298 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_2 {
color=red
5 [label="Enter function getter" style="filled" fillcolor=red];
6 [label="Exit function getter" style="filled" fillcolor=red];
5 [label="Enter property" style="filled" fillcolor=red];
6 [label="Const: Int(1)"];
7 [label="Exit property" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
subgraph cluster_3 {
color=red
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Const: Int(1)"];
9 [label="Exit property" style="filled" fillcolor=red];
8 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
9 [label="Enter block"];
10 [label="Const: Int(1)"];
11 [label="Jump: ^ Int(1)"];
12 [label="Stub" style="filled" fillcolor=gray];
13 [label="Exit block" style="filled" fillcolor=gray];
}
14 [label="Exit function getter" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
subgraph cluster_4 {
color=red
10 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
11 [label="Enter block"];
12 [label="Const: Int(1)"];
13 [label="Jump: ^ Int(1)"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
}
16 [label="Exit function getter" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {16};
11 -> {14};
11 -> {12} [style=dotted];
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
subgraph cluster_6 {
subgraph cluster_5 {
color=red
17 [label="Enter function setter" style="filled" fillcolor=red];
subgraph cluster_7 {
15 [label="Enter function setter" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
19 [label="Const: Int(1)"];
20 [label="Assignment: F|/x2|"];
21 [label="Exit block"];
16 [label="Enter block"];
17 [label="Const: Int(1)"];
18 [label="Assignment: F|/x2|"];
19 [label="Exit block"];
}
22 [label="Exit function setter" style="filled" fillcolor=red];
20 [label="Exit function setter" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
subgraph cluster_7 {
color=red
21 [label="Enter property" style="filled" fillcolor=red];
22 [label="Const: Int(1)"];
23 [label="Exit property" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
subgraph cluster_8 {
color=red
23 [label="Enter property" style="filled" fillcolor=red];
24 [label="Const: Int(1)"];
25 [label="Exit property" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
subgraph cluster_9 {
color=red
37 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_10 {
35 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
38 [label="Enter block"];
39 [label="Const: Int(1)"];
40 [label="Const: Int(1)"];
41 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
42 [label="Variable declaration: lval c: R|kotlin/Int|"];
43 [label="Function call: R|java/lang/Exception.Exception|()"];
44 [label="Throw: throw R|java/lang/Exception.Exception|()"];
45 [label="Stub" style="filled" fillcolor=gray];
46 [label="Exit block" style="filled" fillcolor=gray];
36 [label="Enter block"];
37 [label="Const: Int(1)"];
38 [label="Const: Int(1)"];
39 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
40 [label="Variable declaration: lval c: R|kotlin/Int|"];
41 [label="Function call: R|java/lang/Exception.Exception|()"];
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="Exit function foo" style="filled" fillcolor=red];
45 [label="Exit function foo" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {47} [label=onUncaughtException];
42 -> {45} [label=onUncaughtException];
42 -> {43} [style=dotted];
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
45 -> {46} [style=dotted];
46 -> {47} [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|>()"];
48 [label="Exit function <init>" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
subgraph cluster_11 {
color=red
48 [label="Enter function <init>" style="filled" fillcolor=red];
49 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
50 [label="Exit function <init>" style="filled" fillcolor=red];
}
48 -> {49};
49 -> {50};
subgraph cluster_12 {
color=red
51 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_13 {
49 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
52 [label="Enter block"];
53 [label="Function call: R|java/lang/Exception.Exception|()"];
54 [label="Throw: throw R|java/lang/Exception.Exception|()"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Const: Int(1)" style="filled" fillcolor=gray];
57 [label="Exit block" style="filled" fillcolor=gray];
50 [label="Enter block"];
51 [label="Function call: R|java/lang/Exception.Exception|()"];
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];
}
58 [label="Exit init block" style="filled" fillcolor=red];
56 [label="Exit init block" style="filled" fillcolor=red];
}
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {58} [label=onUncaughtException];
52 -> {56} [label=onUncaughtException];
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
58 -> {36} [color=green];
56 -> {34} [color=green];
subgraph cluster_14 {
subgraph cluster_13 {
color=red
59 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_15 {
57 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
60 [label="Enter block"];
61 [label="Exit local class <getter>"];
62 [label="Exit block"];
58 [label="Enter block"];
59 [label="Exit local class <getter>"];
60 [label="Exit block"];
}
63 [label="Exit function getter" style="filled" fillcolor=red];
61 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_16 {
subgraph cluster_15 {
color=blue
64 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
65 [label="Part of class initialization"];
66 [label="Exit class GetterLocalClass" style="filled" fillcolor=red];
62 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
63 [label="Part of class initialization"];
64 [label="Exit class GetterLocalClass" style="filled" fillcolor=red];
}
57 -> {58};
58 -> {59};
58 -> {65 68} [color=red];
59 -> {60};
59 -> {65 62} [color=green];
59 -> {65 62} [style=dashed];
60 -> {61};
60 -> {67 70} [color=red];
61 -> {62};
61 -> {67 64} [color=green];
61 -> {67 64} [style=dashed];
62 -> {63};
64 -> {65} [color=green];
65 -> {66} [style=dotted];
65 -> {70} [color=green];
65 -> {70} [style=dashed];
62 -> {63} [color=green];
63 -> {64} [style=dotted];
63 -> {68} [color=green];
63 -> {68} [style=dashed];
subgraph cluster_16 {
color=red
65 [label="Enter function <init>" style="filled" fillcolor=red];
66 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
67 [label="Exit function <init>" style="filled" fillcolor=red];
}
65 -> {66};
66 -> {67};
subgraph cluster_17 {
color=red
67 [label="Enter function <init>" style="filled" fillcolor=red];
68 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
69 [label="Exit function <init>" style="filled" fillcolor=red];
}
67 -> {68};
68 -> {69};
subgraph cluster_18 {
color=red
70 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_19 {
68 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
71 [label="Enter block"];
72 [label="Function call: R|java/lang/Exception.Exception|()"];
73 [label="Throw: throw R|java/lang/Exception.Exception|()"];
74 [label="Stub" style="filled" fillcolor=gray];
75 [label="Exit block" style="filled" fillcolor=gray];
69 [label="Enter block"];
70 [label="Function call: R|java/lang/Exception.Exception|()"];
71 [label="Throw: throw R|java/lang/Exception.Exception|()"];
72 [label="Stub" style="filled" fillcolor=gray];
73 [label="Exit block" style="filled" fillcolor=gray];
}
76 [label="Exit init block" style="filled" fillcolor=red];
74 [label="Exit init block" style="filled" fillcolor=red];
}
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {76} [label=onUncaughtException];
71 -> {74} [label=onUncaughtException];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {66} [color=green];
74 -> {64} [color=green];
subgraph cluster_20 {
subgraph cluster_19 {
color=red
77 [label="Enter property" style="filled" fillcolor=red];
78 [label="Postponed enter to lambda"];
subgraph cluster_21 {
75 [label="Enter property" style="filled" fillcolor=red];
76 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
26 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
25 [label="Enter block"];
26 [label="Exit local class <anonymous>"];
27 [label="Function call: R|java/lang/Exception.Exception|()"];
28 [label="Throw: throw R|java/lang/Exception.Exception|()"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
}
subgraph cluster_22 {
color=blue
27 [label="Enter block"];
28 [label="Exit local class <anonymous>"];
29 [label="Function call: R|java/lang/Exception.Exception|()"];
30 [label="Throw: throw R|java/lang/Exception.Exception|()"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
32 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
33 [label="Part of class initialization"];
34 [label="Exit class InitializerLocalClass" style="filled" fillcolor=red];
}
subgraph cluster_23 {
color=blue
34 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
35 [label="Part of class initialization"];
36 [label="Exit class InitializerLocalClass" style="filled" fillcolor=red];
}
33 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
31 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
79 [label="Postponed exit from lambda"];
80 [label="Function call: R|/run|(...)"];
81 [label="Exit property" style="filled" fillcolor=red];
77 [label="Postponed exit from lambda"];
78 [label="Function call: R|/run|(...)"];
79 [label="Exit property" style="filled" fillcolor=red];
}
75 -> {76};
76 -> {24};
76 -> {77} [color=red];
76 -> {24} [style=dashed];
77 -> {78};
78 -> {26};
78 -> {79} [color=red];
78 -> {26} [style=dashed];
79 -> {80};
80 -> {81};
26 -> {33 27};
78 -> {79};
24 -> {31 25};
25 -> {26};
25 -> {35 46 49} [color=red];
26 -> {27};
26 -> {46 32} [color=green];
26 -> {46 32} [style=dashed];
27 -> {28};
27 -> {37 48 51} [color=red];
28 -> {29};
28 -> {48 34} [color=green];
28 -> {48 34} [style=dashed];
29 -> {30};
30 -> {81} [label=onUncaughtException];
28 -> {79} [label=onUncaughtException];
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
33 -> {79} [color=green];
33 -> {26} [color=green style=dashed];
34 -> {35} [color=green];
35 -> {36} [style=dotted];
35 -> {51} [color=green];
35 -> {51} [style=dashed];
31 -> {77} [color=green];
31 -> {24} [color=green style=dashed];
32 -> {33} [color=green];
33 -> {34} [style=dotted];
33 -> {49} [color=green];
33 -> {49} [style=dashed];
subgraph cluster_24 {
subgraph cluster_23 {
color=red
82 [label="Enter function getter" style="filled" fillcolor=red];
83 [label="Exit function getter" style="filled" fillcolor=red];
}
82 -> {83};
subgraph cluster_25 {
color=red
84 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_26 {
80 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
85 [label="Try expression enter"];
81 [label="Try expression enter"];
subgraph cluster_25 {
color=blue
82 [label="Try main block enter"];
subgraph cluster_26 {
color=blue
83 [label="Enter block"];
84 [label="Const: Int(1)"];
85 [label="Exit block"];
}
86 [label="Try main block exit"];
}
subgraph cluster_27 {
color=blue
86 [label="Try main block enter"];
87 [label="Catch enter"];
subgraph cluster_28 {
color=blue
87 [label="Enter block"];
88 [label="Const: Int(1)"];
89 [label="Exit block"];
88 [label="Enter block"];
89 [label="Const: Int(2)"];
90 [label="Exit block"];
}
90 [label="Try main block exit"];
91 [label="Catch exit"];
}
subgraph cluster_29 {
color=blue
91 [label="Catch enter"];
92 [label="Enter finally"];
subgraph cluster_30 {
color=blue
92 [label="Enter block"];
93 [label="Const: Int(2)"];
94 [label="Exit block"];
93 [label="Enter block"];
94 [label="Const: Int(0)"];
95 [label="Exit block"];
}
95 [label="Catch exit"];
96 [label="Exit finally"];
}
subgraph cluster_31 {
color=blue
96 [label="Enter finally"];
subgraph cluster_32 {
color=blue
97 [label="Enter block"];
98 [label="Const: Int(0)"];
99 [label="Exit block"];
}
100 [label="Exit finally"];
}
101 [label="Try expression exit"];
97 [label="Try expression exit"];
}
102 [label="Exit property" style="filled" fillcolor=red];
98 [label="Exit property" style="filled" fillcolor=red];
}
80 -> {81};
81 -> {82 87};
81 -> {92} [label=onUncaughtException];
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86 91};
85 -> {96} [label=onUncaughtException];
86 -> {87};
85 -> {86};
86 -> {92 87};
87 -> {88};
87 -> {92} [label=onUncaughtException];
88 -> {89};
89 -> {90};
90 -> {96 91};
90 -> {91};
91 -> {92};
91 -> {96} [label=onUncaughtException];
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
96 -> {98} [label=onUncaughtException];
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
100 -> {102} [label=onUncaughtException];
101 -> {102};
}
@@ -33,72 +33,58 @@ digraph safeCalls_kt {
subgraph cluster_4 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/x|"];
11 [label="Enter safe call"];
12 [label="Function call: $subj$.R|/A.foo|()"];
13 [label="Exit safe call"];
14 [label="Enter safe call"];
15 [label="Function call: $subj$.R|/A.bar|()"];
16 [label="Exit safe call"];
17 [label="Exit block"];
}
18 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_5 {
color=red
10 [label="Enter function getter" style="filled" fillcolor=red];
11 [label="Exit function getter" style="filled" fillcolor=red];
}
10 -> {11};
9 -> {10};
10 -> {11 13};
11 -> {12};
12 -> {13};
13 -> {14 16};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
subgraph cluster_6 {
color=red
12 [label="Enter function test_1" style="filled" fillcolor=red];
19 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/x|"];
15 [label="Enter safe call"];
16 [label="Function call: $subj$.R|/A.foo|()"];
17 [label="Exit safe call"];
18 [label="Enter safe call"];
19 [label="Function call: $subj$.R|/A.bar|()"];
20 [label="Exit safe call"];
21 [label="Exit block"];
20 [label="Enter block"];
21 [label="Access variable R|<local>/x|"];
22 [label="Enter safe call"];
23 [label="Access variable R|/B.foo|"];
24 [label="Exit safe call"];
25 [label="Enter safe call"];
26 [label="Access variable R|/B.bar|"];
27 [label="Exit safe call"];
28 [label="Exit block"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
29 [label="Exit function test_2" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
14 -> {15 17};
15 -> {16};
16 -> {17};
17 -> {18 20};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
subgraph cluster_8 {
color=red
23 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/x|"];
26 [label="Enter safe call"];
27 [label="Access variable R|/B.foo|"];
28 [label="Exit safe call"];
29 [label="Enter safe call"];
30 [label="Access variable R|/B.bar|"];
31 [label="Exit safe call"];
32 [label="Exit block"];
}
33 [label="Exit function test_2" style="filled" fillcolor=red];
}
21 -> {22 24};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26 28};
24 -> {25 27};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29 31};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
28 -> {29};
}
@@ -13,14 +13,14 @@ digraph secondaryConstructorCfg_kt {
}
0 -> {1} [color=green];
1 -> {2} [style=dotted];
1 -> {10} [color=green];
1 -> {10} [style=dashed];
1 -> {8} [color=green];
1 -> {8} [style=dashed];
2 -> {3} [style=dotted];
2 -> {15} [color=green];
2 -> {15} [style=dashed];
2 -> {11} [color=green];
2 -> {11} [style=dashed];
3 -> {4} [style=dotted];
3 -> {31} [color=green];
3 -> {31} [style=dashed];
3 -> {23} [color=green];
3 -> {23} [style=dashed];
subgraph cluster_1 {
color=red
@@ -33,67 +33,62 @@ digraph secondaryConstructorCfg_kt {
subgraph cluster_2 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/p0|"];
10 [label="Exit property" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {2} [color=green];
subgraph cluster_3 {
color=red
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Access variable R|<local>/p0|"];
12 [label="Exit property" style="filled" fillcolor=red];
11 [label="Enter property" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/p0|"];
13 [label="Access variable R|kotlin/String.length|"];
14 [label="Exit property" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
12 -> {2} [color=green];
12 -> {13};
13 -> {14};
14 -> {3} [color=green];
subgraph cluster_4 {
color=red
13 [label="Enter function getter" style="filled" fillcolor=red];
14 [label="Exit function getter" style="filled" fillcolor=red];
}
13 -> {14};
subgraph cluster_5 {
color=red
15 [label="Enter property" style="filled" fillcolor=red];
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Access variable R|<local>/p0|"];
17 [label="Access variable R|kotlin/String.length|"];
18 [label="Exit property" style="filled" fillcolor=red];
17 [label="Delegated constructor call: this<R|B|>(...)"];
subgraph cluster_5 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/p1|"];
20 [label="Assignment: R|/B.p3|"];
21 [label="Exit block"];
}
22 [label="Exit function <init>" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {3} [color=green];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
subgraph cluster_6 {
color=red
19 [label="Enter function getter" style="filled" fillcolor=red];
20 [label="Exit function getter" style="filled" fillcolor=red];
}
19 -> {20};
subgraph cluster_7 {
color=red
21 [label="Enter function setter" style="filled" fillcolor=red];
22 [label="Exit function setter" style="filled" fillcolor=red];
}
21 -> {22};
subgraph cluster_8 {
color=red
23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Access variable R|<local>/p0|"];
25 [label="Delegated constructor call: this<R|B|>(...)"];
subgraph cluster_9 {
23 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/p1|"];
28 [label="Assignment: R|/B.p3|"];
29 [label="Exit block"];
24 [label="Enter block"];
25 [label="Access variable R|<local>/p0|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Assignment: R|/B.p1|"];
28 [label="Const: String()"];
29 [label="Assignment: R|/B.p3|"];
30 [label="Exit block"];
}
30 [label="Exit function <init>" style="filled" fillcolor=red];
31 [label="Exit init block" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
@@ -102,30 +97,7 @@ digraph secondaryConstructorCfg_kt {
27 -> {28};
28 -> {29};
29 -> {30};
subgraph cluster_10 {
color=red
31 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
32 [label="Enter block"];
33 [label="Access variable R|<local>/p0|"];
34 [label="Access variable R|kotlin/String.length|"];
35 [label="Assignment: R|/B.p1|"];
36 [label="Const: String()"];
37 [label="Assignment: R|/B.p3|"];
38 [label="Exit block"];
}
39 [label="Exit init block" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {4} [color=green];
30 -> {31};
31 -> {4} [color=green];
}
@@ -19,59 +19,54 @@ digraph equalsToBoolean_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function getter" style="filled" fillcolor=red];
5 [label="Exit function getter" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter block"];
subgraph cluster_5 {
5 [label="Enter block"];
subgraph cluster_4 {
color=blue
8 [label="Enter when"];
subgraph cluster_6 {
6 [label="Enter when"];
subgraph cluster_5 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/b|"];
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/b|"];
9 [label="Const: Boolean(true)"];
10 [label="Equality operator =="];
11 [label="Const: Boolean(true)"];
12 [label="Equality operator =="];
13 [label="Const: Boolean(true)"];
14 [label="Equality operator =="];
13 [label="Exit when branch condition"];
}
subgraph cluster_6 {
color=blue
14 [label="Enter when branch condition else"];
15 [label="Exit when branch condition"];
}
16 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
16 [label="Enter when branch condition else"];
17 [label="Exit when branch condition"];
17 [label="Enter block"];
18 [label="Access variable R|<local>/b|"];
19 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
20 [label="Exit block"];
}
18 [label="Enter when branch result"];
21 [label="Exit when branch result"];
22 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
19 [label="Enter block"];
20 [label="Access variable R|<local>/b|"];
21 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
22 [label="Exit block"];
23 [label="Enter block"];
24 [label="Access variable R|<local>/b|"];
25 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
26 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
25 [label="Enter block"];
26 [label="Access variable R|<local>/b|"];
27 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
28 [label="Exit block"];
}
29 [label="Exit when branch result"];
30 [label="Exit when"];
27 [label="Exit when branch result"];
28 [label="Exit when"];
}
31 [label="Exit block"];
29 [label="Exit block"];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
30 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
@@ -79,74 +74,74 @@ digraph equalsToBoolean_kt {
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
13 -> {22 14};
14 -> {15};
15 -> {24 16};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
21 -> {28};
22 -> {23};
23 -> {30};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_10 {
subgraph cluster_9 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
34 [label="Enter block"];
subgraph cluster_12 {
32 [label="Enter block"];
subgraph cluster_11 {
color=blue
35 [label="Enter when"];
33 [label="Enter when"];
subgraph cluster_12 {
color=blue
34 [label="Enter when branch condition "];
35 [label="Access variable R|<local>/b|"];
36 [label="Const: Boolean(true)"];
37 [label="Equality operator =="];
38 [label="Const: Boolean(true)"];
39 [label="Equality operator !="];
40 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
36 [label="Enter when branch condition "];
37 [label="Access variable R|<local>/b|"];
38 [label="Const: Boolean(true)"];
39 [label="Equality operator =="];
40 [label="Const: Boolean(true)"];
41 [label="Equality operator !="];
41 [label="Enter when branch condition else"];
42 [label="Exit when branch condition"];
}
43 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
43 [label="Enter when branch condition else"];
44 [label="Exit when branch condition"];
44 [label="Enter block"];
45 [label="Access variable R|<local>/b|"];
46 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
47 [label="Exit block"];
}
45 [label="Enter when branch result"];
48 [label="Exit when branch result"];
49 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/b|"];
48 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
49 [label="Exit block"];
50 [label="Enter block"];
51 [label="Access variable R|<local>/b|"];
52 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
53 [label="Exit block"];
}
50 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/b|"];
54 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Exit when"];
54 [label="Exit when branch result"];
55 [label="Exit when"];
}
58 [label="Exit block"];
56 [label="Exit block"];
}
59 [label="Exit function test_2" style="filled" fillcolor=red];
57 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
@@ -154,74 +149,74 @@ digraph equalsToBoolean_kt {
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
40 -> {49 41};
41 -> {42};
42 -> {51 43};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
48 -> {55};
49 -> {50};
50 -> {57};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
subgraph cluster_17 {
subgraph cluster_16 {
color=red
60 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_18 {
58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
61 [label="Enter block"];
subgraph cluster_19 {
59 [label="Enter block"];
subgraph cluster_18 {
color=blue
62 [label="Enter when"];
60 [label="Enter when"];
subgraph cluster_19 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/b|"];
63 [label="Const: Boolean(true)"];
64 [label="Equality operator =="];
65 [label="Const: Boolean(false)"];
66 [label="Equality operator =="];
67 [label="Exit when branch condition"];
}
subgraph cluster_20 {
color=blue
63 [label="Enter when branch condition "];
64 [label="Access variable R|<local>/b|"];
65 [label="Const: Boolean(true)"];
66 [label="Equality operator =="];
67 [label="Const: Boolean(false)"];
68 [label="Equality operator =="];
68 [label="Enter when branch condition else"];
69 [label="Exit when branch condition"];
}
70 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
70 [label="Enter when branch condition else"];
71 [label="Exit when branch condition"];
71 [label="Enter block"];
72 [label="Access variable R|<local>/b|"];
73 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
74 [label="Exit block"];
}
72 [label="Enter when branch result"];
75 [label="Exit when branch result"];
76 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
73 [label="Enter block"];
74 [label="Access variable R|<local>/b|"];
75 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
76 [label="Exit block"];
77 [label="Enter block"];
78 [label="Access variable R|<local>/b|"];
79 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
80 [label="Exit block"];
}
77 [label="Exit when branch result"];
78 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/b|"];
81 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
82 [label="Exit block"];
}
83 [label="Exit when branch result"];
84 [label="Exit when"];
81 [label="Exit when branch result"];
82 [label="Exit when"];
}
85 [label="Exit block"];
83 [label="Exit block"];
}
86 [label="Exit function test_3" style="filled" fillcolor=red];
84 [label="Exit function test_3" style="filled" fillcolor=red];
}
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
@@ -229,74 +224,74 @@ digraph equalsToBoolean_kt {
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
67 -> {76 68};
68 -> {69};
69 -> {78 70};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
75 -> {82};
76 -> {77};
77 -> {84};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
subgraph cluster_24 {
subgraph cluster_23 {
color=red
87 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_25 {
85 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
88 [label="Enter block"];
subgraph cluster_26 {
86 [label="Enter block"];
subgraph cluster_25 {
color=blue
89 [label="Enter when"];
87 [label="Enter when"];
subgraph cluster_26 {
color=blue
88 [label="Enter when branch condition "];
89 [label="Access variable R|<local>/b|"];
90 [label="Const: Boolean(true)"];
91 [label="Equality operator =="];
92 [label="Const: Boolean(false)"];
93 [label="Equality operator !="];
94 [label="Exit when branch condition"];
}
subgraph cluster_27 {
color=blue
90 [label="Enter when branch condition "];
91 [label="Access variable R|<local>/b|"];
92 [label="Const: Boolean(true)"];
93 [label="Equality operator =="];
94 [label="Const: Boolean(false)"];
95 [label="Equality operator !="];
95 [label="Enter when branch condition else"];
96 [label="Exit when branch condition"];
}
97 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
97 [label="Enter when branch condition else"];
98 [label="Exit when branch condition"];
98 [label="Enter block"];
99 [label="Access variable R|<local>/b|"];
100 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
101 [label="Exit block"];
}
99 [label="Enter when branch result"];
102 [label="Exit when branch result"];
103 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
100 [label="Enter block"];
101 [label="Access variable R|<local>/b|"];
102 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
103 [label="Exit block"];
104 [label="Enter block"];
105 [label="Access variable R|<local>/b|"];
106 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
107 [label="Exit block"];
}
104 [label="Exit when branch result"];
105 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/b|"];
108 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
109 [label="Exit block"];
}
110 [label="Exit when branch result"];
111 [label="Exit when"];
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
112 [label="Exit block"];
110 [label="Exit block"];
}
113 [label="Exit function test_4" style="filled" fillcolor=red];
111 [label="Exit function test_4" style="filled" fillcolor=red];
}
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
@@ -304,74 +299,74 @@ digraph equalsToBoolean_kt {
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {103 95};
95 -> {96};
96 -> {105 97};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
102 -> {109};
103 -> {104};
104 -> {111};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
subgraph cluster_31 {
subgraph cluster_30 {
color=red
114 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_32 {
112 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
115 [label="Enter block"];
subgraph cluster_33 {
113 [label="Enter block"];
subgraph cluster_32 {
color=blue
116 [label="Enter when"];
114 [label="Enter when"];
subgraph cluster_33 {
color=blue
115 [label="Enter when branch condition "];
116 [label="Access variable R|<local>/b|"];
117 [label="Const: Boolean(true)"];
118 [label="Equality operator !="];
119 [label="Const: Boolean(true)"];
120 [label="Equality operator =="];
121 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
117 [label="Enter when branch condition "];
118 [label="Access variable R|<local>/b|"];
119 [label="Const: Boolean(true)"];
120 [label="Equality operator !="];
121 [label="Const: Boolean(true)"];
122 [label="Equality operator =="];
122 [label="Enter when branch condition else"];
123 [label="Exit when branch condition"];
}
124 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
124 [label="Enter when branch condition else"];
125 [label="Exit when branch condition"];
125 [label="Enter block"];
126 [label="Access variable R|<local>/b|"];
127 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
128 [label="Exit block"];
}
126 [label="Enter when branch result"];
129 [label="Exit when branch result"];
130 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
127 [label="Enter block"];
128 [label="Access variable R|<local>/b|"];
129 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
130 [label="Exit block"];
131 [label="Enter block"];
132 [label="Access variable R|<local>/b|"];
133 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
134 [label="Exit block"];
}
131 [label="Exit when branch result"];
132 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
133 [label="Enter block"];
134 [label="Access variable R|<local>/b|"];
135 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
136 [label="Exit block"];
}
137 [label="Exit when branch result"];
138 [label="Exit when"];
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
139 [label="Exit block"];
137 [label="Exit block"];
}
140 [label="Exit function test_5" style="filled" fillcolor=red];
138 [label="Exit function test_5" style="filled" fillcolor=red];
}
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
@@ -379,74 +374,74 @@ digraph equalsToBoolean_kt {
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
121 -> {130 122};
122 -> {123};
123 -> {132 124};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
129 -> {136};
130 -> {131};
131 -> {138};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
subgraph cluster_38 {
subgraph cluster_37 {
color=red
141 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_39 {
139 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
142 [label="Enter block"];
subgraph cluster_40 {
140 [label="Enter block"];
subgraph cluster_39 {
color=blue
143 [label="Enter when"];
subgraph cluster_41 {
141 [label="Enter when"];
subgraph cluster_40 {
color=blue
144 [label="Enter when branch condition "];
145 [label="Access variable R|<local>/b|"];
142 [label="Enter when branch condition "];
143 [label="Access variable R|<local>/b|"];
144 [label="Const: Boolean(true)"];
145 [label="Equality operator !="];
146 [label="Const: Boolean(true)"];
147 [label="Equality operator !="];
148 [label="Const: Boolean(true)"];
149 [label="Equality operator !="];
148 [label="Exit when branch condition"];
}
subgraph cluster_41 {
color=blue
149 [label="Enter when branch condition else"];
150 [label="Exit when branch condition"];
}
151 [label="Enter when branch result"];
subgraph cluster_42 {
color=blue
151 [label="Enter when branch condition else"];
152 [label="Exit when branch condition"];
152 [label="Enter block"];
153 [label="Access variable R|<local>/b|"];
154 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
155 [label="Exit block"];
}
153 [label="Enter when branch result"];
156 [label="Exit when branch result"];
157 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
154 [label="Enter block"];
155 [label="Access variable R|<local>/b|"];
156 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
157 [label="Exit block"];
158 [label="Enter block"];
159 [label="Access variable R|<local>/b|"];
160 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
161 [label="Exit block"];
}
158 [label="Exit when branch result"];
159 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
160 [label="Enter block"];
161 [label="Access variable R|<local>/b|"];
162 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
163 [label="Exit block"];
}
164 [label="Exit when branch result"];
165 [label="Exit when"];
162 [label="Exit when branch result"];
163 [label="Exit when"];
}
166 [label="Exit block"];
164 [label="Exit block"];
}
167 [label="Exit function test_6" style="filled" fillcolor=red];
165 [label="Exit function test_6" style="filled" fillcolor=red];
}
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
@@ -454,74 +449,74 @@ digraph equalsToBoolean_kt {
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
148 -> {157 149};
149 -> {150};
150 -> {159 151};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
156 -> {163};
157 -> {158};
158 -> {165};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167};
subgraph cluster_45 {
subgraph cluster_44 {
color=red
168 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_46 {
166 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_45 {
color=blue
169 [label="Enter block"];
subgraph cluster_47 {
167 [label="Enter block"];
subgraph cluster_46 {
color=blue
170 [label="Enter when"];
168 [label="Enter when"];
subgraph cluster_47 {
color=blue
169 [label="Enter when branch condition "];
170 [label="Access variable R|<local>/b|"];
171 [label="Const: Boolean(true)"];
172 [label="Equality operator !="];
173 [label="Const: Boolean(false)"];
174 [label="Equality operator =="];
175 [label="Exit when branch condition"];
}
subgraph cluster_48 {
color=blue
171 [label="Enter when branch condition "];
172 [label="Access variable R|<local>/b|"];
173 [label="Const: Boolean(true)"];
174 [label="Equality operator !="];
175 [label="Const: Boolean(false)"];
176 [label="Equality operator =="];
176 [label="Enter when branch condition else"];
177 [label="Exit when branch condition"];
}
178 [label="Enter when branch result"];
subgraph cluster_49 {
color=blue
178 [label="Enter when branch condition else"];
179 [label="Exit when branch condition"];
179 [label="Enter block"];
180 [label="Access variable R|<local>/b|"];
181 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
182 [label="Exit block"];
}
180 [label="Enter when branch result"];
183 [label="Exit when branch result"];
184 [label="Enter when branch result"];
subgraph cluster_50 {
color=blue
181 [label="Enter block"];
182 [label="Access variable R|<local>/b|"];
183 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
184 [label="Exit block"];
185 [label="Enter block"];
186 [label="Access variable R|<local>/b|"];
187 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
188 [label="Exit block"];
}
185 [label="Exit when branch result"];
186 [label="Enter when branch result"];
subgraph cluster_51 {
color=blue
187 [label="Enter block"];
188 [label="Access variable R|<local>/b|"];
189 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
190 [label="Exit block"];
}
191 [label="Exit when branch result"];
192 [label="Exit when"];
189 [label="Exit when branch result"];
190 [label="Exit when"];
}
193 [label="Exit block"];
191 [label="Exit block"];
}
194 [label="Exit function test_7" style="filled" fillcolor=red];
192 [label="Exit function test_7" style="filled" fillcolor=red];
}
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
@@ -529,74 +524,74 @@ digraph equalsToBoolean_kt {
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
175 -> {184 176};
176 -> {177};
177 -> {186 178};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
183 -> {190};
184 -> {185};
185 -> {192};
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194};
subgraph cluster_52 {
subgraph cluster_51 {
color=red
195 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_53 {
193 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_52 {
color=blue
196 [label="Enter block"];
subgraph cluster_54 {
194 [label="Enter block"];
subgraph cluster_53 {
color=blue
197 [label="Enter when"];
195 [label="Enter when"];
subgraph cluster_54 {
color=blue
196 [label="Enter when branch condition "];
197 [label="Access variable R|<local>/b|"];
198 [label="Const: Boolean(true)"];
199 [label="Equality operator !="];
200 [label="Const: Boolean(false)"];
201 [label="Equality operator !="];
202 [label="Exit when branch condition"];
}
subgraph cluster_55 {
color=blue
198 [label="Enter when branch condition "];
199 [label="Access variable R|<local>/b|"];
200 [label="Const: Boolean(true)"];
201 [label="Equality operator !="];
202 [label="Const: Boolean(false)"];
203 [label="Equality operator !="];
203 [label="Enter when branch condition else"];
204 [label="Exit when branch condition"];
}
205 [label="Enter when branch result"];
subgraph cluster_56 {
color=blue
205 [label="Enter when branch condition else"];
206 [label="Exit when branch condition"];
206 [label="Enter block"];
207 [label="Access variable R|<local>/b|"];
208 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
209 [label="Exit block"];
}
207 [label="Enter when branch result"];
210 [label="Exit when branch result"];
211 [label="Enter when branch result"];
subgraph cluster_57 {
color=blue
208 [label="Enter block"];
209 [label="Access variable R|<local>/b|"];
210 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
211 [label="Exit block"];
212 [label="Enter block"];
213 [label="Access variable R|<local>/b|"];
214 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
215 [label="Exit block"];
}
212 [label="Exit when branch result"];
213 [label="Enter when branch result"];
subgraph cluster_58 {
color=blue
214 [label="Enter block"];
215 [label="Access variable R|<local>/b|"];
216 [label="Function call: R|<local>/b|.<Inapplicable(INAPPLICABLE_WRONG_RECEIVER): kotlin/Boolean.not>#()"];
217 [label="Exit block"];
}
218 [label="Exit when branch result"];
219 [label="Exit when"];
216 [label="Exit when branch result"];
217 [label="Exit when"];
}
220 [label="Exit block"];
218 [label="Exit block"];
}
221 [label="Exit function test_8" style="filled" fillcolor=red];
219 [label="Exit function test_8" style="filled" fillcolor=red];
}
193 -> {194};
194 -> {195};
195 -> {196};
196 -> {197};
197 -> {198};
@@ -604,24 +599,22 @@ digraph equalsToBoolean_kt {
199 -> {200};
200 -> {201};
201 -> {202};
202 -> {203};
202 -> {211 203};
203 -> {204};
204 -> {213 205};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209};
209 -> {210};
210 -> {211};
210 -> {217};
211 -> {212};
212 -> {219};
212 -> {213};
213 -> {214};
214 -> {215};
215 -> {216};
216 -> {217};
217 -> {218};
218 -> {219};
219 -> {220};
220 -> {221};
}
@@ -322,8 +322,8 @@ digraph boundSmartcasts_kt {
}
115 -> {116} [color=green];
116 -> {117} [style=dotted];
116 -> {123} [color=green];
116 -> {123} [style=dashed];
116 -> {121} [color=green];
116 -> {121} [style=dashed];
subgraph cluster_28 {
color=red
@@ -336,72 +336,67 @@ digraph boundSmartcasts_kt {
subgraph cluster_29 {
color=red
121 [label="Enter function getter" style="filled" fillcolor=red];
122 [label="Exit function getter" style="filled" fillcolor=red];
121 [label="Enter property" style="filled" fillcolor=red];
122 [label="Access variable R|<local>/any|"];
123 [label="Exit property" style="filled" fillcolor=red];
}
121 -> {122};
122 -> {123};
123 -> {117} [color=green];
subgraph cluster_30 {
color=red
123 [label="Enter property" style="filled" fillcolor=red];
124 [label="Access variable R|<local>/any|"];
125 [label="Exit property" style="filled" fillcolor=red];
124 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
125 [label="Enter block"];
126 [label="Exit block"];
}
127 [label="Exit function baz" style="filled" fillcolor=red];
}
123 -> {124};
124 -> {125};
125 -> {117} [color=green];
subgraph cluster_31 {
color=red
126 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
127 [label="Enter block"];
128 [label="Exit block"];
}
129 [label="Exit function baz" style="filled" fillcolor=red];
}
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
subgraph cluster_33 {
subgraph cluster_32 {
color=red
130 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_34 {
128 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
131 [label="Enter block"];
132 [label="Access variable R|<local>/d|"];
133 [label="Access variable R|/D.any|"];
134 [label="Exit lhs of ?:"];
135 [label="Enter rhs of ?:"];
136 [label="Jump: ^test_5 Unit"];
137 [label="Stub" style="filled" fillcolor=gray];
138 [label="Lhs of ?: is not null"];
139 [label="Exit ?:"];
140 [label="Variable declaration: lval a: R|kotlin/Any|"];
141 [label="Access variable R|<local>/a|"];
142 [label="Function call: R|<local>/a|.R|/baz|()"];
143 [label="Access variable R|<local>/d|"];
144 [label="Access variable R|/D.any|"];
145 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
129 [label="Enter block"];
130 [label="Access variable R|<local>/d|"];
131 [label="Access variable R|/D.any|"];
132 [label="Exit lhs of ?:"];
133 [label="Enter rhs of ?:"];
134 [label="Jump: ^test_5 Unit"];
135 [label="Stub" style="filled" fillcolor=gray];
136 [label="Lhs of ?: is not null"];
137 [label="Exit ?:"];
138 [label="Variable declaration: lval a: R|kotlin/Any|"];
139 [label="Access variable R|<local>/a|"];
140 [label="Function call: R|<local>/a|.R|/baz|()"];
141 [label="Access variable R|<local>/d|"];
142 [label="Access variable R|/D.any|"];
143 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
144 [label="Access variable R|<local>/a|"];
145 [label="Type operator: (R|<local>/a| as R|A|)"];
146 [label="Access variable R|<local>/a|"];
147 [label="Type operator: (R|<local>/a| as R|A|)"];
148 [label="Access variable R|<local>/a|"];
149 [label="Function call: R|<local>/a|.R|/A.foo|()"];
150 [label="Exit block"];
147 [label="Function call: R|<local>/a|.R|/A.foo|()"];
148 [label="Exit block"];
}
151 [label="Exit function test_5" style="filled" fillcolor=red];
149 [label="Exit function test_5" style="filled" fillcolor=red];
}
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
132 -> {136 133};
133 -> {134};
134 -> {138 135};
135 -> {136};
136 -> {151};
136 -> {137} [style=dotted];
137 -> {139} [style=dotted];
134 -> {149};
134 -> {135} [style=dotted];
135 -> {137} [style=dotted];
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
@@ -413,32 +408,32 @@ digraph boundSmartcasts_kt {
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
subgraph cluster_35 {
subgraph cluster_34 {
color=red
152 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_36 {
150 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
153 [label="Enter block"];
154 [label="Access variable R|<local>/d1|"];
155 [label="Access variable R|/D.any|"];
156 [label="Variable declaration: lval a: R|kotlin/Any?|"];
151 [label="Enter block"];
152 [label="Access variable R|<local>/d1|"];
153 [label="Access variable R|/D.any|"];
154 [label="Variable declaration: lval a: R|kotlin/Any?|"];
155 [label="Access variable R|<local>/a|"];
156 [label="Type operator: (R|<local>/a| as R|A|)"];
157 [label="Access variable R|<local>/a|"];
158 [label="Type operator: (R|<local>/a| as R|A|)"];
159 [label="Access variable R|<local>/a|"];
160 [label="Function call: R|<local>/a|.R|/A.foo|()"];
161 [label="Access variable R|<local>/d1|"];
162 [label="Access variable R|/D.any|"];
163 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
164 [label="Access variable R|<local>/d1|"];
165 [label="Access variable R|/D.any|"];
166 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
167 [label="Exit block"];
158 [label="Function call: R|<local>/a|.R|/A.foo|()"];
159 [label="Access variable R|<local>/d1|"];
160 [label="Access variable R|/D.any|"];
161 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
162 [label="Access variable R|<local>/d1|"];
163 [label="Access variable R|/D.any|"];
164 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
165 [label="Exit block"];
}
168 [label="Exit function test_6" style="filled" fillcolor=red];
166 [label="Exit function test_6" style="filled" fillcolor=red];
}
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
@@ -453,45 +448,45 @@ digraph boundSmartcasts_kt {
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
subgraph cluster_37 {
subgraph cluster_36 {
color=red
169 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_38 {
167 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
170 [label="Enter block"];
171 [label="Access variable R|<local>/d1|"];
172 [label="Enter safe call"];
173 [label="Access variable R|/D.any|"];
174 [label="Exit safe call"];
175 [label="Variable declaration: lval a: R|kotlin/Any?|"];
176 [label="Access variable R|<local>/d2|"];
177 [label="Enter safe call"];
178 [label="Access variable R|/D.any|"];
179 [label="Exit safe call"];
180 [label="Variable declaration: lval b: R|kotlin/Any?|"];
168 [label="Enter block"];
169 [label="Access variable R|<local>/d1|"];
170 [label="Enter safe call"];
171 [label="Access variable R|/D.any|"];
172 [label="Exit safe call"];
173 [label="Variable declaration: lval a: R|kotlin/Any?|"];
174 [label="Access variable R|<local>/d2|"];
175 [label="Enter safe call"];
176 [label="Access variable R|/D.any|"];
177 [label="Exit safe call"];
178 [label="Variable declaration: lval b: R|kotlin/Any?|"];
179 [label="Access variable R|<local>/a|"];
180 [label="Type operator: (R|<local>/a| as R|A|)"];
181 [label="Access variable R|<local>/a|"];
182 [label="Type operator: (R|<local>/a| as R|A|)"];
183 [label="Access variable R|<local>/a|"];
184 [label="Function call: R|<local>/a|.R|/A.foo|()"];
182 [label="Function call: R|<local>/a|.R|/A.foo|()"];
183 [label="Access variable R|<local>/b|"];
184 [label="Type operator: (R|<local>/b| as R|B|)"];
185 [label="Access variable R|<local>/b|"];
186 [label="Type operator: (R|<local>/b| as R|B|)"];
187 [label="Access variable R|<local>/b|"];
188 [label="Function call: R|<local>/b|.R|/B.bar|()"];
189 [label="Exit block"];
186 [label="Function call: R|<local>/b|.R|/B.bar|()"];
187 [label="Exit block"];
}
190 [label="Exit function test_7" style="filled" fillcolor=red];
188 [label="Exit function test_7" style="filled" fillcolor=red];
}
169 -> {170};
167 -> {168};
168 -> {169};
169 -> {170 172};
170 -> {171};
171 -> {172 174};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
174 -> {175 177};
175 -> {176};
176 -> {177 179};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
@@ -503,7 +498,5 @@ digraph boundSmartcasts_kt {
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
}
@@ -27,8 +27,8 @@ digraph functionCallBound_kt {
}
5 -> {6} [color=green];
6 -> {7} [style=dotted];
6 -> {13} [color=green];
6 -> {13} [style=dashed];
6 -> {11} [color=green];
6 -> {11} [style=dashed];
subgraph cluster_3 {
color=red
@@ -41,88 +41,81 @@ digraph functionCallBound_kt {
subgraph cluster_4 {
color=red
11 [label="Enter function getter" style="filled" fillcolor=red];
12 [label="Exit function getter" style="filled" fillcolor=red];
11 [label="Enter property" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/data|"];
13 [label="Exit property" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {7} [color=green];
subgraph cluster_5 {
color=red
13 [label="Enter property" style="filled" fillcolor=red];
14 [label="Access variable R|<local>/data|"];
15 [label="Exit property" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {7} [color=green];
subgraph cluster_6 {
color=red
16 [label="Enter function isOk" style="filled" fillcolor=red];
subgraph cluster_7 {
14 [label="Enter function isOk" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
17 [label="Enter block"];
18 [label="Const: Boolean(true)"];
19 [label="Jump: ^isOk Boolean(true)"];
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit block" style="filled" fillcolor=gray];
15 [label="Enter block"];
16 [label="Const: Boolean(true)"];
17 [label="Jump: ^isOk Boolean(true)"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit block" style="filled" fillcolor=gray];
}
22 [label="Exit function isOk" style="filled" fillcolor=red];
20 [label="Exit function isOk" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {22};
17 -> {20};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {22} [style=dotted];
subgraph cluster_8 {
subgraph cluster_7 {
color=red
23 [label="Enter function check" style="filled" fillcolor=red];
subgraph cluster_9 {
21 [label="Enter function check" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
24 [label="Enter block"];
subgraph cluster_10 {
22 [label="Enter block"];
subgraph cluster_9 {
color=blue
25 [label="Enter when"];
23 [label="Enter when"];
subgraph cluster_10 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/base|"];
26 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
27 [label="Enter safe call"];
28 [label="Function call: $subj$.R|/isOk|()"];
29 [label="Exit safe call"];
30 [label="Const: Boolean(true)"];
31 [label="Equality operator =="];
32 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
26 [label="Enter when branch condition "];
27 [label="Access variable R|<local>/base|"];
28 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
29 [label="Enter safe call"];
30 [label="Function call: $subj$.R|/isOk|()"];
31 [label="Exit safe call"];
32 [label="Const: Boolean(true)"];
33 [label="Equality operator =="];
33 [label="Enter when branch condition else"];
34 [label="Exit when branch condition"];
}
35 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
35 [label="Enter when branch condition else"];
36 [label="Exit when branch condition"];
36 [label="Enter block"];
37 [label="Access variable R|<local>/base|"];
38 [label="Exit block"];
}
37 [label="Enter when branch result"];
39 [label="Exit when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
38 [label="Enter block"];
39 [label="Access variable R|<local>/base|"];
40 [label="Exit block"];
41 [label="Enter block"];
42 [label="Access variable R|<local>/base|"];
43 [label="Access variable R|/Sub.data|"];
44 [label="Exit block"];
}
41 [label="Exit when branch result"];
42 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
43 [label="Enter block"];
44 [label="Access variable R|<local>/base|"];
45 [label="Access variable R|/Sub.data|"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
48 [label="Exit when"];
45 [label="Exit when branch result"];
46 [label="Exit when"];
}
49 [label="Jump: ^check when () {
47 [label="Jump: ^check when () {
==((R|<local>/base| as? R|Sub|)?.{ $subj$.R|/isOk|() }, Boolean(true)) -> {
R|<local>/base|.R|/Sub.data|
}
@@ -131,40 +124,40 @@ digraph functionCallBound_kt {
}
}
"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
48 [label="Stub" style="filled" fillcolor=gray];
49 [label="Exit block" style="filled" fillcolor=gray];
}
52 [label="Exit function check" style="filled" fillcolor=red];
50 [label="Exit function check" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
26 -> {27 29};
27 -> {28};
28 -> {29 31};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
32 -> {40 33};
33 -> {34};
34 -> {42 35};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {46};
40 -> {41};
41 -> {48};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {52};
47 -> {50};
47 -> {48} [style=dotted];
48 -> {49} [style=dotted];
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
}
@@ -19,182 +19,175 @@ digraph elvis_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function getter" style="filled" fillcolor=red];
5 [label="Exit function getter" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter block"];
subgraph cluster_5 {
5 [label="Enter block"];
subgraph cluster_4 {
color=blue
8 [label="Enter when"];
6 [label="Enter when"];
subgraph cluster_5 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/x|"];
9 [label="Enter safe call"];
10 [label="Access variable R|/A.b|"];
11 [label="Exit safe call"];
12 [label="Exit lhs of ?:"];
13 [label="Enter rhs of ?:"];
14 [label="Jump: ^test_1 Unit"];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Lhs of ?: is not null"];
17 [label="Exit ?:"];
18 [label="Exit when branch condition"];
}
19 [label="Synthetic else branch"];
20 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/x|"];
11 [label="Enter safe call"];
12 [label="Access variable R|/A.b|"];
13 [label="Exit safe call"];
14 [label="Exit lhs of ?:"];
15 [label="Enter rhs of ?:"];
16 [label="Jump: ^test_1 Unit"];
17 [label="Stub" style="filled" fillcolor=gray];
18 [label="Lhs of ?: is not null"];
19 [label="Exit ?:"];
20 [label="Exit when branch condition"];
21 [label="Enter block"];
22 [label="Access variable R|<local>/x|"];
23 [label="Function call: R|<local>/x|.R|/A.foo|()"];
24 [label="Exit block"];
}
21 [label="Synthetic else branch"];
22 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/x|"];
25 [label="Function call: R|<local>/x|.R|/A.foo|()"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
25 [label="Exit when branch result"];
26 [label="Exit when"];
}
29 [label="Exit block"];
27 [label="Exit block"];
}
30 [label="Exit function test_1" style="filled" fillcolor=red];
28 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
8 -> {9 11};
9 -> {10};
10 -> {11 13};
10 -> {11};
11 -> {12};
12 -> {13};
12 -> {16 13};
13 -> {14};
14 -> {18 15};
15 -> {16};
16 -> {30};
16 -> {17} [style=dotted];
17 -> {19} [style=dotted];
18 -> {19};
19 -> {20};
20 -> {22 21};
21 -> {28};
14 -> {28};
14 -> {15} [style=dotted];
15 -> {17} [style=dotted];
16 -> {17};
17 -> {18};
18 -> {20 19};
19 -> {26};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
subgraph cluster_8 {
subgraph cluster_7 {
color=red
31 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_9 {
29 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
32 [label="Enter block"];
subgraph cluster_10 {
30 [label="Enter block"];
subgraph cluster_9 {
color=blue
33 [label="Enter when"];
31 [label="Enter when"];
subgraph cluster_10 {
color=blue
32 [label="Enter when branch condition "];
33 [label="Access variable R|<local>/b|"];
34 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
35 [label="Exit when branch condition"];
}
36 [label="Synthetic else branch"];
37 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
34 [label="Enter when branch condition "];
35 [label="Access variable R|<local>/b|"];
36 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
37 [label="Exit when branch condition"];
38 [label="Enter block"];
39 [label="Const: String()"];
40 [label="Jump: ^test2 String()"];
41 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit block" style="filled" fillcolor=gray];
}
38 [label="Synthetic else branch"];
39 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
40 [label="Enter block"];
41 [label="Const: String()"];
42 [label="Jump: ^test2 String()"];
43 [label="Stub" style="filled" fillcolor=gray];
44 [label="Exit block" style="filled" fillcolor=gray];
}
45 [label="Exit when branch result" style="filled" fillcolor=gray];
46 [label="Exit when"];
43 [label="Exit when branch result" style="filled" fillcolor=gray];
44 [label="Exit when"];
}
subgraph cluster_13 {
subgraph cluster_12 {
color=blue
47 [label="Enter when"];
45 [label="Enter when"];
subgraph cluster_13 {
color=blue
46 [label="Enter when branch condition "];
47 [label="Access variable R|<local>/a|"];
48 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
49 [label="Exit when branch condition"];
}
50 [label="Synthetic else branch"];
51 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/a|"];
50 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
51 [label="Exit when branch condition"];
52 [label="Enter block"];
53 [label="Const: String()"];
54 [label="Jump: ^test2 String()"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray];
}
52 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
54 [label="Enter block"];
55 [label="Const: String()"];
56 [label="Jump: ^test2 String()"];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit block" style="filled" fillcolor=gray];
}
59 [label="Exit when branch result" style="filled" fillcolor=gray];
60 [label="Exit when"];
57 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Exit when"];
}
61 [label="Access variable R|<local>/a|"];
62 [label="Exit lhs of ?:"];
63 [label="Enter rhs of ?:"];
64 [label="Access variable R|<local>/b|"];
65 [label="Lhs of ?: is not null"];
66 [label="Exit ?:"];
67 [label="Jump: ^test2 R|<local>/a| ?: R|<local>/b|"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" style="filled" fillcolor=gray];
59 [label="Access variable R|<local>/a|"];
60 [label="Exit lhs of ?:"];
61 [label="Enter rhs of ?:"];
62 [label="Access variable R|<local>/b|"];
63 [label="Lhs of ?: is not null"];
64 [label="Exit ?:"];
65 [label="Jump: ^test2 R|<local>/a| ?: R|<local>/b|"];
66 [label="Stub" style="filled" fillcolor=gray];
67 [label="Exit block" style="filled" fillcolor=gray];
}
70 [label="Exit function test2" style="filled" fillcolor=red];
68 [label="Exit function test2" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {39 38};
38 -> {46};
35 -> {37 36};
36 -> {44};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {70};
40 -> {68};
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
42 -> {43} [style=dotted];
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
45 -> {46} [style=dotted];
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {53 52};
52 -> {60};
49 -> {51 50};
50 -> {58};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {70};
54 -> {68};
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61};
58 -> {59};
59 -> {60};
60 -> {63 61};
61 -> {62};
62 -> {65 63};
62 -> {64};
63 -> {64};
64 -> {66};
65 -> {66};
66 -> {67};
67 -> {70};
64 -> {65};
65 -> {68};
65 -> {66} [style=dotted];
66 -> {67} [style=dotted];
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
}
@@ -27,8 +27,8 @@ digraph lambdaInWhenBranch_kt {
}
5 -> {6} [color=green];
6 -> {7} [style=dotted];
6 -> {13} [color=green];
6 -> {13} [style=dashed];
6 -> {11} [color=green];
6 -> {11} [style=dashed];
subgraph cluster_3 {
color=red
@@ -41,184 +41,179 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_4 {
color=red
11 [label="Enter function getter" style="filled" fillcolor=red];
12 [label="Exit function getter" style="filled" fillcolor=red];
11 [label="Enter property" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/t|"];
13 [label="Exit property" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {7} [color=green];
subgraph cluster_5 {
color=red
13 [label="Enter property" style="filled" fillcolor=red];
14 [label="Access variable R|<local>/t|"];
15 [label="Exit property" style="filled" fillcolor=red];
14 [label="Enter function component1" style="filled" fillcolor=red];
15 [label="Exit function component1" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {7} [color=green];
subgraph cluster_6 {
color=red
16 [label="Enter function component1" style="filled" fillcolor=red];
17 [label="Exit function component1" style="filled" fillcolor=red];
}
16 -> {17};
subgraph cluster_7 {
color=red
18 [label="Enter function copy" style="filled" fillcolor=red];
subgraph cluster_8 {
16 [label="Enter function copy" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
20 [label="Enter default value of t" style="filled" fillcolor=red];
21 [label="Access variable R|/SubClass1.t|"];
22 [label="Exit default value of t" style="filled" fillcolor=red];
18 [label="Enter default value of t" style="filled" fillcolor=red];
19 [label="Access variable R|/SubClass1.t|"];
20 [label="Exit default value of t" style="filled" fillcolor=red];
}
19 [label="Exit function copy" style="filled" fillcolor=red];
17 [label="Exit function copy" style="filled" fillcolor=red];
}
18 -> {20 19};
20 -> {21};
20 -> {20} [style=dashed];
21 -> {22};
16 -> {18 17};
18 -> {19};
18 -> {18} [style=dashed];
19 -> {20};
subgraph cluster_8 {
color=red
21 [label="Enter class SubClass2" style="filled" fillcolor=red];
22 [label="Exit class SubClass2" style="filled" fillcolor=red];
}
21 -> {22} [color=green];
subgraph cluster_9 {
color=red
23 [label="Enter class SubClass2" style="filled" fillcolor=red];
24 [label="Exit class SubClass2" style="filled" fillcolor=red];
23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|Sealed|>()"];
25 [label="Exit function <init>" style="filled" fillcolor=red];
}
23 -> {24} [color=green];
23 -> {24};
24 -> {25};
subgraph cluster_10 {
color=red
25 [label="Enter function <init>" style="filled" fillcolor=red];
26 [label="Delegated constructor call: super<R|Sealed|>()"];
27 [label="Exit function <init>" style="filled" fillcolor=red];
26 [label="Enter function copy" style="filled" fillcolor=red];
27 [label="Exit function copy" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
subgraph cluster_11 {
color=red
28 [label="Enter function copy" style="filled" fillcolor=red];
29 [label="Exit function copy" style="filled" fillcolor=red];
}
28 -> {29};
subgraph cluster_12 {
color=red
30 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_13 {
28 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
31 [label="Enter block"];
subgraph cluster_14 {
29 [label="Enter block"];
subgraph cluster_13 {
color=blue
32 [label="Enter when"];
33 [label="Access variable R|<local>/p|"];
30 [label="Enter when"];
31 [label="Access variable R|<local>/p|"];
subgraph cluster_14 {
color=blue
32 [label="Enter when branch condition "];
33 [label="Type operator: ($subj$ is R|SubClass1|)"];
34 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
34 [label="Enter when branch condition "];
35 [label="Type operator: ($subj$ is R|SubClass1|)"];
36 [label="Exit when branch condition"];
35 [label="Enter when branch condition "];
36 [label="Type operator: ($subj$ is R|SubClass2|)"];
37 [label="Exit when branch condition"];
}
38 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
37 [label="Enter when branch condition "];
38 [label="Type operator: ($subj$ is R|SubClass2|)"];
39 [label="Exit when branch condition"];
39 [label="Enter block"];
40 [label="Const: String()"];
41 [label="Exit block"];
}
40 [label="Enter when branch result"];
42 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
41 [label="Enter block"];
42 [label="Const: String()"];
43 [label="Exit block"];
}
44 [label="Exit when branch result"];
45 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
46 [label="Enter block"];
47 [label="Const: String()"];
48 [label="Postponed enter to lambda"];
subgraph cluster_19 {
44 [label="Enter block"];
45 [label="Const: String()"];
46 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
79 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_20 {
77 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
80 [label="Enter block"];
81 [label="Access variable R|<local>/it|"];
82 [label="Exit block"];
78 [label="Enter block"];
79 [label="Access variable R|<local>/it|"];
80 [label="Exit block"];
}
83 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
81 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
49 [label="Postponed exit from lambda"];
50 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)"];
51 [label="Exit block"];
47 [label="Postponed exit from lambda"];
48 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)"];
49 [label="Exit block"];
}
52 [label="Exit when branch result"];
53 [label="Exit when"];
50 [label="Exit when branch result"];
51 [label="Exit when"];
}
54 [label="Access variable R|<local>/p|"];
55 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_21 {
52 [label="Access variable R|<local>/p|"];
53 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_20 {
color=blue
56 [label="Enter when"];
57 [label="Access variable R|<local>/p|"];
54 [label="Enter when"];
55 [label="Access variable R|<local>/p|"];
subgraph cluster_21 {
color=blue
56 [label="Enter when branch condition "];
57 [label="Type operator: ($subj$ is R|SubClass1|)"];
58 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
58 [label="Enter when branch condition "];
59 [label="Type operator: ($subj$ is R|SubClass1|)"];
60 [label="Exit when branch condition"];
59 [label="Enter when branch condition "];
60 [label="Type operator: ($subj$ is R|SubClass2|)"];
61 [label="Exit when branch condition"];
}
62 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Type operator: ($subj$ is R|SubClass2|)"];
63 [label="Exit when branch condition"];
63 [label="Enter block"];
64 [label="Const: String(2)"];
65 [label="Exit block"];
}
64 [label="Enter when branch result"];
66 [label="Exit when branch result"];
67 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
65 [label="Enter block"];
66 [label="Const: String(2)"];
67 [label="Exit block"];
68 [label="Enter block"];
69 [label="Access variable R|<local>/p|"];
70 [label="Access variable R|/SubClass1.t|"];
71 [label="Exit block"];
}
68 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/p|"];
72 [label="Access variable R|/SubClass1.t|"];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
75 [label="Exit when"];
72 [label="Exit when branch result"];
73 [label="Exit when"];
}
76 [label="Access variable R|kotlin/String.length|"];
77 [label="Exit block"];
74 [label="Access variable R|kotlin/String.length|"];
75 [label="Exit block"];
}
78 [label="Exit function foo" style="filled" fillcolor=red];
76 [label="Exit function foo" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
34 -> {43 35};
35 -> {36};
36 -> {45 37};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {51};
43 -> {44};
44 -> {53};
44 -> {45};
45 -> {46};
46 -> {47};
46 -> {77};
46 -> {47} [color=red];
46 -> {77} [style=dashed];
47 -> {48};
48 -> {79};
48 -> {49} [color=red];
48 -> {79} [style=dashed];
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
@@ -228,17 +223,17 @@ digraph lambdaInWhenBranch_kt {
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
58 -> {67 59};
59 -> {60};
60 -> {69 61};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
66 -> {73};
67 -> {68};
68 -> {75};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
@@ -246,12 +241,10 @@ digraph lambdaInWhenBranch_kt {
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {49} [color=green];
81 -> {47} [color=green];
}
File diff suppressed because it is too large Load Diff
@@ -20,82 +20,75 @@ digraph thisOfExtensionProperty_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function getter" style="filled" fillcolor=red];
5 [label="Exit function getter" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
subgraph cluster_4 {
color=blue
6 [label="Enter &&"];
7 [label="Access variable this@R|/check_1|"];
8 [label="Type operator: (this@R|/check_1| is R|B|)"];
9 [label="Exit left part of &&"];
10 [label="Enter right part of &&"];
11 [label="Access variable R|/B.b|"];
12 [label="Exit &&"];
}
13 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
}
16 [label="Exit function getter" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
subgraph cluster_5 {
color=blue
8 [label="Enter &&"];
9 [label="Access variable this@R|/check_1|"];
10 [label="Type operator: (this@R|/check_1| is R|B|)"];
11 [label="Exit left part of &&"];
12 [label="Enter right part of &&"];
13 [label="Access variable R|/B.b|"];
14 [label="Exit &&"];
}
15 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"];
16 [label="Stub" style="filled" fillcolor=gray];
17 [label="Exit block" style="filled" fillcolor=gray];
}
18 [label="Exit function getter" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
9 -> {12 10};
10 -> {11};
11 -> {14 12};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {18};
13 -> {16};
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
subgraph cluster_6 {
subgraph cluster_5 {
color=red
19 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_7 {
17 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
20 [label="Enter block"];
subgraph cluster_8 {
18 [label="Enter block"];
subgraph cluster_7 {
color=blue
21 [label="Enter &&"];
22 [label="Access variable this@R|/check_2|"];
23 [label="Type operator: (this@R|/check_2| is R|B|)"];
24 [label="Exit left part of &&"];
25 [label="Enter right part of &&"];
26 [label="Access variable this@R|/check_2|"];
27 [label="Access variable R|/B.b|"];
28 [label="Exit &&"];
19 [label="Enter &&"];
20 [label="Access variable this@R|/check_2|"];
21 [label="Type operator: (this@R|/check_2| is R|B|)"];
22 [label="Exit left part of &&"];
23 [label="Enter right part of &&"];
24 [label="Access variable this@R|/check_2|"];
25 [label="Access variable R|/B.b|"];
26 [label="Exit &&"];
}
29 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" style="filled" fillcolor=gray];
27 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"];
28 [label="Stub" style="filled" fillcolor=gray];
29 [label="Exit block" style="filled" fillcolor=gray];
}
32 [label="Exit function getter" style="filled" fillcolor=red];
30 [label="Exit function getter" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
22 -> {26 23};
23 -> {24};
24 -> {28 25};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {32};
27 -> {30};
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
}
@@ -11,8 +11,8 @@ digraph assignSafeCall_kt {
}
0 -> {1} [color=green];
1 -> {2} [style=dotted];
1 -> {15} [color=green];
1 -> {15} [style=dashed];
1 -> {13} [color=green];
1 -> {13} [style=dashed];
subgraph cluster_1 {
color=red
@@ -46,76 +46,71 @@ digraph assignSafeCall_kt {
subgraph cluster_4 {
color=red
13 [label="Enter function getter" style="filled" fillcolor=red];
14 [label="Exit function getter" style="filled" fillcolor=red];
13 [label="Enter property" style="filled" fillcolor=red];
14 [label="Const: Int(1)"];
15 [label="Exit property" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {2} [color=green];
subgraph cluster_5 {
color=red
15 [label="Enter property" style="filled" fillcolor=red];
16 [label="Const: Int(1)"];
17 [label="Exit property" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {2} [color=green];
subgraph cluster_6 {
color=red
18 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_7 {
16 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
19 [label="Enter block"];
20 [label="Exit block"];
17 [label="Enter block"];
18 [label="Exit block"];
}
21 [label="Exit function bar" style="filled" fillcolor=red];
19 [label="Exit function bar" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
subgraph cluster_8 {
subgraph cluster_7 {
color=red
22 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_9 {
20 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/a|"];
25 [label="Enter safe call"];
26 [label="Access variable R|/A.x|"];
27 [label="Exit safe call"];
28 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_10 {
21 [label="Enter block"];
22 [label="Access variable R|<local>/a|"];
23 [label="Enter safe call"];
24 [label="Access variable R|/A.x|"];
25 [label="Exit safe call"];
26 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_9 {
color=blue
29 [label="Enter when"];
27 [label="Enter when"];
subgraph cluster_10 {
color=blue
28 [label="Enter when branch condition "];
29 [label="Access variable R|<local>/x|"];
30 [label="Const: Null(null)"];
31 [label="Equality operator !="];
32 [label="Exit when branch condition"];
}
33 [label="Synthetic else branch"];
34 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
30 [label="Enter when branch condition "];
31 [label="Access variable R|<local>/x|"];
32 [label="Const: Null(null)"];
33 [label="Equality operator !="];
34 [label="Exit when branch condition"];
35 [label="Enter block"];
36 [label="Access variable R|<local>/a|"];
37 [label="Function call: R|<local>/a|.R|/A.bar|()"];
38 [label="Exit block"];
}
35 [label="Synthetic else branch"];
36 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/a|"];
39 [label="Function call: R|<local>/a|.R|/A.bar|()"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
42 [label="Exit when"];
39 [label="Exit when branch result"];
40 [label="Exit when"];
}
43 [label="Exit block"];
41 [label="Exit block"];
}
44 [label="Exit function test_1" style="filled" fillcolor=red];
42 [label="Exit function test_1" style="filled" fillcolor=red];
}
22 -> {23};
20 -> {21};
21 -> {22};
22 -> {23 25};
23 -> {24};
24 -> {25 27};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
@@ -123,60 +118,60 @@ digraph assignSafeCall_kt {
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {36 35};
35 -> {42};
32 -> {34 33};
33 -> {40};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
subgraph cluster_13 {
subgraph cluster_12 {
color=red
45 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_14 {
43 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/a|"];
48 [label="Enter safe call"];
49 [label="Function call: $subj$.R|/A.foo|()"];
50 [label="Exit safe call"];
51 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_15 {
44 [label="Enter block"];
45 [label="Access variable R|<local>/a|"];
46 [label="Enter safe call"];
47 [label="Function call: $subj$.R|/A.foo|()"];
48 [label="Exit safe call"];
49 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_14 {
color=blue
52 [label="Enter when"];
50 [label="Enter when"];
subgraph cluster_15 {
color=blue
51 [label="Enter when branch condition "];
52 [label="Access variable R|<local>/x|"];
53 [label="Const: Null(null)"];
54 [label="Equality operator !="];
55 [label="Exit when branch condition"];
}
56 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
53 [label="Enter when branch condition "];
54 [label="Access variable R|<local>/x|"];
55 [label="Const: Null(null)"];
56 [label="Equality operator !="];
57 [label="Exit when branch condition"];
58 [label="Enter block"];
59 [label="Access variable R|<local>/a|"];
60 [label="Function call: R|<local>/a|.R|/A.bar|()"];
61 [label="Exit block"];
}
58 [label="Synthetic else branch"];
59 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
60 [label="Enter block"];
61 [label="Access variable R|<local>/a|"];
62 [label="Function call: R|<local>/a|.R|/A.bar|()"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Exit when"];
62 [label="Exit when branch result"];
63 [label="Exit when"];
}
66 [label="Exit block"];
64 [label="Exit block"];
}
67 [label="Exit function test_2" style="filled" fillcolor=red];
65 [label="Exit function test_2" style="filled" fillcolor=red];
}
45 -> {46};
43 -> {44};
44 -> {45};
45 -> {46 48};
46 -> {47};
47 -> {48 50};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
@@ -184,249 +179,240 @@ digraph assignSafeCall_kt {
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {59 58};
58 -> {65};
55 -> {57 56};
56 -> {63};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
subgraph cluster_18 {
subgraph cluster_17 {
color=red
68 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_19 {
66 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
69 [label="Enter block"];
70 [label="Access variable R|<local>/x|"];
71 [label="Type operator: (R|<local>/x| as? R|A|)"];
72 [label="Exit lhs of ?:"];
73 [label="Enter rhs of ?:"];
74 [label="Jump: ^test_3 Unit"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Lhs of ?: is not null"];
77 [label="Exit ?:"];
78 [label="Variable declaration: lval a: R|A|"];
79 [label="Access variable R|<local>/a|"];
80 [label="Function call: R|<local>/a|.R|/A.foo|()"];
81 [label="Access variable R|<local>/x|"];
82 [label="Function call: R|<local>/x|.R|/A.foo|()"];
83 [label="Exit block"];
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Type operator: (R|<local>/x| as? R|A|)"];
70 [label="Exit lhs of ?:"];
71 [label="Enter rhs of ?:"];
72 [label="Jump: ^test_3 Unit"];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Lhs of ?: is not null"];
75 [label="Exit ?:"];
76 [label="Variable declaration: lval a: R|A|"];
77 [label="Access variable R|<local>/a|"];
78 [label="Function call: R|<local>/a|.R|/A.foo|()"];
79 [label="Access variable R|<local>/x|"];
80 [label="Function call: R|<local>/x|.R|/A.foo|()"];
81 [label="Exit block"];
}
84 [label="Exit function test_3" style="filled" fillcolor=red];
82 [label="Exit function test_3" style="filled" fillcolor=red];
}
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {74 71};
71 -> {72};
72 -> {76 73};
73 -> {74};
74 -> {84};
74 -> {75} [style=dotted];
75 -> {77} [style=dotted];
72 -> {82};
72 -> {73} [style=dotted];
73 -> {75} [style=dotted];
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
subgraph cluster_19 {
color=red
83 [label="Enter class B" style="filled" fillcolor=red];
84 [label="Exit class B" style="filled" fillcolor=red];
}
83 -> {84} [color=green];
subgraph cluster_20 {
color=red
85 [label="Enter class B" style="filled" fillcolor=red];
86 [label="Exit class B" style="filled" fillcolor=red];
85 [label="Enter function foo" style="filled" fillcolor=red];
86 [label="Exit function foo" style="filled" fillcolor=red];
}
85 -> {86} [color=green];
85 -> {86};
subgraph cluster_21 {
color=red
87 [label="Enter function foo" style="filled" fillcolor=red];
88 [label="Exit function foo" style="filled" fillcolor=red];
87 [label="Enter function bar" style="filled" fillcolor=red];
88 [label="Exit function bar" style="filled" fillcolor=red];
}
87 -> {88};
subgraph cluster_22 {
color=red
89 [label="Enter function getter" style="filled" fillcolor=red];
90 [label="Exit function getter" style="filled" fillcolor=red];
89 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/a|"];
92 [label="Enter safe call"];
93 [label="Access variable R|/B.x|"];
94 [label="Exit safe call"];
95 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_24 {
color=blue
96 [label="Enter when"];
subgraph cluster_25 {
color=blue
97 [label="Enter when branch condition "];
98 [label="Access variable R|<local>/x|"];
99 [label="Const: Null(null)"];
100 [label="Equality operator !="];
101 [label="Exit when branch condition"];
}
102 [label="Synthetic else branch"];
103 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/a|"];
106 [label="Function call: R|<local>/a|.R|/B.bar|()"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
110 [label="Exit block"];
}
111 [label="Exit function test_1" style="filled" fillcolor=red];
}
89 -> {90};
subgraph cluster_23 {
color=red
91 [label="Enter function bar" style="filled" fillcolor=red];
92 [label="Exit function bar" style="filled" fillcolor=red];
}
91 -> {92};
subgraph cluster_24 {
color=red
93 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
94 [label="Enter block"];
95 [label="Access variable R|<local>/a|"];
96 [label="Enter safe call"];
97 [label="Access variable R|/B.x|"];
98 [label="Exit safe call"];
99 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_26 {
color=blue
100 [label="Enter when"];
subgraph cluster_27 {
color=blue
101 [label="Enter when branch condition "];
102 [label="Access variable R|<local>/x|"];
103 [label="Const: Null(null)"];
104 [label="Equality operator !="];
105 [label="Exit when branch condition"];
}
106 [label="Synthetic else branch"];
107 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
108 [label="Enter block"];
109 [label="Access variable R|<local>/a|"];
110 [label="Function call: R|<local>/a|.R|/B.bar|()"];
111 [label="Exit block"];
}
112 [label="Exit when branch result"];
113 [label="Exit when"];
}
114 [label="Exit block"];
}
115 [label="Exit function test_1" style="filled" fillcolor=red];
}
90 -> {91};
91 -> {92 94};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96 98};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
101 -> {103 102};
102 -> {109};
103 -> {104};
104 -> {105};
105 -> {107 106};
106 -> {113};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
subgraph cluster_27 {
color=red
112 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/a|"];
115 [label="Enter safe call"];
116 [label="Function call: $subj$.R|/B.foo|()"];
117 [label="Exit safe call"];
118 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_29 {
color=blue
119 [label="Enter when"];
subgraph cluster_30 {
color=blue
120 [label="Enter when branch condition "];
121 [label="Access variable R|<local>/x|"];
122 [label="Const: Null(null)"];
123 [label="Equality operator !="];
124 [label="Exit when branch condition"];
}
125 [label="Synthetic else branch"];
126 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
127 [label="Enter block"];
128 [label="Access variable R|<local>/a|"];
129 [label="Function call: R|<local>/a|.R|/B.bar|()"];
130 [label="Exit block"];
}
131 [label="Exit when branch result"];
132 [label="Exit when"];
}
133 [label="Exit block"];
}
134 [label="Exit function test_2" style="filled" fillcolor=red];
}
112 -> {113};
113 -> {114};
114 -> {115};
subgraph cluster_29 {
color=red
116 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
117 [label="Enter block"];
118 [label="Access variable R|<local>/a|"];
119 [label="Enter safe call"];
120 [label="Function call: $subj$.R|/B.foo|()"];
121 [label="Exit safe call"];
122 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_31 {
color=blue
123 [label="Enter when"];
subgraph cluster_32 {
color=blue
124 [label="Enter when branch condition "];
125 [label="Access variable R|<local>/x|"];
126 [label="Const: Null(null)"];
127 [label="Equality operator !="];
128 [label="Exit when branch condition"];
}
129 [label="Synthetic else branch"];
130 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
131 [label="Enter block"];
132 [label="Access variable R|<local>/a|"];
133 [label="Function call: R|<local>/a|.R|/B.bar|()"];
134 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
137 [label="Exit block"];
}
138 [label="Exit function test_2" style="filled" fillcolor=red];
}
114 -> {115 117};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119 121};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
124 -> {126 125};
125 -> {132};
126 -> {127};
127 -> {128};
128 -> {130 129};
129 -> {136};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
subgraph cluster_32 {
color=red
135 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
136 [label="Enter block"];
137 [label="Access variable R|<local>/x|"];
138 [label="Type operator: (R|<local>/x| as? R|B|)"];
139 [label="Exit lhs of ?:"];
140 [label="Enter rhs of ?:"];
141 [label="Jump: ^test_3 Unit"];
142 [label="Stub" style="filled" fillcolor=gray];
143 [label="Lhs of ?: is not null"];
144 [label="Exit ?:"];
145 [label="Variable declaration: lval a: R|B|"];
146 [label="Access variable R|<local>/a|"];
147 [label="Function call: R|<local>/a|.R|/B.foo|()"];
148 [label="Access variable R|<local>/x|"];
149 [label="Function call: R|<local>/x|.R|/B.foo|()"];
150 [label="Exit block"];
}
151 [label="Exit function test_3" style="filled" fillcolor=red];
}
135 -> {136};
136 -> {137};
137 -> {138};
subgraph cluster_34 {
color=red
139 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
140 [label="Enter block"];
141 [label="Access variable R|<local>/x|"];
142 [label="Type operator: (R|<local>/x| as? R|B|)"];
143 [label="Exit lhs of ?:"];
144 [label="Enter rhs of ?:"];
145 [label="Jump: ^test_3 Unit"];
146 [label="Stub" style="filled" fillcolor=gray];
147 [label="Lhs of ?: is not null"];
148 [label="Exit ?:"];
149 [label="Variable declaration: lval a: R|B|"];
150 [label="Access variable R|<local>/a|"];
151 [label="Function call: R|<local>/a|.R|/B.foo|()"];
152 [label="Access variable R|<local>/x|"];
153 [label="Function call: R|<local>/x|.R|/B.foo|()"];
154 [label="Exit block"];
}
155 [label="Exit function test_3" style="filled" fillcolor=red];
}
139 -> {140};
138 -> {139};
139 -> {143 140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {147 144};
141 -> {151};
141 -> {142} [style=dotted];
142 -> {144} [style=dotted];
143 -> {144};
144 -> {145};
145 -> {155};
145 -> {146} [style=dotted];
146 -> {148} [style=dotted];
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
}
@@ -55,8 +55,8 @@ digraph smartCastInInit_kt {
}
14 -> {15} [color=green];
15 -> {16} [style=dotted];
15 -> {22} [color=green];
15 -> {22} [style=dashed];
15 -> {20} [color=green];
15 -> {20} [style=dashed];
subgraph cluster_6 {
color=red
@@ -69,32 +69,25 @@ digraph smartCastInInit_kt {
subgraph cluster_7 {
color=red
20 [label="Enter function getter" style="filled" fillcolor=red];
21 [label="Exit function getter" style="filled" fillcolor=red];
20 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
22 [label="Function call: R|/s|()"];
23 [label="Assignment: R|/Main.x|"];
24 [label="Access variable R|/Main.x|"];
25 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
26 [label="Exit block"];
}
27 [label="Exit init block" style="filled" fillcolor=red];
}
20 -> {21};
subgraph cluster_8 {
color=red
22 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
23 [label="Enter block"];
24 [label="Function call: R|/s|()"];
25 [label="Assignment: R|/Main.x|"];
26 [label="Access variable R|/Main.x|"];
27 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
28 [label="Exit block"];
}
29 [label="Exit init block" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {16} [color=green];
27 -> {16} [color=green];
}
@@ -123,11 +123,11 @@ digraph smartcastToNothing_kt {
}
38 -> {39} [color=green];
39 -> {40} [style=dotted];
39 -> {47} [color=green];
39 -> {47} [style=dashed];
39 -> {45} [color=green];
39 -> {45} [style=dashed];
40 -> {41} [style=dotted];
40 -> {52} [color=green];
40 -> {52} [style=dashed];
40 -> {48} [color=green];
40 -> {48} [style=dashed];
subgraph cluster_11 {
color=red
@@ -140,124 +140,114 @@ digraph smartcastToNothing_kt {
subgraph cluster_12 {
color=red
45 [label="Enter function getter" style="filled" fillcolor=red];
46 [label="Exit function getter" style="filled" fillcolor=red];
45 [label="Enter property" style="filled" fillcolor=red];
46 [label="Const: Int(1)"];
47 [label="Exit property" style="filled" fillcolor=red];
}
45 -> {46};
46 -> {47};
47 -> {40} [color=green];
subgraph cluster_13 {
color=red
47 [label="Enter property" style="filled" fillcolor=red];
48 [label="Const: Int(1)"];
49 [label="Exit property" style="filled" fillcolor=red];
48 [label="Enter property" style="filled" fillcolor=red];
49 [label="Const: Boolean(true)"];
50 [label="Exit property" style="filled" fillcolor=red];
}
47 -> {48};
48 -> {49};
49 -> {40} [color=green];
49 -> {50};
50 -> {41} [color=green];
subgraph cluster_14 {
color=red
50 [label="Enter function getter" style="filled" fillcolor=red];
51 [label="Exit function getter" style="filled" fillcolor=red];
}
50 -> {51};
subgraph cluster_15 {
color=red
52 [label="Enter property" style="filled" fillcolor=red];
53 [label="Const: Boolean(true)"];
54 [label="Exit property" style="filled" fillcolor=red];
51 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
52 [label="Enter block"];
53 [label="Const: Null(null)"];
54 [label="Variable declaration: lvar s: R|A?|"];
55 [label="Access variable R|<local>/results|"];
56 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
57 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_16 {
color=blue
58 [label="Enter while loop"];
subgraph cluster_17 {
color=blue
59 [label="Enter loop condition"];
60 [label="Access variable R|<local>/<iterator>|"];
61 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
62 [label="Exit loop condition"];
}
subgraph cluster_18 {
color=blue
63 [label="Enter loop block"];
subgraph cluster_19 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/<iterator>|"];
66 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
67 [label="Stub" style="filled" fillcolor=gray];
68 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
69 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_20 {
color=blue
72 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_21 {
color=blue
73 [label="Enter when branch condition " style="filled" fillcolor=gray];
74 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
77 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
78 [label="Synthetic else branch" style="filled" fillcolor=gray];
79 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_22 {
color=blue
80 [label="Enter block" style="filled" fillcolor=gray];
81 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Exit block" style="filled" fillcolor=gray];
}
84 [label="Exit when branch result" style="filled" fillcolor=gray];
85 [label="Exit when" style="filled" fillcolor=gray];
}
86 [label="Exit block" style="filled" fillcolor=gray];
}
87 [label="Exit loop block" style="filled" fillcolor=gray];
}
88 [label="Exit whileloop"];
}
89 [label="Access variable R|<local>/s|"];
90 [label="Enter safe call"];
91 [label="Postponed enter to lambda"];
subgraph cluster_23 {
color=blue
98 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
99 [label="Enter block"];
100 [label="Access variable R|<local>/it|"];
101 [label="Access variable R|/A.a|"];
102 [label="Exit block"];
}
103 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
92 [label="Call arguments union" style="filled" fillcolor=yellow];
93 [label="Postponed exit from lambda"];
94 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
95 [label="Exit safe call"];
96 [label="Exit block"];
}
97 [label="Exit function test_0" style="filled" fillcolor=red];
}
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {41} [color=green];
subgraph cluster_16 {
color=red
55 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
56 [label="Enter block"];
57 [label="Const: Null(null)"];
58 [label="Variable declaration: lvar s: R|A?|"];
59 [label="Access variable R|<local>/results|"];
60 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
61 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_18 {
color=blue
62 [label="Enter while loop"];
subgraph cluster_19 {
color=blue
63 [label="Enter loop condition"];
64 [label="Access variable R|<local>/<iterator>|"];
65 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
66 [label="Exit loop condition"];
}
subgraph cluster_20 {
color=blue
67 [label="Enter loop block"];
subgraph cluster_21 {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/<iterator>|"];
70 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
71 [label="Stub" style="filled" fillcolor=gray];
72 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
73 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
74 [label="Stub" style="filled" fillcolor=gray];
75 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_22 {
color=blue
76 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_23 {
color=blue
77 [label="Enter when branch condition " style="filled" fillcolor=gray];
78 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
79 [label="Stub" style="filled" fillcolor=gray];
80 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
81 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
82 [label="Synthetic else branch" style="filled" fillcolor=gray];
83 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_24 {
color=blue
84 [label="Enter block" style="filled" fillcolor=gray];
85 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
86 [label="Stub" style="filled" fillcolor=gray];
87 [label="Exit block" style="filled" fillcolor=gray];
}
88 [label="Exit when branch result" style="filled" fillcolor=gray];
89 [label="Exit when" style="filled" fillcolor=gray];
}
90 [label="Exit block" style="filled" fillcolor=gray];
}
91 [label="Exit loop block" style="filled" fillcolor=gray];
}
92 [label="Exit whileloop"];
}
93 [label="Access variable R|<local>/s|"];
94 [label="Enter safe call"];
95 [label="Postponed enter to lambda"];
subgraph cluster_25 {
color=blue
102 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
103 [label="Enter block"];
104 [label="Access variable R|<local>/it|"];
105 [label="Access variable R|/A.a|"];
106 [label="Exit block"];
}
107 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
96 [label="Call arguments union" style="filled" fillcolor=yellow];
97 [label="Postponed exit from lambda"];
98 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
99 [label="Exit safe call"];
100 [label="Exit block"];
}
101 [label="Exit function test_0" style="filled" fillcolor=red];
}
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
@@ -265,56 +255,52 @@ digraph smartcastToNothing_kt {
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
62 -> {88 63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {92 67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {101} [label=onUncaughtException];
66 -> {97} [label=onUncaughtException];
66 -> {67} [style=dotted];
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
69 -> {97} [style=dotted] [label=onUncaughtException];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
73 -> {101} [style=dotted] [label=onUncaughtException];
74 -> {75} [style=dotted];
74 -> {97} [style=dotted] [label=onUncaughtException];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
78 -> {101} [style=dotted] [label=onUncaughtException];
77 -> {79 78} [style=dotted];
78 -> {85} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {83 82} [style=dotted];
82 -> {89} [style=dotted];
81 -> {88 82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {92 86} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
91 -> {63} [color=green style=dotted];
92 -> {93};
93 -> {94 99};
87 -> {59} [color=green style=dotted];
88 -> {89};
89 -> {90 95};
90 -> {91};
91 -> {98};
91 -> {93} [color=red];
91 -> {98} [style=dashed];
92 -> {94} [color=red];
93 -> {94} [color=green];
94 -> {95};
95 -> {102};
95 -> {97} [color=red];
95 -> {102} [style=dashed];
96 -> {98} [color=red];
97 -> {98} [color=green];
95 -> {96};
96 -> {97};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {96} [color=red];
107 -> {97} [color=green];
103 -> {92} [color=red];
103 -> {93} [color=green];
}
@@ -11,8 +11,8 @@ digraph overridenOpenVal_kt {
}
0 -> {1} [color=green];
1 -> {2} [style=dotted];
1 -> {8} [color=green];
1 -> {8} [style=dashed];
1 -> {6} [color=green];
1 -> {6} [style=dashed];
subgraph cluster_1 {
color=red
@@ -25,131 +25,126 @@ digraph overridenOpenVal_kt {
subgraph cluster_2 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red];
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/x|"];
8 [label="Exit property" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {2} [color=green];
subgraph cluster_3 {
color=red
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/x|"];
10 [label="Exit property" style="filled" fillcolor=red];
9 [label="Enter class B" style="filled" fillcolor=red];
10 [label="Exit class B" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {2} [color=green];
9 -> {10} [color=green];
subgraph cluster_4 {
color=red
11 [label="Enter class B" style="filled" fillcolor=red];
12 [label="Exit class B" style="filled" fillcolor=red];
11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/x|"];
13 [label="Delegated constructor call: super<R|A|>(...)"];
14 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12} [color=green];
11 -> {12};
12 -> {13};
13 -> {14};
subgraph cluster_5 {
color=red
13 [label="Enter function <init>" style="filled" fillcolor=red];
14 [label="Access variable R|<local>/x|"];
15 [label="Delegated constructor call: super<R|A|>(...)"];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_6 {
color=red
17 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
15 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
subgraph cluster_8 {
16 [label="Enter block"];
subgraph cluster_7 {
color=blue
19 [label="Enter when"];
17 [label="Enter when"];
subgraph cluster_8 {
color=blue
18 [label="Enter when branch condition "];
19 [label="Access variable R|/A.x|"];
20 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
21 [label="Exit when branch condition"];
}
22 [label="Synthetic else branch"];
23 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
20 [label="Enter when branch condition "];
21 [label="Access variable R|/A.x|"];
22 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
23 [label="Exit when branch condition"];
24 [label="Enter block"];
25 [label="Access variable R|/A.x|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit block"];
}
24 [label="Synthetic else branch"];
25 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|/A.x|"];
28 [label="Access variable R|kotlin/String.length|"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
31 [label="Exit when"];
28 [label="Exit when branch result"];
29 [label="Exit when"];
}
32 [label="Exit block"];
30 [label="Exit block"];
}
33 [label="Exit function test_1" style="filled" fillcolor=red];
31 [label="Exit function test_1" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {25 24};
24 -> {31};
21 -> {23 22};
22 -> {29};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_11 {
subgraph cluster_10 {
color=red
34 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
subgraph cluster_13 {
33 [label="Enter block"];
subgraph cluster_12 {
color=blue
36 [label="Enter when"];
34 [label="Enter when"];
subgraph cluster_13 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"];
37 [label="Access variable R|/A.x|"];
38 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
39 [label="Exit when branch condition"];
}
40 [label="Synthetic else branch"];
41 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
37 [label="Enter when branch condition "];
38 [label="Access variable R|<local>/b|"];
39 [label="Access variable R|/A.x|"];
40 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
41 [label="Exit when branch condition"];
42 [label="Enter block"];
43 [label="Access variable R|<local>/b|"];
44 [label="Access variable R|/A.x|"];
45 [label="Access variable R|kotlin/String.length|"];
46 [label="Exit block"];
}
42 [label="Synthetic else branch"];
43 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/b|"];
46 [label="Access variable R|/A.x|"];
47 [label="Access variable R|kotlin/String.length|"];
48 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Exit when"];
47 [label="Exit when branch result"];
48 [label="Exit when"];
}
51 [label="Exit block"];
49 [label="Exit block"];
}
52 [label="Exit function test_2" style="filled" fillcolor=red];
50 [label="Exit function test_2" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {43 42};
42 -> {50};
39 -> {41 40};
40 -> {48};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
@@ -157,7 +152,5 @@ digraph overridenOpenVal_kt {
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
}
@@ -27,10 +27,10 @@ digraph inAnonymousObject_kt {
}
0 -> {1};
1 -> {2};
1 -> {13 18 16 21 23 29} [color=red];
1 -> {13 16 19 25} [color=red];
2 -> {3};
2 -> {13 29 9} [color=green];
2 -> {13 29 9} [style=dashed];
2 -> {13 25 9} [color=green];
2 -> {13 25 9} [style=dashed];
3 -> {4};
4 -> {5};
5 -> {6};
@@ -38,11 +38,11 @@ digraph inAnonymousObject_kt {
7 -> {8};
9 -> {10} [color=green];
10 -> {11} [style=dotted];
10 -> {18} [color=green];
10 -> {18} [style=dashed];
10 -> {16} [color=green];
10 -> {16} [style=dashed];
11 -> {12} [style=dotted];
11 -> {23} [color=green];
11 -> {23} [style=dashed];
11 -> {19} [color=green];
11 -> {19} [style=dashed];
subgraph cluster_3 {
color=red
@@ -55,61 +55,47 @@ digraph inAnonymousObject_kt {
subgraph cluster_4 {
color=red
16 [label="Enter function getter" style="filled" fillcolor=red];
17 [label="Exit function getter" style="filled" fillcolor=red];
16 [label="Enter property" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/a|"];
18 [label="Exit property" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {11} [color=green];
subgraph cluster_5 {
color=red
18 [label="Enter property" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/a|"];
20 [label="Exit property" style="filled" fillcolor=red];
19 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/b|"];
22 [label="Assignment: R|/<anonymous>.leaked|"];
23 [label="Exit block"];
}
24 [label="Exit init block" style="filled" fillcolor=red];
}
18 -> {19};
19 -> {20};
20 -> {11} [color=green];
subgraph cluster_6 {
color=red
21 [label="Enter function getter" style="filled" fillcolor=red];
22 [label="Exit function getter" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {12} [color=green];
subgraph cluster_7 {
color=red
23 [label="Enter init block" style="filled" fillcolor=red];
25 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/b|"];
26 [label="Assignment: R|/<anonymous>.leaked|"];
27 [label="Exit block"];
26 [label="Enter block"];
27 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
28 [label="Exit block"];
}
28 [label="Exit init block" style="filled" fillcolor=red];
29 [label="Exit function run" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {12} [color=green];
subgraph cluster_9 {
color=red
29 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
30 [label="Enter block"];
31 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
32 [label="Exit block"];
}
33 [label="Exit function run" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
28 -> {29};
}
@@ -26,97 +26,83 @@ digraph inLocalClass_kt {
}
0 -> {1};
1 -> {2};
1 -> {14 12 17 19 25 31} [color=red];
1 -> {12 15 21 27} [color=red];
2 -> {3};
2 -> {19 31 8} [color=green];
2 -> {19 31 8} [style=dashed];
2 -> {15 27 8} [color=green];
2 -> {15 27 8} [style=dashed];
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
8 -> {9} [color=green];
9 -> {10} [style=dotted];
9 -> {14} [color=green];
9 -> {14} [style=dashed];
9 -> {12} [color=green];
9 -> {12} [style=dashed];
10 -> {11} [style=dotted];
10 -> {25} [color=green];
10 -> {25} [style=dashed];
10 -> {21} [color=green];
10 -> {21} [style=dashed];
subgraph cluster_3 {
color=red
12 [label="Enter function getter" style="filled" fillcolor=red];
13 [label="Exit function getter" style="filled" fillcolor=red];
12 [label="Enter property" style="filled" fillcolor=red];
13 [label="Access variable R|<local>/a|"];
14 [label="Exit property" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
14 -> {10} [color=green];
subgraph cluster_4 {
color=red
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Access variable R|<local>/a|"];
16 [label="Exit property" style="filled" fillcolor=red];
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
19 [label="Exit block"];
}
20 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {10} [color=green];
subgraph cluster_5 {
color=red
17 [label="Enter function getter" style="filled" fillcolor=red];
18 [label="Exit function getter" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
subgraph cluster_6 {
color=red
19 [label="Enter function <init>" style="filled" fillcolor=red];
20 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
21 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
21 [label="Enter block"];
22 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
23 [label="Exit block"];
22 [label="Enter block"];
23 [label="Access variable R|<local>/c|"];
24 [label="Assignment: R|/LocalClass.leaked|"];
25 [label="Exit block"];
}
24 [label="Exit function <init>" style="filled" fillcolor=red];
26 [label="Exit init block" style="filled" fillcolor=red];
}
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {11} [color=green];
subgraph cluster_8 {
color=red
25 [label="Enter init block" style="filled" fillcolor=red];
27 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/c|"];
28 [label="Assignment: R|/LocalClass.leaked|"];
29 [label="Exit block"];
28 [label="Enter block"];
29 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
30 [label="Exit block"];
}
30 [label="Exit init block" style="filled" fillcolor=red];
31 [label="Exit function run" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {11} [color=green];
subgraph cluster_10 {
color=red
31 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
32 [label="Enter block"];
33 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
34 [label="Exit block"];
}
35 [label="Exit function run" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
30 -> {31};
}
@@ -58,8 +58,8 @@ digraph plusAssignWithLambdaInRhs_kt {
}
16 -> {17} [color=green];
17 -> {18} [style=dotted];
17 -> {24} [color=green];
17 -> {24} [style=dashed];
17 -> {22} [color=green];
17 -> {22} [style=dashed];
subgraph cluster_5 {
color=red
@@ -72,97 +72,90 @@ digraph plusAssignWithLambdaInRhs_kt {
subgraph cluster_6 {
color=red
22 [label="Enter function getter" style="filled" fillcolor=red];
23 [label="Exit function getter" style="filled" fillcolor=red];
22 [label="Enter property" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/executor|"];
24 [label="Exit property" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {18} [color=green];
subgraph cluster_7 {
color=red
24 [label="Enter property" style="filled" fillcolor=red];
25 [label="Access variable R|<local>/executor|"];
26 [label="Exit property" style="filled" fillcolor=red];
}
24 -> {25};
25 -> {26};
26 -> {18} [color=green];
subgraph cluster_8 {
color=red
27 [label="Enter function postpone" style="filled" fillcolor=red];
subgraph cluster_9 {
25 [label="Enter function postpone" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
28 [label="Enter block"];
29 [label="Function call: R|kotlin/collections/mutableListOf|<R|() -> kotlin/Unit|>()"];
30 [label="Variable declaration: lval queue: R|kotlin/collections/MutableList<kotlin/Function0<kotlin/Unit>>|"];
31 [label="Postponed enter to lambda"];
subgraph cluster_10 {
26 [label="Enter block"];
27 [label="Function call: R|kotlin/collections/mutableListOf|<R|() -> kotlin/Unit|>()"];
28 [label="Variable declaration: lval queue: R|kotlin/collections/MutableList<kotlin/Function0<kotlin/Unit>>|"];
29 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
38 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 {
36 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/queue|"];
41 [label="Postponed enter to lambda"];
subgraph cluster_12 {
37 [label="Enter block"];
38 [label="Access variable R|<local>/queue|"];
39 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
47 [label="Enter block"];
48 [label="Function call: R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
49 [label="Function call: R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(...)"];
50 [label="Exit block"];
45 [label="Enter block"];
46 [label="Function call: R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
47 [label="Function call: R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(...)"];
48 [label="Exit block"];
}
51 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
49 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
42 [label="Postponed exit from lambda"];
43 [label="Function call: R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(...)"];
44 [label="Exit block"];
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(...)"];
42 [label="Exit block"];
}
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
43 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
32 [label="Postponed exit from lambda"];
33 [label="Function call: R|/A.A|<R|T|>(...)"];
34 [label="Jump: ^postpone R|/A.A|<R|T|>(<L> = A@fun <anonymous>(resolve: R|(T) -> kotlin/Unit|): R|kotlin/Unit| <inline=NoInline> {
30 [label="Postponed exit from lambda"];
31 [label="Function call: R|/A.A|<R|T|>(...)"];
32 [label="Jump: ^postpone R|/A.A|<R|T|>(<L> = A@fun <anonymous>(resolve: R|(T) -> kotlin/Unit|): R|kotlin/Unit| <inline=NoInline> {
R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(A@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|())
}
)
}
)"];
35 [label="Stub" style="filled" fillcolor=gray];
36 [label="Exit block" style="filled" fillcolor=gray];
33 [label="Stub" style="filled" fillcolor=gray];
34 [label="Exit block" style="filled" fillcolor=gray];
}
37 [label="Exit function postpone" style="filled" fillcolor=red];
35 [label="Exit function postpone" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
29 -> {30 36};
29 -> {36} [style=dashed];
30 -> {31};
31 -> {32 38};
31 -> {38} [style=dashed];
32 -> {33};
33 -> {34};
34 -> {37};
31 -> {32};
32 -> {35};
32 -> {33} [style=dotted];
33 -> {34} [style=dotted];
34 -> {35} [style=dotted];
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {44};
39 -> {40} [color=red];
39 -> {44} [style=dashed];
40 -> {41};
41 -> {46};
41 -> {42} [color=red];
41 -> {46} [style=dashed];
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
46 -> {51 47};
44 -> {49 45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {42} [color=green];
51 -> {46} [color=green style=dashed];
49 -> {40} [color=green];
49 -> {44} [color=green style=dashed];
}
@@ -38,7 +38,7 @@ abstract class FirDefaultPropertyAccessor(
) : FirPropertyAccessorImpl(
source,
session,
resolvePhase = FirResolvePhase.RAW_FIR,
resolvePhase = FirResolvePhase.BODY_RESOLVE,
origin,
FirDeclarationAttributes(),
propertyTypeRef,
@@ -53,7 +53,9 @@ abstract class FirDefaultPropertyAccessor(
annotations = mutableListOf(),
typeParameters = mutableListOf(),
) {
override var resolvePhase = FirResolvePhase.BODY_RESOLVE
override var resolvePhase
get() = FirResolvePhase.BODY_RESOLVE
set(_) {}
final override var body: FirBlock?
get() = null
File diff suppressed because it is too large Load Diff
@@ -3,4 +3,4 @@ FILE: propertyWithInitializer.kt
<Unresolved name: receive>#(R|/property|)
}
public final [STATUS] val property: R|kotlin/Int| = LAZY_EXPRESSION
[STATUS] public get(): R|kotlin/Int|
[BODY_RESOLVE] public get(): R|kotlin/Int|
+1 -1
View File
@@ -5,7 +5,7 @@ FILE: main.kt
}
public final [STATUS] val value: R|kotlin/String?| = R|<local>/value|
[STATUS] public get(): R|kotlin/String?|
[BODY_RESOLVE] public get(): R|kotlin/String?|
public final [BODY_RESOLVE] fun foo(): R|kotlin/String| {
^foo this@R|elvis/WithElvis|.R|elvis/WithElvis.value| ?: String()
+1 -1
View File
@@ -1,7 +1,7 @@
FILE: main.kt
public final [STATUS] class Foo : R|kotlin/Any| {
public final [STATUS] val x: R|kotlin/Int|
[STATUS] public get(): R|kotlin/Int|
[BODY_RESOLVE] public get(): R|kotlin/Int|
public [BODY_RESOLVE] constructor(): R|Foo| {
super<R|kotlin/Any|>()