[FIR] Add equality constraint from expected type for some synthetic function calls
This fixes some cases where we infer some type variable inside one of the branches to Nothing instead of the expected type because Nothing appeared in some other branch. Specifically, we add an equality instead of a subtype constraint during completion of calls to synthetic functions for if/when, try and !!. We don't do it when the call contains a (possibly nested) elvis or is inside the RHS of an assignment. Otherwise, we would prevent some smart-casts. #KT-65882 Fixed
This commit is contained in:
committed by
Space Team
parent
eaef7122f6
commit
69a7bf7f68
+1
-1
@@ -7,7 +7,7 @@ class Qux<T1, T2: Baz<T2, <!UPPER_BOUND_VIOLATED!>Bar<Foo, T2><!>>>(var f: T2)
|
||||
|
||||
class Quux<T> {
|
||||
fun test(): Unit {
|
||||
val x: Qux<in T, <!UPPER_BOUND_VIOLATED!>Baz<T, <!UPPER_BOUND_VIOLATED!>Bar<Foo, <!CONFLICTING_PROJECTION!>in<!> T><!>><!>> = null!!
|
||||
val x: Qux<in T, <!UPPER_BOUND_VIOLATED!>Baz<T, <!UPPER_BOUND_VIOLATED!>Bar<Foo, <!CONFLICTING_PROJECTION!>in<!> T><!>><!>> = <!INITIALIZER_TYPE_MISMATCH!>null!!<!>
|
||||
x.f = null!!
|
||||
}
|
||||
}
|
||||
|
||||
+156
-157
@@ -112,173 +112,173 @@ digraph smartcastToNothing_kt {
|
||||
35 [label="Enter block"];
|
||||
36 [label="Const: Null(null)"];
|
||||
37 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
|
||||
38 [label="Stub" style="filled" fillcolor=gray];
|
||||
39 [label="Jump: ^myListOf Null(null)!!" style="filled" fillcolor=gray];
|
||||
40 [label="Stub" style="filled" fillcolor=gray];
|
||||
41 [label="Exit block" style="filled" fillcolor=gray];
|
||||
38 [label="Jump: ^myListOf Null(null)!!"];
|
||||
39 [label="Stub" style="filled" fillcolor=gray];
|
||||
40 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
42 [label="Exit function myListOf" style="filled" fillcolor=gray];
|
||||
41 [label="Exit function myListOf" style="filled" fillcolor=red];
|
||||
}
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38} [style=dotted];
|
||||
37 -> {38};
|
||||
38 -> {41};
|
||||
38 -> {39} [style=dotted];
|
||||
39 -> {40 42} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
41 -> {42} [style=dotted];
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
43 [label="Enter class A" style="filled" fillcolor=red];
|
||||
42 [label="Enter class A" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
44 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
45 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
46 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
43 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
44 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
45 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
47 [label="Enter property" style="filled" fillcolor=red];
|
||||
48 [label="Const: Int(1)"];
|
||||
49 [label="Exit property" style="filled" fillcolor=red];
|
||||
46 [label="Enter property" style="filled" fillcolor=red];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
50 [label="Enter property" style="filled" fillcolor=red];
|
||||
51 [label="Const: Boolean(true)"];
|
||||
52 [label="Exit property" style="filled" fillcolor=red];
|
||||
49 [label="Enter property" style="filled" fillcolor=red];
|
||||
50 [label="Const: Boolean(true)"];
|
||||
51 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
53 [label="Exit class A" style="filled" fillcolor=red];
|
||||
52 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
43 -> {44} [color=green];
|
||||
43 -> {53} [style=dotted];
|
||||
43 -> {44 47 50} [style=dashed];
|
||||
42 -> {43} [color=green];
|
||||
42 -> {52} [style=dotted];
|
||||
42 -> {43 46 49} [style=dashed];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47} [color=green];
|
||||
45 -> {46} [color=green];
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50} [color=green];
|
||||
48 -> {49} [color=green];
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53} [color=green];
|
||||
51 -> {52} [color=green];
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
54 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
53 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
55 [label="Enter block"];
|
||||
56 [label="Const: Null(null)"];
|
||||
57 [label="Variable declaration: lvar s: R|A?|"];
|
||||
54 [label="Enter block"];
|
||||
55 [label="Const: Null(null)"];
|
||||
56 [label="Variable declaration: lvar s: R|A?|"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
57 [label="Enter block"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
59 [label="Function call arguments enter"];
|
||||
60 [label="Access variable R|<local>/results|"];
|
||||
61 [label="Function call arguments exit"];
|
||||
58 [label="Function call arguments enter"];
|
||||
59 [label="Access variable R|<local>/results|"];
|
||||
60 [label="Function call arguments exit"];
|
||||
}
|
||||
62 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
|
||||
63 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
|
||||
61 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
|
||||
62 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
64 [label="Enter while loop"];
|
||||
63 [label="Enter while loop"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
65 [label="Enter loop condition"];
|
||||
64 [label="Enter loop condition"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
66 [label="Function call arguments enter"];
|
||||
67 [label="Access variable R|<local>/<iterator>|"];
|
||||
68 [label="Function call arguments exit"];
|
||||
65 [label="Function call arguments enter"];
|
||||
66 [label="Access variable R|<local>/<iterator>|"];
|
||||
67 [label="Function call arguments exit"];
|
||||
}
|
||||
69 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
|
||||
70 [label="Exit loop condition"];
|
||||
68 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
|
||||
69 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
71 [label="Enter loop block"];
|
||||
70 [label="Enter loop block"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
72 [label="Enter block"];
|
||||
71 [label="Enter block"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
73 [label="Function call arguments enter"];
|
||||
74 [label="Access variable R|<local>/<iterator>|"];
|
||||
75 [label="Function call arguments exit"];
|
||||
72 [label="Function call arguments enter"];
|
||||
73 [label="Access variable R|<local>/<iterator>|"];
|
||||
74 [label="Function call arguments exit"];
|
||||
}
|
||||
76 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
|
||||
77 [label="Stub" style="filled" fillcolor=gray];
|
||||
78 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||
75 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
|
||||
76 [label="Stub" style="filled" fillcolor=gray];
|
||||
77 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
79 [label="Enter block" style="filled" fillcolor=gray];
|
||||
80 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
||||
81 [label="Stub" style="filled" fillcolor=gray];
|
||||
82 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
|
||||
78 [label="Enter block" style="filled" fillcolor=gray];
|
||||
79 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
||||
80 [label="Stub" style="filled" fillcolor=gray];
|
||||
81 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
83 [label="Enter when" style="filled" fillcolor=gray];
|
||||
82 [label="Enter when" style="filled" fillcolor=gray];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
84 [label="Enter when branch condition " style="filled" fillcolor=gray];
|
||||
85 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
||||
86 [label="Stub" style="filled" fillcolor=gray];
|
||||
87 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
|
||||
88 [label="Exit when branch condition" style="filled" fillcolor=gray];
|
||||
83 [label="Enter when branch condition " style="filled" fillcolor=gray];
|
||||
84 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
||||
85 [label="Stub" style="filled" fillcolor=gray];
|
||||
86 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
|
||||
87 [label="Exit when branch condition" style="filled" fillcolor=gray];
|
||||
}
|
||||
89 [label="Synthetic else branch" style="filled" fillcolor=gray];
|
||||
90 [label="Enter when branch result" style="filled" fillcolor=gray];
|
||||
88 [label="Synthetic else branch" style="filled" fillcolor=gray];
|
||||
89 [label="Enter when branch result" style="filled" fillcolor=gray];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
91 [label="Enter block" style="filled" fillcolor=gray];
|
||||
92 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
|
||||
93 [label="Stub" style="filled" fillcolor=gray];
|
||||
94 [label="Exit block" style="filled" fillcolor=gray];
|
||||
90 [label="Enter block" style="filled" fillcolor=gray];
|
||||
91 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
|
||||
92 [label="Stub" style="filled" fillcolor=gray];
|
||||
93 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
95 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
96 [label="Exit when" style="filled" fillcolor=gray];
|
||||
94 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
95 [label="Exit when" style="filled" fillcolor=gray];
|
||||
}
|
||||
97 [label="Exit block" style="filled" fillcolor=gray];
|
||||
96 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
98 [label="Exit block" style="filled" fillcolor=gray];
|
||||
97 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
99 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
98 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
100 [label="Exit while loop"];
|
||||
99 [label="Exit while loop"];
|
||||
}
|
||||
101 [label="Exit block"];
|
||||
100 [label="Exit block"];
|
||||
}
|
||||
102 [label="Access variable R|<local>/s|"];
|
||||
103 [label="Enter safe call"];
|
||||
101 [label="Access variable R|<local>/s|"];
|
||||
102 [label="Enter safe call"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
104 [label="Function call arguments enter"];
|
||||
105 [label="Postponed enter to lambda"];
|
||||
103 [label="Function call arguments enter"];
|
||||
104 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
106 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
105 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
107 [label="Enter block"];
|
||||
108 [label="Access variable R|<local>/it|"];
|
||||
109 [label="Access variable R|/A.a|"];
|
||||
110 [label="Exit block"];
|
||||
106 [label="Enter block"];
|
||||
107 [label="Access variable R|<local>/it|"];
|
||||
108 [label="Access variable R|/A.a|"];
|
||||
109 [label="Exit block"];
|
||||
}
|
||||
111 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
110 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
112 [label="Function call arguments exit"];
|
||||
111 [label="Function call arguments exit"];
|
||||
}
|
||||
113 [label="Postponed exit from lambda"];
|
||||
114 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
115 [label="Exit safe call"];
|
||||
116 [label="Exit block"];
|
||||
112 [label="Postponed exit from lambda"];
|
||||
113 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
114 [label="Exit safe call"];
|
||||
115 [label="Exit block"];
|
||||
}
|
||||
117 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
116 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
@@ -294,13 +294,13 @@ digraph smartcastToNothing_kt {
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71 100};
|
||||
69 -> {70 99};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
@@ -312,111 +312,111 @@ digraph smartcastToNothing_kt {
|
||||
84 -> {85} [style=dotted];
|
||||
85 -> {86} [style=dotted];
|
||||
86 -> {87} [style=dotted];
|
||||
87 -> {88} [style=dotted];
|
||||
88 -> {89 90} [style=dotted];
|
||||
89 -> {96} [style=dotted];
|
||||
87 -> {88 89} [style=dotted];
|
||||
88 -> {95} [style=dotted];
|
||||
89 -> {90} [style=dotted];
|
||||
90 -> {91} [style=dotted];
|
||||
91 -> {92} [style=dotted];
|
||||
92 -> {93 100} [style=dotted];
|
||||
91 -> {92 99} [style=dotted];
|
||||
92 -> {93} [style=dotted];
|
||||
93 -> {94} [style=dotted];
|
||||
94 -> {95} [style=dotted];
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
97 -> {98} [style=dotted];
|
||||
98 -> {99} [style=dotted];
|
||||
99 -> {65} [color=green style=dotted];
|
||||
98 -> {64} [color=green style=dotted];
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103 115};
|
||||
101 -> {102 114};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106 112};
|
||||
105 -> {113} [style=dotted];
|
||||
105 -> {106} [style=dashed];
|
||||
104 -> {105 111};
|
||||
104 -> {112} [style=dotted];
|
||||
104 -> {105} [style=dashed];
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
110 -> {112};
|
||||
111 -> {113};
|
||||
112 -> {114};
|
||||
113 -> {114} [label="Postponed"];
|
||||
112 -> {113} [label="Postponed"];
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
|
||||
subgraph cluster_33 {
|
||||
color=red
|
||||
118 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
117 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
119 [label="Enter block"];
|
||||
118 [label="Enter block"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
120 [label="Enter when"];
|
||||
119 [label="Enter when"];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
121 [label="Enter when branch condition "];
|
||||
122 [label="Access variable R|<local>/a|"];
|
||||
123 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
|
||||
124 [label="Exit when branch condition"];
|
||||
120 [label="Enter when branch condition "];
|
||||
121 [label="Access variable R|<local>/a|"];
|
||||
122 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
|
||||
123 [label="Exit when branch condition"];
|
||||
}
|
||||
125 [label="Synthetic else branch"];
|
||||
126 [label="Enter when branch result"];
|
||||
124 [label="Synthetic else branch"];
|
||||
125 [label="Enter when branch result"];
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
127 [label="Enter block"];
|
||||
128 [label="Access variable R|<local>/a|"];
|
||||
129 [label="Smart cast: R|<local>/a|"];
|
||||
130 [label="Enter safe call"];
|
||||
131 [label="Access variable R|kotlin/String.length|"];
|
||||
132 [label="Exit safe call"];
|
||||
133 [label="Variable declaration: lval b: R|kotlin/Int?|"];
|
||||
134 [label="Exit block"];
|
||||
126 [label="Enter block"];
|
||||
127 [label="Access variable R|<local>/a|"];
|
||||
128 [label="Smart cast: R|<local>/a|"];
|
||||
129 [label="Enter safe call"];
|
||||
130 [label="Access variable R|kotlin/String.length|"];
|
||||
131 [label="Exit safe call"];
|
||||
132 [label="Variable declaration: lval b: R|kotlin/Int?|"];
|
||||
133 [label="Exit block"];
|
||||
}
|
||||
135 [label="Exit when branch result"];
|
||||
136 [label="Exit when"];
|
||||
134 [label="Exit when branch result"];
|
||||
135 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
137 [label="Enter when"];
|
||||
136 [label="Enter when"];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
138 [label="Enter when branch condition "];
|
||||
139 [label="Access variable R|<local>/a|"];
|
||||
140 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
|
||||
141 [label="Exit when branch condition"];
|
||||
137 [label="Enter when branch condition "];
|
||||
138 [label="Access variable R|<local>/a|"];
|
||||
139 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
|
||||
140 [label="Exit when branch condition"];
|
||||
}
|
||||
142 [label="Synthetic else branch"];
|
||||
143 [label="Enter when branch result"];
|
||||
141 [label="Synthetic else branch"];
|
||||
142 [label="Enter when branch result"];
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
144 [label="Enter block"];
|
||||
145 [label="Access variable R|<local>/a|"];
|
||||
146 [label="Smart cast: R|<local>/a|"];
|
||||
147 [label="Access variable R|kotlin/String.length|"];
|
||||
148 [label="Variable declaration: lval b: R|kotlin/Int|"];
|
||||
149 [label="Exit block"];
|
||||
143 [label="Enter block"];
|
||||
144 [label="Access variable R|<local>/a|"];
|
||||
145 [label="Smart cast: R|<local>/a|"];
|
||||
146 [label="Access variable R|kotlin/String.length|"];
|
||||
147 [label="Variable declaration: lval b: R|kotlin/Int|"];
|
||||
148 [label="Exit block"];
|
||||
}
|
||||
150 [label="Exit when branch result"];
|
||||
151 [label="Exit when"];
|
||||
149 [label="Exit when branch result"];
|
||||
150 [label="Exit when"];
|
||||
}
|
||||
152 [label="Exit block"];
|
||||
151 [label="Exit block"];
|
||||
}
|
||||
153 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
152 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125 126};
|
||||
125 -> {136};
|
||||
123 -> {124 125};
|
||||
124 -> {135};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130 132};
|
||||
128 -> {129 131};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
@@ -427,9 +427,9 @@ digraph smartcastToNothing_kt {
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142 143};
|
||||
142 -> {151};
|
||||
140 -> {141 142};
|
||||
141 -> {150};
|
||||
142 -> {143};
|
||||
143 -> {144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
@@ -439,6 +439,5 @@ digraph smartcastToNothing_kt {
|
||||
149 -> {150};
|
||||
150 -> {151};
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
|
||||
}
|
||||
|
||||
Vendored
+124
-125
@@ -36,178 +36,178 @@ digraph delegateWithAnonymousObject_kt {
|
||||
8 [label="Enter block"];
|
||||
9 [label="Const: Null(null)"];
|
||||
10 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
|
||||
11 [label="Stub" style="filled" fillcolor=gray];
|
||||
12 [label="Jump: ^delegate Null(null)!!" style="filled" fillcolor=gray];
|
||||
13 [label="Stub" style="filled" fillcolor=gray];
|
||||
14 [label="Exit block" style="filled" fillcolor=gray];
|
||||
11 [label="Jump: ^delegate Null(null)!!"];
|
||||
12 [label="Stub" style="filled" fillcolor=gray];
|
||||
13 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
15 [label="Exit function delegate" style="filled" fillcolor=gray];
|
||||
14 [label="Exit function delegate" style="filled" fillcolor=red];
|
||||
}
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11} [style=dotted];
|
||||
10 -> {11};
|
||||
11 -> {14};
|
||||
11 -> {12} [style=dotted];
|
||||
12 -> {13 15} [style=dotted];
|
||||
12 -> {13} [style=dotted];
|
||||
13 -> {14} [style=dotted];
|
||||
14 -> {15} [style=dotted];
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
16 [label="Enter class IssueListView" style="filled" fillcolor=red];
|
||||
15 [label="Enter class IssueListView" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
18 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()" style="filled" fillcolor=yellow];
|
||||
19 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
16 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
17 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
20 [label="Exit class IssueListView" style="filled" fillcolor=red];
|
||||
19 [label="Exit class IssueListView" style="filled" fillcolor=red];
|
||||
}
|
||||
16 -> {17} [color=green];
|
||||
16 -> {20} [style=dotted];
|
||||
16 -> {17} [style=dashed];
|
||||
15 -> {16} [color=green];
|
||||
15 -> {19} [style=dotted];
|
||||
15 -> {16} [style=dashed];
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20} [color=green];
|
||||
18 -> {19} [color=green];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
21 [label="Enter function updateFrom" style="filled" fillcolor=red];
|
||||
20 [label="Enter function updateFrom" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Exit block"];
|
||||
21 [label="Enter block"];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
24 [label="Exit function updateFrom" style="filled" fillcolor=red];
|
||||
23 [label="Exit function updateFrom" style="filled" fillcolor=red];
|
||||
}
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
25 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
24 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
26 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
27 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()" style="filled" fillcolor=yellow];
|
||||
28 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
25 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
26 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()" style="filled" fillcolor=yellow];
|
||||
27 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
29 [label="Enter property" style="filled" fillcolor=red];
|
||||
28 [label="Enter property" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
30 [label="Function call arguments enter"];
|
||||
31 [label="Postponed enter to lambda"];
|
||||
29 [label="Function call arguments enter"];
|
||||
30 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
32 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
31 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Enter anonymous object"];
|
||||
32 [label="Enter block"];
|
||||
33 [label="Enter anonymous object"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
35 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
34 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
36 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
37 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
38 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
35 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
36 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
37 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
39 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
38 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
|
||||
}
|
||||
40 [label="Exit anonymous object expression"];
|
||||
41 [label="Exit block"];
|
||||
39 [label="Exit anonymous object expression"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
42 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
41 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
43 [label="Enter function setValue" style="filled" fillcolor=red];
|
||||
42 [label="Enter function setValue" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
43 [label="Enter block"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
45 [label="Function call arguments enter"];
|
||||
44 [label="Function call arguments enter"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
46 [label="Function call arguments enter"];
|
||||
47 [label="Function call arguments exit"];
|
||||
45 [label="Function call arguments enter"];
|
||||
46 [label="Function call arguments exit"];
|
||||
}
|
||||
48 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
49 [label="Access variable R|<local>/value|"];
|
||||
50 [label="Function call arguments exit"];
|
||||
47 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
48 [label="Access variable R|<local>/value|"];
|
||||
49 [label="Function call arguments exit"];
|
||||
}
|
||||
51 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
|
||||
52 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
|
||||
53 [label="Stub" style="filled" fillcolor=gray];
|
||||
54 [label="Exit block" style="filled" fillcolor=gray];
|
||||
50 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
|
||||
51 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
|
||||
52 [label="Stub" style="filled" fillcolor=gray];
|
||||
53 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
55 [label="Exit function setValue" style="filled" fillcolor=red];
|
||||
54 [label="Exit function setValue" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
56 [label="Enter function getValue" style="filled" fillcolor=red];
|
||||
55 [label="Enter function getValue" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
57 [label="Enter block"];
|
||||
56 [label="Enter block"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
58 [label="Function call arguments enter"];
|
||||
59 [label="Function call arguments exit"];
|
||||
57 [label="Function call arguments enter"];
|
||||
58 [label="Function call arguments exit"];
|
||||
}
|
||||
60 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
61 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
|
||||
62 [label="Stub" style="filled" fillcolor=gray];
|
||||
63 [label="Exit block" style="filled" fillcolor=gray];
|
||||
59 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
|
||||
60 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
|
||||
61 [label="Stub" style="filled" fillcolor=gray];
|
||||
62 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
64 [label="Exit function getValue" style="filled" fillcolor=red];
|
||||
63 [label="Exit function getValue" style="filled" fillcolor=red];
|
||||
}
|
||||
65 [label="Function call arguments exit"];
|
||||
64 [label="Function call arguments exit"];
|
||||
}
|
||||
66 [label="Postponed exit from lambda"];
|
||||
67 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
|
||||
65 [label="Postponed exit from lambda"];
|
||||
66 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
68 [label="Function call arguments enter"];
|
||||
69 [label="Function call arguments exit"];
|
||||
67 [label="Function call arguments enter"];
|
||||
68 [label="Function call arguments exit"];
|
||||
}
|
||||
70 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).R?C|special/error|(...)" style="filled" fillcolor=yellow];
|
||||
71 [label="Exit property delegate" style="filled" fillcolor=yellow];
|
||||
72 [label="Exit property" style="filled" fillcolor=red];
|
||||
69 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).R?C|special/error|(...)" style="filled" fillcolor=yellow];
|
||||
70 [label="Exit property delegate" style="filled" fillcolor=yellow];
|
||||
71 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
73 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
72 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
|
||||
}
|
||||
25 -> {26} [color=green];
|
||||
25 -> {73} [style=dotted];
|
||||
25 -> {26 29} [style=dashed];
|
||||
24 -> {25} [color=green];
|
||||
24 -> {72} [style=dotted];
|
||||
24 -> {25 28} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29} [color=green];
|
||||
27 -> {28} [color=green];
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32 65 66};
|
||||
31 -> {32} [style=dashed];
|
||||
30 -> {31 64 65};
|
||||
30 -> {31} [style=dashed];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
33 -> {39} [style=dotted];
|
||||
33 -> {34} [style=dashed];
|
||||
34 -> {35};
|
||||
34 -> {40} [style=dotted];
|
||||
34 -> {42 55} [color=red];
|
||||
34 -> {38} [style=dotted];
|
||||
34 -> {35} [style=dashed];
|
||||
35 -> {36};
|
||||
35 -> {43 56} [color=red];
|
||||
35 -> {39} [style=dotted];
|
||||
35 -> {36} [style=dashed];
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
38 -> {42 55} [color=green];
|
||||
38 -> {42 55} [style=dashed];
|
||||
39 -> {40};
|
||||
39 -> {43 56} [color=green];
|
||||
39 -> {43 56} [style=dashed];
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
@@ -216,90 +216,89 @@ digraph delegateWithAnonymousObject_kt {
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {55};
|
||||
51 -> {54};
|
||||
51 -> {52} [style=dotted];
|
||||
52 -> {53} [style=dotted];
|
||||
53 -> {54} [style=dotted];
|
||||
54 -> {55} [style=dotted];
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {64};
|
||||
60 -> {63};
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
65 -> {67};
|
||||
66 -> {67} [color=green];
|
||||
66 -> {71} [color=red label="Postponed"];
|
||||
64 -> {66};
|
||||
65 -> {66} [color=green];
|
||||
65 -> {70} [color=red label="Postponed"];
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73} [color=green];
|
||||
71 -> {72} [color=green];
|
||||
|
||||
subgraph cluster_25 {
|
||||
color=red
|
||||
74 [label="Enter function <getter>" style="filled" fillcolor=red];
|
||||
73 [label="Enter function <getter>" style="filled" fillcolor=red];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
75 [label="Enter block"];
|
||||
74 [label="Enter block"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
76 [label="Function call arguments enter"];
|
||||
77 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||
78 [label="Function call arguments exit"];
|
||||
75 [label="Function call arguments enter"];
|
||||
76 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||
77 [label="Function call arguments exit"];
|
||||
}
|
||||
79 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(...)" style="filled" fillcolor=yellow];
|
||||
80 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
|
||||
81 [label="Stub" style="filled" fillcolor=gray];
|
||||
82 [label="Exit block" style="filled" fillcolor=gray];
|
||||
78 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(...)" style="filled" fillcolor=yellow];
|
||||
79 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
|
||||
80 [label="Stub" style="filled" fillcolor=gray];
|
||||
81 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
83 [label="Exit function <getter>" style="filled" fillcolor=red];
|
||||
82 [label="Exit function <getter>" style="filled" fillcolor=red];
|
||||
}
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {83};
|
||||
79 -> {82};
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83} [style=dotted];
|
||||
|
||||
subgraph cluster_28 {
|
||||
color=red
|
||||
84 [label="Enter function <setter>" style="filled" fillcolor=red];
|
||||
83 [label="Enter function <setter>" style="filled" fillcolor=red];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
85 [label="Enter block"];
|
||||
84 [label="Enter block"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
86 [label="Function call arguments enter"];
|
||||
87 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||
88 [label="Access variable R|<local>/issueListView|"];
|
||||
89 [label="Function call arguments exit"];
|
||||
85 [label="Function call arguments enter"];
|
||||
86 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||
87 [label="Access variable R|<local>/issueListView|"];
|
||||
88 [label="Function call arguments exit"];
|
||||
}
|
||||
90 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
|
||||
91 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|, R|<local>/issueListView|)"];
|
||||
92 [label="Stub" style="filled" fillcolor=gray];
|
||||
93 [label="Exit block" style="filled" fillcolor=gray];
|
||||
89 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
|
||||
90 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|, R|<local>/issueListView|)"];
|
||||
91 [label="Stub" style="filled" fillcolor=gray];
|
||||
92 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
94 [label="Exit function <setter>" style="filled" fillcolor=red];
|
||||
93 [label="Exit function <setter>" style="filled" fillcolor=red];
|
||||
}
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {94};
|
||||
90 -> {93};
|
||||
90 -> {91} [style=dotted];
|
||||
91 -> {92} [style=dotted];
|
||||
92 -> {93} [style=dotted];
|
||||
93 -> {94} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
Vendored
+86
-88
@@ -18,154 +18,153 @@ digraph plusAssignWithLambdaInRhs_kt {
|
||||
3 [label="Enter block"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
|
||||
6 [label="Stub" style="filled" fillcolor=gray];
|
||||
7 [label="Variable declaration: lval list: R|kotlin/collections/MutableList<kotlin/Function1<kotlin/String, kotlin/String>>|" style="filled" fillcolor=gray];
|
||||
8 [label="Access variable R|<local>/list|" style="filled" fillcolor=gray];
|
||||
9 [label="Postponed enter to lambda" style="filled" fillcolor=gray];
|
||||
6 [label="Variable declaration: lval list: R|kotlin/collections/MutableList<kotlin/Function1<kotlin/String, kotlin/String>>|"];
|
||||
7 [label="Access variable R|<local>/list|"];
|
||||
8 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
10 [label="Enter function <anonymous>" style="filled" fillcolor=gray];
|
||||
9 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter block" style="filled" fillcolor=gray];
|
||||
12 [label="Access variable R|<local>/it|" style="filled" fillcolor=gray];
|
||||
13 [label="Exit block" style="filled" fillcolor=gray];
|
||||
10 [label="Enter block"];
|
||||
11 [label="Access variable R|<local>/it|"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
14 [label="Exit function <anonymous>" style="filled" fillcolor=gray];
|
||||
13 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
15 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
|
||||
16 [label="Function call: R|<local>/list|.R|kotlin/collections/plusAssign|<R|(kotlin/String) -> kotlin/String|>(...)" style="filled" fillcolor=gray];
|
||||
17 [label="Exit block" style="filled" fillcolor=gray];
|
||||
14 [label="Postponed exit from lambda"];
|
||||
15 [label="Function call: R|<local>/list|.R|kotlin/collections/plusAssign|<R|(kotlin/String) -> kotlin/String|>(...)" style="filled" fillcolor=yellow];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
18 [label="Exit function test" style="filled" fillcolor=gray];
|
||||
17 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6} [style=dotted];
|
||||
6 -> {7} [style=dotted];
|
||||
7 -> {8} [style=dotted];
|
||||
8 -> {9} [style=dotted];
|
||||
9 -> {10 15 16} [style=dotted];
|
||||
9 -> {10} [style=dashed];
|
||||
10 -> {11} [style=dotted];
|
||||
11 -> {12} [style=dotted];
|
||||
12 -> {13} [style=dotted];
|
||||
13 -> {14} [style=dotted];
|
||||
15 -> {16} [style=dotted label="Postponed"];
|
||||
16 -> {17} [style=dotted];
|
||||
17 -> {18} [style=dotted];
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9 14 15};
|
||||
8 -> {9} [style=dashed];
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
14 -> {15} [label="Postponed"];
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
19 [label="Enter class A" style="filled" fillcolor=red];
|
||||
18 [label="Enter class A" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
21 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
22 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
19 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
20 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
21 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
23 [label="Enter property" style="filled" fillcolor=red];
|
||||
24 [label="Access variable R|<local>/executor|"];
|
||||
25 [label="Exit property" 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];
|
||||
}
|
||||
26 [label="Exit class A" style="filled" fillcolor=red];
|
||||
25 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
19 -> {20} [color=green];
|
||||
19 -> {26} [style=dotted];
|
||||
19 -> {20 23} [style=dashed];
|
||||
18 -> {19} [color=green];
|
||||
18 -> {25} [style=dotted];
|
||||
18 -> {19 22} [style=dashed];
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23} [color=green];
|
||||
21 -> {22} [color=green];
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26} [color=green];
|
||||
24 -> {25} [color=green];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
27 [label="Enter function postpone" style="filled" fillcolor=red];
|
||||
26 [label="Enter function postpone" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
28 [label="Enter block"];
|
||||
27 [label="Enter block"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
29 [label="Function call arguments enter"];
|
||||
30 [label="Function call arguments exit"];
|
||||
28 [label="Function call arguments enter"];
|
||||
29 [label="Function call arguments exit"];
|
||||
}
|
||||
31 [label="Function call: R|kotlin/collections/mutableListOf|<R|() -> kotlin/Unit|>()" style="filled" fillcolor=yellow];
|
||||
32 [label="Variable declaration: lval queue: R|kotlin/collections/MutableList<kotlin/Function0<kotlin/Unit>>|"];
|
||||
30 [label="Function call: R|kotlin/collections/mutableListOf|<R|() -> kotlin/Unit|>()" style="filled" fillcolor=yellow];
|
||||
31 [label="Variable declaration: lval queue: R|kotlin/collections/MutableList<kotlin/Function0<kotlin/Unit>>|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
33 [label="Function call arguments enter"];
|
||||
34 [label="Postponed enter to lambda"];
|
||||
32 [label="Function call arguments enter"];
|
||||
33 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
35 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
34 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/queue|"];
|
||||
38 [label="Postponed enter to lambda"];
|
||||
35 [label="Enter block"];
|
||||
36 [label="Access variable R|<local>/queue|"];
|
||||
37 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
39 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
38 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
40 [label="Enter block"];
|
||||
39 [label="Enter block"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
41 [label="Function call arguments enter"];
|
||||
40 [label="Function call arguments enter"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
42 [label="Function call arguments enter"];
|
||||
43 [label="Function call arguments exit"];
|
||||
41 [label="Function call arguments enter"];
|
||||
42 [label="Function call arguments exit"];
|
||||
}
|
||||
44 [label="Function call: R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow];
|
||||
45 [label="Function call arguments exit"];
|
||||
43 [label="Function call: R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow];
|
||||
44 [label="Function call arguments exit"];
|
||||
}
|
||||
46 [label="Function call: R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
|
||||
47 [label="Exit block"];
|
||||
45 [label="Function call: R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
48 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
47 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
49 [label="Postponed exit from lambda"];
|
||||
50 [label="Function call: R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
|
||||
51 [label="Exit block"];
|
||||
48 [label="Postponed exit from lambda"];
|
||||
49 [label="Function call: R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
52 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
51 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
53 [label="Function call arguments exit"];
|
||||
52 [label="Function call arguments exit"];
|
||||
}
|
||||
54 [label="Postponed exit from lambda"];
|
||||
55 [label="Function call: R|/A.A|<R|T|>(...)" style="filled" fillcolor=yellow];
|
||||
56 [label="Jump: ^postpone R|/A.A|<R|T|>(<L> = A@fun <anonymous>(resolve: R|(T) -> kotlin/Unit|): R|kotlin/Unit| <inline=NoInline> {
|
||||
53 [label="Postponed exit from lambda"];
|
||||
54 [label="Function call: R|/A.A|<R|T|>(...)" style="filled" fillcolor=yellow];
|
||||
55 [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|>(fun <anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|())
|
||||
}
|
||||
)
|
||||
}
|
||||
)"];
|
||||
57 [label="Stub" style="filled" fillcolor=gray];
|
||||
58 [label="Exit block" style="filled" fillcolor=gray];
|
||||
56 [label="Stub" style="filled" fillcolor=gray];
|
||||
57 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
59 [label="Exit function postpone" style="filled" fillcolor=red];
|
||||
58 [label="Exit function postpone" style="filled" fillcolor=red];
|
||||
}
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35 53 54};
|
||||
34 -> {35} [style=dashed];
|
||||
33 -> {34 52 53};
|
||||
33 -> {34} [style=dashed];
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39 49 50};
|
||||
38 -> {39} [style=dashed];
|
||||
37 -> {38 48 49};
|
||||
37 -> {38} [style=dashed];
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
@@ -174,16 +173,15 @@ digraph plusAssignWithLambdaInRhs_kt {
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
49 -> {50} [label="Postponed"];
|
||||
48 -> {49} [label="Postponed"];
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
53 -> {55};
|
||||
54 -> {55} [label="Postponed"];
|
||||
55 -> {56};
|
||||
56 -> {59};
|
||||
52 -> {54};
|
||||
53 -> {54} [label="Postponed"];
|
||||
54 -> {55};
|
||||
55 -> {58};
|
||||
55 -> {56} [style=dotted];
|
||||
56 -> {57} [style=dotted];
|
||||
57 -> {58} [style=dotted];
|
||||
58 -> {59} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user