FIR CFG: add union nodes

Quick quiz:

 Q: In a CFG, what does `a -> b -> c -> d` mean?
 A: `a`, then `b`, then `c`, then `d`.

 Q: In a CFG, what does `a -> b -> d; a -> c -> d` mean?
 A: `a`, then `b` or `c`, then `d`.

 Q: So how do you encode "a, then (b, then c) or (c, then b), then d`?
 A: You can't.

Problem is, you need to, because that's what `a; run2({ b }, { c }); d`
does when `run2` has a contract that it calls both its lambda arguments
in-place: `shuffle(listOf(block1, block2)).forEach { it() }` is a
perfectly valid implementation for it, as little sense as that makes.

So that's what union nodes solve. When a node implements
`UnionNodeMarker`, its inputs are interpreted as "all visited in some
order" instead of the normal "one of the inputs is visited".

Currently this is used for data flow. It *should* also be used for
control flow, but it isn't. But it should be. But that's not so easy.

BTW, `try` exit is NOT a union node; although lambdas in one branch can
be completed according to types' of lambdas in another, data does not
flow between the branches anyway (since we don't know how much of the
`try` executed before jumping into `catch`, and `catch`es are mutually
exclusive) so a `try` expression is more like `when` than a function
call with called-in-place-exactly-once arguments. The fact that
`exitTryExpression` used `processUnionOfArguments` in a weird way
should've hinted at that, but now we know for certain.
This commit is contained in:
pyos
2022-11-17 12:53:35 +01:00
committed by teamcity
parent 99bebfa183
commit a9be27e330
108 changed files with 4050 additions and 4239 deletions
@@ -24,11 +24,11 @@ digraph bangbang_kt {
color=blue
5 [label="Enter block"];
6 [label="Access variable R|<local>/a|"];
7 [label="Check not null: R|<local>/a|!!"];
8 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
7 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
8 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
9 [label="Access variable R|<local>/a|"];
10 [label="Smart cast: R|<local>/a|"];
11 [label="Function call: R|<local>/a|.R|/A.foo|()"];
11 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
13 [label="Exit function test_0" style="filled" fillcolor=red];
@@ -56,8 +56,8 @@ digraph bangbang_kt {
color=blue
17 [label="Enter when branch condition "];
18 [label="Access variable R|<local>/a|"];
19 [label="Check not null: R|<local>/a|!!"];
20 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
19 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
20 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
21 [label="Exit when branch condition"];
}
22 [label="Synthetic else branch"];
@@ -67,7 +67,7 @@ digraph bangbang_kt {
24 [label="Enter block"];
25 [label="Access variable R|<local>/a|"];
26 [label="Smart cast: R|<local>/a|"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit when branch result"];
@@ -75,7 +75,7 @@ digraph bangbang_kt {
}
31 [label="Access variable R|<local>/a|"];
32 [label="Smart cast: R|<local>/a|"];
33 [label="Function call: R|<local>/a|.R|/A.foo|()"];
33 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
34 [label="Exit block"];
}
35 [label="Exit function test_1" style="filled" fillcolor=red];
@@ -118,8 +118,8 @@ digraph bangbang_kt {
color=blue
40 [label="Enter &&"];
41 [label="Access variable R|<local>/a|"];
42 [label="Check not null: R|<local>/a|!!"];
43 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
42 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
43 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
44 [label="Exit left part of &&"];
45 [label="Enter right part of &&"];
46 [label="Access variable R|<local>/b|"];
@@ -134,7 +134,7 @@ digraph bangbang_kt {
51 [label="Enter block"];
52 [label="Access variable R|<local>/a|"];
53 [label="Smart cast: R|<local>/a|"];
54 [label="Function call: R|<local>/a|.R|/A.foo|()"];
54 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
@@ -142,7 +142,7 @@ digraph bangbang_kt {
}
58 [label="Access variable R|<local>/a|"];
59 [label="Smart cast: R|<local>/a|"];
60 [label="Function call: R|<local>/a|.R|/A.foo|()"];
60 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
61 [label="Exit block"];
}
62 [label="Exit function test_2" style="filled" fillcolor=red];
@@ -193,8 +193,8 @@ digraph bangbang_kt {
69 [label="Exit left part of &&"];
70 [label="Enter right part of &&"];
71 [label="Access variable R|<local>/a|"];
72 [label="Check not null: R|<local>/a|!!"];
73 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
72 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
73 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
74 [label="Exit &&"];
}
75 [label="Exit when branch condition"];
@@ -206,14 +206,14 @@ digraph bangbang_kt {
78 [label="Enter block"];
79 [label="Access variable R|<local>/a|"];
80 [label="Smart cast: R|<local>/a|"];
81 [label="Function call: R|<local>/a|.R|/A.foo|()"];
81 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
82 [label="Exit block"];
}
83 [label="Exit when branch result"];
84 [label="Exit when"];
}
85 [label="Access variable R|<local>/a|"];
86 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
86 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
87 [label="Exit block"];
}
88 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -260,8 +260,8 @@ digraph bangbang_kt {
color=blue
93 [label="Enter ||"];
94 [label="Access variable R|<local>/a|"];
95 [label="Check not null: R|<local>/a|!!"];
96 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
95 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
96 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
97 [label="Exit left part of ||"];
98 [label="Enter right part of ||"];
99 [label="Access variable R|<local>/b|"];
@@ -276,7 +276,7 @@ digraph bangbang_kt {
104 [label="Enter block"];
105 [label="Access variable R|<local>/a|"];
106 [label="Smart cast: R|<local>/a|"];
107 [label="Function call: R|<local>/a|.R|/A.foo|()"];
107 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
108 [label="Exit block"];
}
109 [label="Exit when branch result"];
@@ -284,7 +284,7 @@ digraph bangbang_kt {
}
111 [label="Access variable R|<local>/a|"];
112 [label="Smart cast: R|<local>/a|"];
113 [label="Function call: R|<local>/a|.R|/A.foo|()"];
113 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
114 [label="Exit block"];
}
115 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -335,8 +335,8 @@ digraph bangbang_kt {
122 [label="Exit left part of ||"];
123 [label="Enter right part of ||"];
124 [label="Access variable R|<local>/a|"];
125 [label="Check not null: R|<local>/a|!!"];
126 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
125 [label="Check not null: R|<local>/a|!!" style="filled" fillcolor=yellow];
126 [label="Function call: R|<local>/a|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
127 [label="Exit ||"];
}
128 [label="Exit when branch condition"];
@@ -347,14 +347,14 @@ digraph bangbang_kt {
color=blue
131 [label="Enter block"];
132 [label="Access variable R|<local>/a|"];
133 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
133 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
134 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
137 [label="Access variable R|<local>/a|"];
138 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
138 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
139 [label="Exit block"];
}
140 [label="Exit function test_5" style="filled" fillcolor=red];
@@ -391,8 +391,8 @@ digraph bangbang_kt {
color=blue
142 [label="Enter block"];
143 [label="Access variable R|<local>/x|"];
144 [label="Check not null: R|<local>/x|!!"];
145 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
144 [label="Check not null: R|<local>/x|!!" style="filled" fillcolor=yellow];
145 [label="Function call: R|<local>/x|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
146 [label="Exit block"];
}
147 [label="Exit function test_6" style="filled" fillcolor=red];
@@ -411,8 +411,8 @@ digraph bangbang_kt {
color=blue
149 [label="Enter block"];
150 [label="Access variable R|<local>/x|"];
151 [label="Check not null: R|<local>/x|!!"];
152 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
151 [label="Check not null: R|<local>/x|!!" style="filled" fillcolor=yellow];
152 [label="Function call: R|<local>/x|!!.R|/A.foo|()" style="filled" fillcolor=yellow];
153 [label="Exit block"];
}
154 [label="Exit function test_7" style="filled" fillcolor=red];
@@ -85,13 +85,13 @@ digraph booleanOperators_kt {
30 [label="Enter block"];
31 [label="Access variable R|<local>/x|"];
32 [label="Smart cast: R|<local>/x|"];
33 [label="Function call: R|<local>/x|.R|/A.foo|()"];
33 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
34 [label="Access variable R|<local>/x|"];
35 [label="Smart cast: R|<local>/x|"];
36 [label="Function call: R|<local>/x|.R|/B.bar|()"];
36 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
37 [label="Access variable R|<local>/x|"];
38 [label="Smart cast: R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|/C.baz|()"];
39 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
@@ -164,13 +164,13 @@ digraph booleanOperators_kt {
60 [label="Enter block"];
61 [label="Access variable R|<local>/x|"];
62 [label="Smart cast: R|<local>/x|"];
63 [label="Function call: R|<local>/x|.R|/A.foo|()"];
63 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
66 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
67 [label="Access variable R|<local>/x|"];
68 [label="Smart cast: R|<local>/x|"];
69 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
69 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
@@ -224,7 +224,7 @@ digraph booleanOperators_kt {
78 [label="Enter when branch condition "];
79 [label="Access variable R|<local>/x|"];
80 [label="Type operator: (R|<local>/x| !is R|A|)"];
81 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()"];
81 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
82 [label="Exit when branch condition"];
}
83 [label="Synthetic else branch"];
@@ -234,7 +234,7 @@ digraph booleanOperators_kt {
85 [label="Enter block"];
86 [label="Access variable R|<local>/x|"];
87 [label="Smart cast: R|<local>/x|"];
88 [label="Function call: R|<local>/x|.R|/A.foo|()"];
88 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
89 [label="Exit block"];
}
90 [label="Exit when branch result"];
@@ -358,7 +358,7 @@ digraph booleanOperators_kt {
130 [label="Enter right part of &&"];
131 [label="Access variable R|<local>/x|"];
132 [label="Smart cast: R|<local>/x|"];
133 [label="Function call: R|<local>/x|.R|/A.bool|()"];
133 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
134 [label="Exit &&"];
}
135 [label="Exit when branch condition"];
@@ -370,7 +370,7 @@ digraph booleanOperators_kt {
138 [label="Enter block"];
139 [label="Access variable R|<local>/x|"];
140 [label="Smart cast: R|<local>/x|"];
141 [label="Function call: R|<local>/x|.R|/A.foo|()"];
141 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
142 [label="Exit block"];
}
143 [label="Exit when branch result"];
@@ -419,7 +419,7 @@ digraph booleanOperators_kt {
150 [label="Enter when branch condition "];
151 [label="Access variable R|<local>/x|"];
152 [label="Type operator: (R|<local>/x| !is R|A|)"];
153 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()"];
153 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
154 [label="Exit when branch condition"];
}
155 [label="Synthetic else branch"];
@@ -429,7 +429,7 @@ digraph booleanOperators_kt {
157 [label="Enter block"];
158 [label="Access variable R|<local>/x|"];
159 [label="Smart cast: R|<local>/x|"];
160 [label="Function call: R|<local>/x|.R|/A.foo|()"];
160 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
161 [label="Exit block"];
}
162 [label="Exit when branch result"];
@@ -488,7 +488,7 @@ digraph booleanOperators_kt {
color=blue
180 [label="Enter block"];
181 [label="Access variable R|<local>/x|"];
182 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
182 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
183 [label="Exit block"];
}
184 [label="Exit when branch result"];
@@ -550,7 +550,7 @@ digraph booleanOperators_kt {
color=blue
202 [label="Enter block"];
203 [label="Access variable R|<local>/x|"];
204 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
204 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
205 [label="Exit block"];
}
206 [label="Exit when branch result"];
@@ -613,7 +613,7 @@ digraph booleanOperators_kt {
color=blue
224 [label="Enter block"];
225 [label="Access variable R|<local>/x|"];
226 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
226 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
227 [label="Exit block"];
}
228 [label="Exit when branch result"];
@@ -675,7 +675,7 @@ digraph booleanOperators_kt {
color=blue
246 [label="Enter block"];
247 [label="Access variable R|<local>/x|"];
248 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
248 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
249 [label="Exit block"];
}
250 [label="Exit when branch result"];
@@ -738,7 +738,7 @@ digraph booleanOperators_kt {
color=blue
268 [label="Enter block"];
269 [label="Access variable R|<local>/x|"];
270 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
270 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
271 [label="Exit block"];
}
272 [label="Exit when branch result"];
@@ -802,7 +802,7 @@ digraph booleanOperators_kt {
290 [label="Enter block"];
291 [label="Access variable R|<local>/x|"];
292 [label="Smart cast: R|<local>/x|"];
293 [label="Function call: R|<local>/x|.R|/A.foo|()"];
293 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
294 [label="Exit block"];
}
295 [label="Exit when branch result"];
@@ -866,7 +866,7 @@ digraph booleanOperators_kt {
313 [label="Enter block"];
314 [label="Access variable R|<local>/x|"];
315 [label="Smart cast: R|<local>/x|"];
316 [label="Function call: R|<local>/x|.R|/A.foo|()"];
316 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
317 [label="Exit block"];
}
318 [label="Exit when branch result"];
@@ -931,7 +931,7 @@ digraph booleanOperators_kt {
336 [label="Enter block"];
337 [label="Access variable R|<local>/x|"];
338 [label="Smart cast: R|<local>/x|"];
339 [label="Function call: R|<local>/x|.R|/A.foo|()"];
339 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
340 [label="Exit block"];
}
341 [label="Exit when branch result"];
@@ -46,7 +46,7 @@ digraph equalsToBoolean_kt {
color=blue
17 [label="Enter block"];
18 [label="Access variable R|<local>/b|"];
19 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
19 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
@@ -56,7 +56,7 @@ digraph equalsToBoolean_kt {
23 [label="Enter block"];
24 [label="Access variable R|<local>/b|"];
25 [label="Smart cast: R|<local>/b|"];
26 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
26 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
@@ -124,7 +124,7 @@ digraph equalsToBoolean_kt {
45 [label="Enter block"];
46 [label="Access variable R|<local>/b|"];
47 [label="Smart cast: R|<local>/b|"];
48 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
48 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
49 [label="Exit block"];
}
50 [label="Exit when branch result"];
@@ -133,7 +133,7 @@ digraph equalsToBoolean_kt {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/b|"];
54 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
54 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
@@ -201,7 +201,7 @@ digraph equalsToBoolean_kt {
73 [label="Enter block"];
74 [label="Access variable R|<local>/b|"];
75 [label="Smart cast: R|<local>/b|"];
76 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
76 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
@@ -210,7 +210,7 @@ digraph equalsToBoolean_kt {
color=blue
80 [label="Enter block"];
81 [label="Access variable R|<local>/b|"];
82 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
82 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
83 [label="Exit block"];
}
84 [label="Exit when branch result"];
@@ -277,7 +277,7 @@ digraph equalsToBoolean_kt {
color=blue
101 [label="Enter block"];
102 [label="Access variable R|<local>/b|"];
103 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
103 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
104 [label="Exit block"];
}
105 [label="Exit when branch result"];
@@ -287,7 +287,7 @@ digraph equalsToBoolean_kt {
107 [label="Enter block"];
108 [label="Access variable R|<local>/b|"];
109 [label="Smart cast: R|<local>/b|"];
110 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
110 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
111 [label="Exit block"];
}
112 [label="Exit when branch result"];
@@ -355,7 +355,7 @@ digraph equalsToBoolean_kt {
129 [label="Enter block"];
130 [label="Access variable R|<local>/b|"];
131 [label="Smart cast: R|<local>/b|"];
132 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
132 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
@@ -364,7 +364,7 @@ digraph equalsToBoolean_kt {
color=blue
136 [label="Enter block"];
137 [label="Access variable R|<local>/b|"];
138 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
138 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
139 [label="Exit block"];
}
140 [label="Exit when branch result"];
@@ -431,7 +431,7 @@ digraph equalsToBoolean_kt {
color=blue
157 [label="Enter block"];
158 [label="Access variable R|<local>/b|"];
159 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
159 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
160 [label="Exit block"];
}
161 [label="Exit when branch result"];
@@ -441,7 +441,7 @@ digraph equalsToBoolean_kt {
163 [label="Enter block"];
164 [label="Access variable R|<local>/b|"];
165 [label="Smart cast: R|<local>/b|"];
166 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
166 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
167 [label="Exit block"];
}
168 [label="Exit when branch result"];
@@ -508,7 +508,7 @@ digraph equalsToBoolean_kt {
color=blue
185 [label="Enter block"];
186 [label="Access variable R|<local>/b|"];
187 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
187 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
188 [label="Exit block"];
}
189 [label="Exit when branch result"];
@@ -518,7 +518,7 @@ digraph equalsToBoolean_kt {
191 [label="Enter block"];
192 [label="Access variable R|<local>/b|"];
193 [label="Smart cast: R|<local>/b|"];
194 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
194 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
195 [label="Exit block"];
}
196 [label="Exit when branch result"];
@@ -586,7 +586,7 @@ digraph equalsToBoolean_kt {
213 [label="Enter block"];
214 [label="Access variable R|<local>/b|"];
215 [label="Smart cast: R|<local>/b|"];
216 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
216 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
217 [label="Exit block"];
}
218 [label="Exit when branch result"];
@@ -595,7 +595,7 @@ digraph equalsToBoolean_kt {
color=blue
220 [label="Enter block"];
221 [label="Access variable R|<local>/b|"];
222 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
222 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
223 [label="Exit block"];
}
224 [label="Exit when branch result"];
@@ -31,14 +31,14 @@ digraph jumpFromRhsOfOperator_kt {
9 [label="Equality operator !="];
10 [label="Exit left part of ||"];
11 [label="Enter right part of ||"];
12 [label="Function call: R|java/lang/Exception.Exception|()"];
12 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
13 [label="Throw: throw R|java/lang/Exception.Exception|()"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit ||"];
}
16 [label="Access variable R|<local>/a|"];
17 [label="Smart cast: R|<local>/a|"];
18 [label="Function call: R|<local>/a|.R|/A.foo|()"];
18 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
19 [label="Exit block"];
}
20 [label="Exit function test_1" style="filled" fillcolor=red];
@@ -75,14 +75,14 @@ digraph jumpFromRhsOfOperator_kt {
26 [label="Equality operator =="];
27 [label="Exit left part of &&"];
28 [label="Enter right part of &&"];
29 [label="Function call: R|java/lang/Exception.Exception|()"];
29 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
30 [label="Throw: throw R|java/lang/Exception.Exception|()"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit &&"];
}
33 [label="Access variable R|<local>/a|"];
34 [label="Smart cast: R|<local>/a|"];
35 [label="Function call: R|<local>/a|.R|/A.foo|()"];
35 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
}
37 [label="Exit function teat_2" style="filled" fillcolor=red];
@@ -125,7 +125,7 @@ digraph jumpFromRhsOfOperator_kt {
45 [label="Equality operator !="];
46 [label="Exit left part of ||"];
47 [label="Enter right part of ||"];
48 [label="Function call: R|java/lang/Exception.Exception|()"];
48 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
49 [label="Throw: throw R|java/lang/Exception.Exception|()"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit ||"];
@@ -139,7 +139,7 @@ digraph jumpFromRhsOfOperator_kt {
55 [label="Enter block"];
56 [label="Access variable R|<local>/a|"];
57 [label="Smart cast: R|<local>/a|"];
58 [label="Function call: R|<local>/a|.R|/A.foo|()"];
58 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
@@ -147,7 +147,7 @@ digraph jumpFromRhsOfOperator_kt {
}
62 [label="Access variable R|<local>/a|"];
63 [label="Smart cast: R|<local>/a|"];
64 [label="Function call: R|<local>/a|.R|/A.foo|()"];
64 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
65 [label="Exit block"];
}
66 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -202,7 +202,7 @@ digraph jumpFromRhsOfOperator_kt {
74 [label="Equality operator =="];
75 [label="Exit left part of &&"];
76 [label="Enter right part of &&"];
77 [label="Function call: R|java/lang/Exception.Exception|()"];
77 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
78 [label="Throw: throw R|java/lang/Exception.Exception|()"];
79 [label="Stub" style="filled" fillcolor=gray];
80 [label="Exit &&"];
@@ -216,7 +216,7 @@ digraph jumpFromRhsOfOperator_kt {
84 [label="Enter block"];
85 [label="Access variable R|<local>/a|"];
86 [label="Smart cast: R|<local>/a|"];
87 [label="Function call: R|<local>/a|.R|/A.foo|()"];
87 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
88 [label="Exit block"];
}
89 [label="Exit when branch result"];
@@ -224,7 +224,7 @@ digraph jumpFromRhsOfOperator_kt {
}
91 [label="Access variable R|<local>/a|"];
92 [label="Smart cast: R|<local>/a|"];
93 [label="Function call: R|<local>/a|.R|/A.foo|()"];
93 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
94 [label="Exit block"];
}
95 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -273,14 +273,14 @@ digraph jumpFromRhsOfOperator_kt {
101 [label="Equality operator =="];
102 [label="Exit left part of ||"];
103 [label="Enter right part of ||"];
104 [label="Function call: R|java/lang/Exception.Exception|()"];
104 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
105 [label="Throw: throw R|java/lang/Exception.Exception|()"];
106 [label="Stub" style="filled" fillcolor=gray];
107 [label="Exit ||"];
}
108 [label="Access variable R|<local>/a|"];
109 [label="Smart cast: R|<local>/a|"];
110 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
110 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
111 [label="Exit block"];
}
112 [label="Exit function test_5" style="filled" fillcolor=red];
@@ -317,14 +317,14 @@ digraph jumpFromRhsOfOperator_kt {
118 [label="Equality operator !="];
119 [label="Exit left part of &&"];
120 [label="Enter right part of &&"];
121 [label="Function call: R|java/lang/Exception.Exception|()"];
121 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
122 [label="Throw: throw R|java/lang/Exception.Exception|()"];
123 [label="Stub" style="filled" fillcolor=gray];
124 [label="Exit &&"];
}
125 [label="Access variable R|<local>/a|"];
126 [label="Smart cast: R|<local>/a|"];
127 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
127 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
128 [label="Exit block"];
}
129 [label="Exit function teat_6" style="filled" fillcolor=red];
@@ -367,7 +367,7 @@ digraph jumpFromRhsOfOperator_kt {
137 [label="Equality operator =="];
138 [label="Exit left part of ||"];
139 [label="Enter right part of ||"];
140 [label="Function call: R|java/lang/Exception.Exception|()"];
140 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
141 [label="Throw: throw R|java/lang/Exception.Exception|()"];
142 [label="Stub" style="filled" fillcolor=gray];
143 [label="Exit ||"];
@@ -381,7 +381,7 @@ digraph jumpFromRhsOfOperator_kt {
147 [label="Enter block"];
148 [label="Access variable R|<local>/a|"];
149 [label="Smart cast: R|<local>/a|"];
150 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
150 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
151 [label="Exit block"];
}
152 [label="Exit when branch result"];
@@ -389,7 +389,7 @@ digraph jumpFromRhsOfOperator_kt {
}
154 [label="Access variable R|<local>/a|"];
155 [label="Smart cast: R|<local>/a|"];
156 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
156 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
157 [label="Exit block"];
}
158 [label="Exit function test_7" style="filled" fillcolor=red];
@@ -444,7 +444,7 @@ digraph jumpFromRhsOfOperator_kt {
166 [label="Equality operator !="];
167 [label="Exit left part of &&"];
168 [label="Enter right part of &&"];
169 [label="Function call: R|java/lang/Exception.Exception|()"];
169 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
170 [label="Throw: throw R|java/lang/Exception.Exception|()"];
171 [label="Stub" style="filled" fillcolor=gray];
172 [label="Exit &&"];
@@ -458,7 +458,7 @@ digraph jumpFromRhsOfOperator_kt {
176 [label="Enter block"];
177 [label="Access variable R|<local>/a|"];
178 [label="Smart cast: R|<local>/a|"];
179 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
179 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
180 [label="Exit block"];
}
181 [label="Exit when branch result"];
@@ -466,7 +466,7 @@ digraph jumpFromRhsOfOperator_kt {
}
183 [label="Access variable R|<local>/a|"];
184 [label="Smart cast: R|<local>/a|"];
185 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
185 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
186 [label="Exit block"];
}
187 [label="Exit function test_8" style="filled" fillcolor=red];
@@ -56,10 +56,10 @@ digraph boundSmartcasts_kt {
19 [label="Enter block"];
20 [label="Access variable R|<local>/x|"];
21 [label="Smart cast: R|<local>/x|"];
22 [label="Function call: R|<local>/x|.R|/A.foo|()"];
22 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
23 [label="Access variable R|<local>/y|"];
24 [label="Smart cast: R|<local>/y|"];
25 [label="Function call: R|<local>/y|.R|/A.foo|()"];
25 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
@@ -117,10 +117,10 @@ digraph boundSmartcasts_kt {
42 [label="Enter block"];
43 [label="Access variable R|<local>/x|"];
44 [label="Smart cast: R|<local>/x|"];
45 [label="Function call: R|<local>/x|.R|/A.foo|()"];
45 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
46 [label="Access variable R|<local>/y|"];
47 [label="Smart cast: R|<local>/y|"];
48 [label="Function call: R|<local>/y|.R|/A.foo|()"];
48 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
49 [label="Exit block"];
}
50 [label="Exit when branch result"];
@@ -178,7 +178,7 @@ digraph boundSmartcasts_kt {
65 [label="Enter block"];
66 [label="Access variable R|<local>/z|"];
67 [label="Smart cast: R|<local>/z|"];
68 [label="Function call: R|<local>/z|.R|/A.foo|()"];
68 [label="Function call: R|<local>/z|.R|/A.foo|()" style="filled" fillcolor=yellow];
69 [label="Exit block"];
}
70 [label="Exit when branch result"];
@@ -203,10 +203,10 @@ digraph boundSmartcasts_kt {
81 [label="Enter block"];
82 [label="Access variable R|<local>/z|"];
83 [label="Smart cast: R|<local>/z|"];
84 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"];
84 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
85 [label="Access variable R|<local>/z|"];
86 [label="Smart cast: R|<local>/z|"];
87 [label="Function call: R|<local>/z|.R|/B.bar|()"];
87 [label="Function call: R|<local>/z|.R|/B.bar|()" style="filled" fillcolor=yellow];
88 [label="Exit block"];
}
89 [label="Exit when branch result"];
@@ -267,11 +267,11 @@ digraph boundSmartcasts_kt {
98 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
99 [label="Access variable R|<local>/x|"];
100 [label="Smart cast: R|<local>/x|"];
101 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
101 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
102 [label="Access variable R|<local>/y|"];
103 [label="Assignment: R|<local>/x|"];
104 [label="Access variable R|<local>/x|"];
105 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
105 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_24 {
color=blue
106 [label="Enter when"];
@@ -289,10 +289,10 @@ digraph boundSmartcasts_kt {
113 [label="Enter block"];
114 [label="Access variable R|<local>/x|"];
115 [label="Smart cast: R|<local>/x|"];
116 [label="Function call: R|<local>/x|.R|/A.foo|()"];
116 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
117 [label="Access variable R|<local>/y|"];
118 [label="Smart cast: R|<local>/y|"];
119 [label="Function call: R|<local>/y|.R|/A.foo|()"];
119 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
120 [label="Exit block"];
}
121 [label="Exit when branch result"];
@@ -337,7 +337,7 @@ digraph boundSmartcasts_kt {
subgraph cluster_27 {
color=red
125 [label="Enter function <init>" style="filled" fillcolor=red];
126 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
126 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
127 [label="Exit function <init>" style="filled" fillcolor=red];
}
125 -> {126};
@@ -394,16 +394,16 @@ digraph boundSmartcasts_kt {
147 [label="Exit ?:"];
148 [label="Variable declaration: lval a: R|kotlin/Any|"];
149 [label="Access variable R|<local>/a|"];
150 [label="Function call: R|<local>/a|.R|/baz|()"];
150 [label="Function call: R|<local>/a|.R|/baz|()" style="filled" fillcolor=yellow];
151 [label="Access variable R|<local>/d|"];
152 [label="Access variable R|/D.any|"];
153 [label="Smart cast: R|<local>/d|.R|/D.any|"];
154 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
154 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
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="Smart cast: R|<local>/a|"];
159 [label="Function call: R|<local>/a|.R|/A.foo|()"];
159 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
160 [label="Exit block"];
}
161 [label="Exit function test_5" style="filled" fillcolor=red];
@@ -446,15 +446,15 @@ digraph boundSmartcasts_kt {
168 [label="Type operator: (R|<local>/a| as R|A|)"];
169 [label="Access variable R|<local>/a|"];
170 [label="Smart cast: R|<local>/a|"];
171 [label="Function call: R|<local>/a|.R|/A.foo|()"];
171 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
172 [label="Access variable R|<local>/d1|"];
173 [label="Access variable R|/D.any|"];
174 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
175 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
175 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()" style="filled" fillcolor=yellow];
176 [label="Access variable R|<local>/d1|"];
177 [label="Access variable R|/D.any|"];
178 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
179 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
179 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
180 [label="Exit block"];
}
181 [label="Exit function test_6" style="filled" fillcolor=red];
@@ -499,12 +499,12 @@ digraph boundSmartcasts_kt {
195 [label="Type operator: (R|<local>/a| as R|A|)"];
196 [label="Access variable R|<local>/a|"];
197 [label="Smart cast: R|<local>/a|"];
198 [label="Function call: R|<local>/a|.R|/A.foo|()"];
198 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
199 [label="Access variable R|<local>/b|"];
200 [label="Type operator: (R|<local>/b| as R|B|)"];
201 [label="Access variable R|<local>/b|"];
202 [label="Smart cast: R|<local>/b|"];
203 [label="Function call: R|<local>/b|.R|/B.bar|()"];
203 [label="Function call: R|<local>/b|.R|/B.bar|()" style="filled" fillcolor=yellow];
204 [label="Exit block"];
}
205 [label="Exit function test_7" style="filled" fillcolor=red];
@@ -6,7 +6,7 @@ digraph boundSmartcastsInBranches_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -45,7 +45,7 @@ digraph boundSmartcastsInBranches_kt {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/list|"];
15 [label="Function call: R|<local>/list|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<A>|>|()"];
15 [label="Function call: R|<local>/list|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<A>|>|()" style="filled" fillcolor=yellow];
16 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<A>|"];
subgraph cluster_6 {
color=blue
@@ -54,7 +54,7 @@ digraph boundSmartcastsInBranches_kt {
color=blue
18 [label="Enter loop condition"];
19 [label="Access variable R|<local>/<iterator>|"];
20 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()"];
20 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
21 [label="Exit loop condition"];
}
subgraph cluster_8 {
@@ -64,7 +64,7 @@ digraph boundSmartcastsInBranches_kt {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/<iterator>|"];
25 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|A|>|()"];
25 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|A|>|()" style="filled" fillcolor=yellow];
26 [label="Variable declaration: lval a: R|A|"];
subgraph cluster_10 {
color=blue
@@ -184,7 +184,7 @@ digraph boundSmartcastsInBranches_kt {
subgraph cluster_19 {
color=blue
68 [label="Enter block"];
69 [label="Function call: R|/A.A|()"];
69 [label="Function call: R|/A.A|()" style="filled" fillcolor=yellow];
70 [label="Assignment: R|<local>/x|"];
71 [label="Exit block"];
}
@@ -261,7 +261,7 @@ digraph boundSmartcastsInBranches_kt {
subgraph cluster_26 {
color=blue
97 [label="Enter block"];
98 [label="Function call: R|/A.A|()"];
98 [label="Function call: R|/A.A|()" style="filled" fillcolor=yellow];
99 [label="Assignment: R|<local>/x|"];
100 [label="Exit block"];
}
@@ -341,7 +341,7 @@ digraph boundSmartcastsInBranches_kt {
subgraph cluster_33 {
color=blue
127 [label="Enter block"];
128 [label="Function call: R|/A.A|()"];
128 [label="Function call: R|/A.A|()" style="filled" fillcolor=yellow];
129 [label="Assignment: R|<local>/x|"];
130 [label="Exit block"];
}
@@ -6,7 +6,7 @@ digraph functionCallBound_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -22,7 +22,7 @@ digraph functionCallBound_kt {
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Base|>()"];
6 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
@@ -85,7 +85,7 @@ digraph functionCallBound_kt {
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|()"];
28 [label="Function call: $subj$.R|/isOk|()" style="filled" fillcolor=yellow];
29 [label="Exit safe call"];
30 [label="Const: Boolean(true)"];
31 [label="Equality operator =="];
@@ -50,7 +50,7 @@ digraph casts_kt {
18 [label="Enter block"];
19 [label="Access variable R|<local>/x|"];
20 [label="Smart cast: R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
21 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
22 [label="Exit block"];
}
23 [label="Exit when branch result"];
@@ -58,7 +58,7 @@ digraph casts_kt {
}
25 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
27 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_2" style="filled" fillcolor=red];
@@ -115,14 +115,14 @@ digraph casts_kt {
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Smart cast: R|<local>/x|"];
47 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
47 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
48 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Exit when"];
}
51 [label="Access variable R|<local>/x|"];
52 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
52 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_13 {
color=blue
53 [label="Enter when"];
@@ -150,14 +150,14 @@ digraph casts_kt {
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Smart cast: R|<local>/x|"];
70 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
70 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
71 [label="Exit block"];
}
72 [label="Exit when branch result"];
73 [label="Exit when"];
}
74 [label="Access variable R|<local>/x|"];
75 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
75 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_17 {
color=blue
76 [label="Enter when"];
@@ -182,14 +182,14 @@ digraph casts_kt {
color=blue
88 [label="Enter block"];
89 [label="Access variable R|<local>/x|"];
90 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
90 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
91 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Exit when"];
}
94 [label="Access variable R|<local>/x|"];
95 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
95 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
96 [label="Exit block"];
}
97 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -290,7 +290,7 @@ digraph casts_kt {
color=blue
110 [label="Enter block"];
111 [label="Access variable R|<local>/b|"];
112 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
112 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
113 [label="Exit block"];
}
114 [label="Exit when branch result"];
@@ -300,14 +300,14 @@ digraph casts_kt {
116 [label="Enter block"];
117 [label="Access variable R|<local>/b|"];
118 [label="Smart cast: R|<local>/b|"];
119 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
119 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
120 [label="Exit block"];
}
121 [label="Exit when branch result"];
122 [label="Exit when"];
}
123 [label="Access variable R|<local>/b|"];
124 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
124 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_28 {
color=blue
125 [label="Enter when"];
@@ -331,7 +331,7 @@ digraph casts_kt {
135 [label="Enter block"];
136 [label="Access variable R|<local>/b|"];
137 [label="Smart cast: R|<local>/b|"];
138 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
138 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
139 [label="Exit block"];
}
140 [label="Exit when branch result"];
@@ -340,14 +340,14 @@ digraph casts_kt {
color=blue
142 [label="Enter block"];
143 [label="Access variable R|<local>/b|"];
144 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
144 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
145 [label="Exit block"];
}
146 [label="Exit when branch result"];
147 [label="Exit when"];
}
148 [label="Access variable R|<local>/b|"];
149 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
149 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
150 [label="Exit block"];
}
151 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -48,7 +48,7 @@ digraph elvis_kt {
21 [label="Enter block"];
22 [label="Access variable R|<local>/x|"];
23 [label="Smart cast: R|<local>/x|"];
24 [label="Function call: R|<local>/x|.R|/A.foo|()"];
24 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
@@ -237,7 +237,7 @@ digraph returns_kt {
85 [label="Enter block"];
86 [label="Access variable R|<local>/x|"];
87 [label="Smart cast: R|<local>/x|"];
88 [label="Function call: R|<local>/x|.R|/C.baz|()"];
88 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
89 [label="Exit block"];
}
90 [label="Exit when branch result"];
@@ -247,7 +247,7 @@ digraph returns_kt {
92 [label="Enter block"];
93 [label="Access variable R|<local>/x|"];
94 [label="Smart cast: R|<local>/x|"];
95 [label="Function call: R|<local>/x|.R|/B.bar|()"];
95 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
96 [label="Exit block"];
}
97 [label="Exit when branch result"];
@@ -255,13 +255,13 @@ digraph returns_kt {
}
99 [label="Access variable R|<local>/x|"];
100 [label="Smart cast: R|<local>/x|"];
101 [label="Function call: R|<local>/x|.R|/A.foo|()"];
101 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
102 [label="Access variable R|<local>/x|"];
103 [label="Smart cast: R|<local>/x|"];
104 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
104 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
105 [label="Access variable R|<local>/x|"];
106 [label="Smart cast: R|<local>/x|"];
107 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
107 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
108 [label="Exit block"];
}
109 [label="Exit function test_2" style="filled" fillcolor=red];
@@ -342,7 +342,7 @@ digraph returns_kt {
123 [label="Enter block"];
124 [label="Access variable R|<local>/x|"];
125 [label="Smart cast: R|<local>/x|"];
126 [label="Function call: R|<local>/x|.R|/C.baz|()"];
126 [label="Function call: R|<local>/x|.R|/C.baz|()" style="filled" fillcolor=yellow];
127 [label="Exit block"];
}
128 [label="Exit when branch result"];
@@ -352,18 +352,18 @@ digraph returns_kt {
130 [label="Enter block"];
131 [label="Access variable R|<local>/x|"];
132 [label="Smart cast: R|<local>/x|"];
133 [label="Function call: R|<local>/x|.R|/B.bar|()"];
133 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
134 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
137 [label="Access variable R|<local>/x|"];
138 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
138 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
139 [label="Access variable R|<local>/x|"];
140 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
140 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
141 [label="Access variable R|<local>/x|"];
142 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
142 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()" style="filled" fillcolor=yellow];
143 [label="Exit block"];
}
144 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -409,7 +409,7 @@ digraph returns_kt {
subgraph cluster_37 {
color=blue
146 [label="Enter block"];
147 [label="Function call: R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
147 [label="Function call: R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow];
148 [label="Jump: ^runHigherOrder R|<local>/f|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()"];
149 [label="Stub" style="filled" fillcolor=gray];
150 [label="Exit block" style="filled" fillcolor=gray];
@@ -480,7 +480,7 @@ digraph returns_kt {
186 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
176 [label="Postponed exit from lambda"];
177 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)"];
177 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
178 [label="Exit block"];
}
179 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -155,7 +155,7 @@ digraph simpleIf_kt {
60 [label="Access variable R|kotlin/String.length|"];
61 [label="Access variable R|<local>/x|"];
62 [label="Smart cast: R|<local>/x|"];
63 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
63 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
@@ -58,7 +58,7 @@ digraph smartcastFromArgument_kt {
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Lhs of ?: is not null"];
22 [label="Exit ?:"];
23 [label="Function call: R|/takeA|(...)"];
23 [label="Function call: R|/takeA|(...)" style="filled" fillcolor=yellow];
24 [label="Exit when branch condition"];
}
25 [label="Synthetic else branch"];
@@ -68,7 +68,7 @@ digraph smartcastFromArgument_kt {
27 [label="Enter block"];
28 [label="Access variable R|<local>/a|"];
29 [label="Smart cast: R|<local>/a|"];
30 [label="Function call: R|<local>/a|.R|/A.foo|()"];
30 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
@@ -61,7 +61,7 @@ digraph when_kt {
21 [label="Enter block"];
22 [label="Access variable R|<local>/x|"];
23 [label="Smart cast: R|<local>/x|"];
24 [label="Function call: R|<local>/x|.R|/B.bar|()"];
24 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
@@ -71,7 +71,7 @@ digraph when_kt {
28 [label="Enter block"];
29 [label="Access variable R|<local>/x|"];
30 [label="Smart cast: R|<local>/x|"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
33 [label="Exit when branch result"];
@@ -114,10 +114,10 @@ digraph when_kt {
53 [label="Enter block"];
54 [label="Access variable R|<local>/x|"];
55 [label="Smart cast: R|<local>/x|"];
56 [label="Function call: R|<local>/x|.R|/A.foo|()"];
56 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
57 [label="Access variable R|<local>/x|"];
58 [label="Smart cast: R|<local>/x|"];
59 [label="Function call: R|<local>/x|.R|/B.bar|()"];
59 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
60 [label="Exit block"];
}
61 [label="Exit when branch result"];
@@ -127,13 +127,13 @@ digraph when_kt {
63 [label="Enter block"];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Function call: R|<local>/x|.R|/A.foo|()"];
66 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
67 [label="Access variable R|<local>/x|"];
68 [label="Smart cast: R|<local>/x|"];
69 [label="Function call: R|<local>/x|.R|/B.bar|()"];
69 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
70 [label="Access variable R|<local>/x|"];
71 [label="Smart cast: R|<local>/x|"];
72 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
72 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
@@ -143,7 +143,7 @@ digraph when_kt {
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Smart cast: R|<local>/x|"];
79 [label="Function call: R|<local>/x|.R|/A.foo|()"];
79 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
80 [label="Exit block"];
}
81 [label="Exit when branch result"];
@@ -272,7 +272,7 @@ digraph when_kt {
103 [label="Enter block"];
104 [label="Access variable R|<local>/x|"];
105 [label="Smart cast: R|<local>/x|"];
106 [label="Function call: R|<local>/x|.R|/B.bar|()"];
106 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
@@ -282,7 +282,7 @@ digraph when_kt {
110 [label="Enter block"];
111 [label="Access variable R|<local>/x|"];
112 [label="Smart cast: R|<local>/x|"];
113 [label="Function call: R|<local>/x|.R|/A.foo|()"];
113 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
114 [label="Exit block"];
}
115 [label="Exit when branch result"];
@@ -324,10 +324,10 @@ digraph when_kt {
134 [label="Enter block"];
135 [label="Access variable R|<local>/x|"];
136 [label="Smart cast: R|<local>/x|"];
137 [label="Function call: R|<local>/x|.R|/A.foo|()"];
137 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
138 [label="Access variable R|<local>/x|"];
139 [label="Smart cast: R|<local>/x|"];
140 [label="Function call: R|<local>/x|.R|/B.bar|()"];
140 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
141 [label="Exit block"];
}
142 [label="Exit when branch result"];
@@ -337,13 +337,13 @@ digraph when_kt {
144 [label="Enter block"];
145 [label="Access variable R|<local>/x|"];
146 [label="Smart cast: R|<local>/x|"];
147 [label="Function call: R|<local>/x|.R|/A.foo|()"];
147 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
148 [label="Access variable R|<local>/x|"];
149 [label="Smart cast: R|<local>/x|"];
150 [label="Function call: R|<local>/x|.R|/B.bar|()"];
150 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
151 [label="Access variable R|<local>/x|"];
152 [label="Smart cast: R|<local>/x|"];
153 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
153 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
154 [label="Exit block"];
}
155 [label="Exit when branch result"];
@@ -353,7 +353,7 @@ digraph when_kt {
157 [label="Enter block"];
158 [label="Access variable R|<local>/x|"];
159 [label="Smart cast: R|<local>/x|"];
160 [label="Function call: R|<local>/x|.R|/A.foo|()"];
160 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
161 [label="Exit block"];
}
162 [label="Exit when branch result"];
@@ -483,10 +483,10 @@ digraph when_kt {
185 [label="Enter block"];
186 [label="Access variable R|<local>/x|"];
187 [label="Smart cast: R|<local>/x|"];
188 [label="Function call: R|<local>/x|.R|/B.bar|()"];
188 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
189 [label="Access variable R|<local>/y|"];
190 [label="Smart cast: R|<local>/y|"];
191 [label="Function call: R|<local>/y|.R|/B.bar|()"];
191 [label="Function call: R|<local>/y|.R|/B.bar|()" style="filled" fillcolor=yellow];
192 [label="Exit block"];
}
193 [label="Exit when branch result"];
@@ -496,10 +496,10 @@ digraph when_kt {
195 [label="Enter block"];
196 [label="Access variable R|<local>/x|"];
197 [label="Smart cast: R|<local>/x|"];
198 [label="Function call: R|<local>/x|.R|/A.foo|()"];
198 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
199 [label="Access variable R|<local>/y|"];
200 [label="Smart cast: R|<local>/y|"];
201 [label="Function call: R|<local>/y|.R|/A.foo|()"];
201 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
202 [label="Exit block"];
}
203 [label="Exit when branch result"];
@@ -542,16 +542,16 @@ digraph when_kt {
223 [label="Enter block"];
224 [label="Access variable R|<local>/x|"];
225 [label="Smart cast: R|<local>/x|"];
226 [label="Function call: R|<local>/x|.R|/A.foo|()"];
226 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
227 [label="Access variable R|<local>/x|"];
228 [label="Smart cast: R|<local>/x|"];
229 [label="Function call: R|<local>/x|.R|/B.bar|()"];
229 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
230 [label="Access variable R|<local>/y|"];
231 [label="Smart cast: R|<local>/y|"];
232 [label="Function call: R|<local>/y|.R|/A.foo|()"];
232 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
233 [label="Access variable R|<local>/y|"];
234 [label="Smart cast: R|<local>/y|"];
235 [label="Function call: R|<local>/y|.R|/B.bar|()"];
235 [label="Function call: R|<local>/y|.R|/B.bar|()" style="filled" fillcolor=yellow];
236 [label="Exit block"];
}
237 [label="Exit when branch result"];
@@ -561,22 +561,22 @@ digraph when_kt {
239 [label="Enter block"];
240 [label="Access variable R|<local>/x|"];
241 [label="Smart cast: R|<local>/x|"];
242 [label="Function call: R|<local>/x|.R|/A.foo|()"];
242 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
243 [label="Access variable R|<local>/x|"];
244 [label="Smart cast: R|<local>/x|"];
245 [label="Function call: R|<local>/x|.R|/B.bar|()"];
245 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
246 [label="Access variable R|<local>/x|"];
247 [label="Smart cast: R|<local>/x|"];
248 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
248 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
249 [label="Access variable R|<local>/y|"];
250 [label="Smart cast: R|<local>/y|"];
251 [label="Function call: R|<local>/y|.R|/A.foo|()"];
251 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
252 [label="Access variable R|<local>/y|"];
253 [label="Smart cast: R|<local>/y|"];
254 [label="Function call: R|<local>/y|.R|/B.bar|()"];
254 [label="Function call: R|<local>/y|.R|/B.bar|()" style="filled" fillcolor=yellow];
255 [label="Access variable R|<local>/y|"];
256 [label="Smart cast: R|<local>/y|"];
257 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
257 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
258 [label="Exit block"];
}
259 [label="Exit when branch result"];
@@ -586,10 +586,10 @@ digraph when_kt {
261 [label="Enter block"];
262 [label="Access variable R|<local>/x|"];
263 [label="Smart cast: R|<local>/x|"];
264 [label="Function call: R|<local>/x|.R|/A.foo|()"];
264 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
265 [label="Access variable R|<local>/y|"];
266 [label="Smart cast: R|<local>/y|"];
267 [label="Function call: R|<local>/y|.R|/A.foo|()"];
267 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
268 [label="Exit block"];
}
269 [label="Exit when branch result"];
@@ -739,7 +739,7 @@ digraph when_kt {
289 [label="Enter block"];
290 [label="Access variable R|<local>/x|"];
291 [label="Smart cast: R|<local>/x|"];
292 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
292 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
293 [label="Exit block"];
}
294 [label="Exit when branch result"];
@@ -747,7 +747,7 @@ digraph when_kt {
}
296 [label="Access variable R|<local>/x|"];
297 [label="Smart cast: R|<local>/x|"];
298 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
298 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
299 [label="Exit block"];
}
300 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -39,7 +39,7 @@ digraph whenSubjectExpression_kt {
16 [label="Enter block"];
17 [label="Access variable R|<local>/x|"];
18 [label="Smart cast: R|<local>/x|"];
19 [label="Function call: R|<local>/x|.R|kotlin/Double.toInt|()"];
19 [label="Function call: R|<local>/x|.R|kotlin/Double.toInt|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
@@ -137,7 +137,7 @@ digraph whenSubjectExpression_kt {
52 [label="Enter block"];
53 [label="Access variable R|<local>/y|"];
54 [label="Smart cast: R|<local>/y|"];
55 [label="Function call: R|<local>/y|.R|kotlin/Double.toInt|()"];
55 [label="Function call: R|<local>/y|.R|kotlin/Double.toInt|()" style="filled" fillcolor=yellow];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
@@ -40,10 +40,10 @@ digraph equalsAndIdentity_kt {
color=blue
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Function call: R|<local>/x|.R|/A.foo|()"];
16 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
17 [label="Access variable R|<local>/y|"];
18 [label="Smart cast: R|<local>/y|"];
19 [label="Function call: R|<local>/y|.R|/A.foo|()"];
19 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
@@ -66,10 +66,10 @@ digraph equalsAndIdentity_kt {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/x|"];
33 [label="Function call: R|<local>/x|.R|/A.foo|()"];
33 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
34 [label="Access variable R|<local>/y|"];
35 [label="Smart cast: R|<local>/y|"];
36 [label="Function call: R|<local>/y|.R|/A.foo|()"];
36 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
37 [label="Exit block"];
}
38 [label="Exit when branch result"];
@@ -140,9 +140,9 @@ digraph equalsAndIdentity_kt {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
54 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
55 [label="Access variable R|<local>/y|"];
56 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
56 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
57 [label="Exit block"];
}
58 [label="Exit when branch result"];
@@ -165,9 +165,9 @@ digraph equalsAndIdentity_kt {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/x|"];
70 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
70 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
71 [label="Access variable R|<local>/y|"];
72 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
72 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
@@ -261,10 +261,10 @@ digraph equalsAndIdentity_kt {
103 [label="Enter block"];
104 [label="Access variable R|<local>/x|"];
105 [label="Smart cast: R|<local>/x|"];
106 [label="Function call: R|<local>/x|.R|/A.foo|()"];
106 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
107 [label="Access variable R|<local>/y|"];
108 [label="Smart cast: R|<local>/y|"];
109 [label="Function call: R|<local>/y|.R|/A.foo|()"];
109 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
110 [label="Exit block"];
}
111 [label="Exit when branch result"];
@@ -289,10 +289,10 @@ digraph equalsAndIdentity_kt {
122 [label="Enter block"];
123 [label="Access variable R|<local>/x|"];
124 [label="Smart cast: R|<local>/x|"];
125 [label="Function call: R|<local>/x|.R|/A.foo|()"];
125 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
126 [label="Access variable R|<local>/y|"];
127 [label="Smart cast: R|<local>/y|"];
128 [label="Function call: R|<local>/y|.R|/A.foo|()"];
128 [label="Function call: R|<local>/y|.R|/A.foo|()" style="filled" fillcolor=yellow];
129 [label="Exit block"];
}
130 [label="Exit when branch result"];
@@ -7,7 +7,7 @@ digraph incorrectSmartcastToNothing_kt {
color=red
0 [label="Enter property" style="filled" fillcolor=red];
1 [label="Const: String(foo)"];
2 [label="Function call: R|java/io/File.File|(...)"];
2 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
3 [label="Exit property" style="filled" fillcolor=red];
}
0 -> {1};
@@ -36,7 +36,7 @@ digraph incorrectSmartcastToNothing_kt {
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/cacheExtSetting|"];
14 [label="Smart cast: R|<local>/cacheExtSetting|"];
15 [label="Function call: R|<local>/cacheExtSetting|.R|kotlin/text/isBlank|()"];
15 [label="Function call: R|<local>/cacheExtSetting|.R|kotlin/text/isBlank|()" style="filled" fillcolor=yellow];
16 [label="Exit when branch condition"];
}
subgraph cluster_6 {
@@ -50,7 +50,7 @@ digraph incorrectSmartcastToNothing_kt {
20 [label="Enter block"];
21 [label="Access variable R|<local>/cacheExtSetting|"];
22 [label="Smart cast: R|<local>/cacheExtSetting|"];
23 [label="Function call: R|java/io/File.File|(...)"];
23 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
@@ -71,32 +71,31 @@ digraph incorrectSmartcastToNothing_kt {
35 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
47 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
48 [label="Enter block"];
49 [label="Access variable R|<local>/it|"];
50 [label="Const: String(main.kts.compiled.cache)"];
51 [label="Function call: R|java/io/File.File|(...)"];
52 [label="Exit block"];
47 [label="Enter block"];
48 [label="Access variable R|<local>/it|"];
49 [label="Const: String(main.kts.compiled.cache)"];
50 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
51 [label="Exit block"];
}
53 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
52 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
36 [label="Postponed exit from lambda"];
37 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)"];
37 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)" style="filled" fillcolor=yellow];
38 [label="Exit safe call"];
39 [label="Exit block"];
}
40 [label="Exit when branch result"];
41 [label="Exit when"];
41 [label="Merge postponed lambda exits"];
42 [label="Exit when"];
}
42 [label="Variable declaration: lval cacheBaseDir: R|java/io/File?|"];
43 [label="Exit block"];
43 [label="Variable declaration: lval cacheBaseDir: R|java/io/File?|"];
44 [label="Exit block"];
}
44 [label="Exit function test" style="filled" fillcolor=red];
45 [label="Exit function test" style="filled" fillcolor=red];
}
45 [label="Merge postponed lambda exits"];
46 [label="Merge postponed lambda exits"];
4 -> {5};
5 -> {6};
6 -> {7};
@@ -118,35 +117,35 @@ digraph incorrectSmartcastToNothing_kt {
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {41};
25 -> {42};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {41};
30 -> {42};
31 -> {32};
32 -> {33};
33 -> {34 38};
34 -> {35};
35 -> {47};
35 -> {46};
35 -> {36} [color=red];
35 -> {47} [style=dashed];
35 -> {46} [style=dashed];
36 -> {37};
37 -> {38};
38 -> {45 39};
38 -> {41 39};
39 -> {40};
40 -> {41};
41 -> {46 42};
40 -> {42};
41 -> {42} [color=red];
42 -> {43};
43 -> {44};
45 -> {46} [color=red];
44 -> {45};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {45} [color=red];
53 -> {36} [color=green];
52 -> {41} [color=red];
52 -> {36} [color=green];
}
@@ -55,28 +55,27 @@ digraph inPlaceLambdas_kt {
18 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
27 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
26 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
28 [label="Enter block"];
29 [label="Access variable R|<local>/x|"];
30 [label="Smart cast: R|<local>/x|"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()"];
32 [label="Exit block"];
27 [label="Enter block"];
28 [label="Access variable R|<local>/x|"];
29 [label="Smart cast: R|<local>/x|"];
30 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
31 [label="Exit block"];
}
33 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
19 [label="Call arguments union" style="filled" fillcolor=yellow];
20 [label="Postponed exit from lambda"];
21 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
22 [label="Exit block"];
19 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
21 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Exit when"];
22 [label="Exit when branch result"];
23 [label="Exit when"];
}
25 [label="Exit block"];
24 [label="Exit block"];
}
26 [label="Exit function test_1" style="filled" fillcolor=red];
25 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
@@ -85,163 +84,158 @@ digraph inPlaceLambdas_kt {
12 -> {13};
13 -> {14};
14 -> {16 15};
15 -> {24};
15 -> {23};
16 -> {17};
17 -> {18};
18 -> {27};
18 -> {20} [color=red];
18 -> {27} [style=dashed];
19 -> {21} [color=red];
20 -> {21} [color=green];
18 -> {26};
18 -> {19} [color=red];
18 -> {26} [style=dashed];
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {19} [color=red];
33 -> {20} [color=green];
32 -> {20} [color=red];
32 -> {19} [color=green];
subgraph cluster_11 {
color=red
34 [label="Enter function test_2" style="filled" fillcolor=red];
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
35 [label="Enter block"];
36 [label="Postponed enter to lambda"];
34 [label="Enter block"];
35 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
45 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/x|"];
48 [label="Type operator: (R|<local>/x| as R|B|)"];
49 [label="Exit block"];
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as R|B|)"];
47 [label="Exit block"];
}
50 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
37 [label="Call arguments union" style="filled" fillcolor=yellow];
38 [label="Postponed exit from lambda"];
39 [label="Function call: R|kotlin/run|<R|B|>(...)"];
40 [label="Access variable R|<local>/x|"];
41 [label="Smart cast: R|<local>/x|"];
42 [label="Function call: R|<local>/x|.R|/B.bar|()"];
43 [label="Exit block"];
36 [label="Postponed exit from lambda"];
37 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
38 [label="Access variable R|<local>/x|"];
39 [label="Smart cast: R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
41 [label="Exit block"];
}
44 [label="Exit function test_2" style="filled" fillcolor=red];
42 [label="Exit function test_2" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {45};
36 -> {38} [color=red];
36 -> {45} [style=dashed];
37 -> {39} [color=red];
38 -> {39} [color=green];
35 -> {43};
35 -> {36} [color=red];
35 -> {43} [style=dashed];
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {37} [color=red];
50 -> {38} [color=green];
48 -> {37} [color=red];
48 -> {36} [color=green];
subgraph cluster_15 {
color=red
51 [label="Enter function test_3" style="filled" fillcolor=red];
49 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
52 [label="Enter block"];
50 [label="Enter block"];
subgraph cluster_17 {
color=blue
53 [label="Enter when"];
51 [label="Enter when"];
subgraph cluster_18 {
color=blue
54 [label="Enter when branch condition "];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: (R|<local>/x| is R|A|)"];
57 [label="Exit when branch condition"];
52 [label="Enter when branch condition "];
53 [label="Access variable R|<local>/x|"];
54 [label="Type operator: (R|<local>/x| is R|A|)"];
55 [label="Exit when branch condition"];
}
58 [label="Synthetic else branch"];
59 [label="Enter when branch result"];
56 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
60 [label="Enter block"];
61 [label="Postponed enter to lambda"];
58 [label="Enter block"];
59 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
73 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
70 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
74 [label="Enter block"];
71 [label="Enter block"];
72 [label="Access variable R|<local>/x|"];
73 [label="Smart cast: R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
75 [label="Access variable R|<local>/x|"];
76 [label="Smart cast: R|<local>/x|"];
77 [label="Function call: R|<local>/x|.R|/A.foo|()"];
78 [label="Access variable R|<local>/x|"];
79 [label="Smart cast: R|<local>/x|"];
80 [label="Type operator: (R|<local>/x| as R|B|)"];
81 [label="Exit block"];
77 [label="Type operator: (R|<local>/x| as R|B|)"];
78 [label="Exit block"];
}
82 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
79 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
62 [label="Call arguments union" style="filled" fillcolor=yellow];
63 [label="Postponed exit from lambda"];
64 [label="Function call: R|kotlin/run|<R|B|>(...)"];
65 [label="Access variable R|<local>/x|"];
66 [label="Smart cast: R|<local>/x|"];
67 [label="Function call: R|<local>/x|.R|/B.bar|()"];
68 [label="Exit block"];
60 [label="Postponed exit from lambda"];
61 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
62 [label="Access variable R|<local>/x|"];
63 [label="Smart cast: R|<local>/x|"];
64 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
65 [label="Exit block"];
}
69 [label="Exit when branch result"];
70 [label="Exit when"];
66 [label="Exit when branch result"];
67 [label="Exit when"];
}
71 [label="Exit block"];
68 [label="Exit block"];
}
72 [label="Exit function test_3" style="filled" fillcolor=red];
69 [label="Exit function test_3" style="filled" fillcolor=red];
}
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {59 58};
58 -> {70};
59 -> {60};
55 -> {57 56};
56 -> {67};
57 -> {58};
58 -> {59};
59 -> {70};
59 -> {60} [color=red];
59 -> {70} [style=dashed];
60 -> {61};
61 -> {73};
61 -> {63} [color=red];
61 -> {73} [style=dashed];
62 -> {64} [color=red];
63 -> {64} [color=green];
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {62} [color=red];
82 -> {63} [color=green];
79 -> {61} [color=red];
79 -> {60} [color=green];
}
@@ -6,7 +6,7 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -22,7 +22,7 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Sealed|>()"];
6 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
@@ -75,7 +75,7 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_8 {
color=red
21 [label="Enter function <init>" style="filled" fillcolor=red];
22 [label="Delegated constructor call: super<R|Sealed|>()"];
22 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
23 [label="Exit function <init>" style="filled" fillcolor=red];
}
21 -> {22};
@@ -135,17 +135,17 @@ digraph lambdaInWhenBranch_kt {
48 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
83 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
82 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
84 [label="Enter block"];
85 [label="Access variable R|<local>/it|"];
86 [label="Exit block"];
83 [label="Enter block"];
84 [label="Access variable R|<local>/it|"];
85 [label="Exit block"];
}
87 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
86 [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|>(...)"];
50 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
51 [label="Exit block"];
}
52 [label="Exit when branch result"];
@@ -196,7 +196,6 @@ digraph lambdaInWhenBranch_kt {
}
81 [label="Exit function foo" style="filled" fillcolor=red];
}
82 [label="Merge postponed lambda exits"];
28 -> {29};
29 -> {30};
30 -> {31};
@@ -217,14 +216,14 @@ digraph lambdaInWhenBranch_kt {
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {83};
48 -> {82};
48 -> {49} [color=red];
48 -> {83} [style=dashed];
48 -> {82} [style=dashed];
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {82 54};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
@@ -252,11 +251,11 @@ digraph lambdaInWhenBranch_kt {
78 -> {79};
79 -> {80};
80 -> {81};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {82} [color=red];
87 -> {49} [color=green];
86 -> {53} [color=red];
86 -> {49} [color=green];
}
@@ -25,7 +25,7 @@ digraph smartcastOnLambda_kt {
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Function call: R|<local>/func|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
11 [label="Function call: R|<local>/func|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
@@ -66,7 +66,7 @@ digraph dataFlowInfoFromWhileCondition_kt {
24 [label="Enter block"];
25 [label="Access variable R|<local>/a|"];
26 [label="Smart cast: R|<local>/a|"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit loop block"];
@@ -69,7 +69,7 @@ digraph endlessLoops_kt {
}
29 [label="Access variable R|<local>/x|"];
30 [label="Smart cast: R|<local>/x|"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
33 [label="Exit function test_1" style="filled" fillcolor=red];
@@ -158,7 +158,7 @@ digraph endlessLoops_kt {
}
59 [label="Access variable R|<local>/x|"];
60 [label="Smart cast: R|<local>/x|"];
61 [label="Function call: R|<local>/x|.R|/A.foo|()"];
61 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
62 [label="Exit block"];
}
63 [label="Exit function test_2" style="filled" fillcolor=red];
@@ -268,7 +268,7 @@ digraph endlessLoops_kt {
}
101 [label="Access variable R|<local>/x|"];
102 [label="Smart cast: R|<local>/x|"];
103 [label="Function call: R|<local>/x|.R|/A.foo|()"];
103 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
104 [label="Exit block"];
}
105 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -371,7 +371,7 @@ digraph endlessLoops_kt {
132 [label="Exit whileloop"];
}
133 [label="Access variable R|<local>/x|"];
134 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
134 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
135 [label="Exit block"];
}
136 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -462,7 +462,7 @@ digraph endlessLoops_kt {
}
162 [label="Access variable R|<local>/x|"];
163 [label="Smart cast: R|<local>/x|"];
164 [label="Function call: R|<local>/x|.R|/A.foo|()"];
164 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
165 [label="Exit block"];
}
166 [label="Exit function test_5" style="filled" fillcolor=red];
@@ -551,7 +551,7 @@ digraph endlessLoops_kt {
}
192 [label="Access variable R|<local>/x|"];
193 [label="Smart cast: R|<local>/x|"];
194 [label="Function call: R|<local>/x|.R|/A.foo|()"];
194 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
195 [label="Exit block"];
}
196 [label="Exit function test_6" style="filled" fillcolor=red];
@@ -58,20 +58,20 @@ digraph multipleCasts_kt {
subgraph cluster_7 {
color=blue
16 [label="Enter block"];
17 [label="Function call: R|/getAny|()"];
17 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
18 [label="Variable declaration: lval a: R|kotlin/Any?|"];
19 [label="Function call: R|/getAny|()"];
19 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
20 [label="Variable declaration: lval b: R|kotlin/Any?|"];
21 [label="Access variable R|<local>/a|"];
22 [label="Type operator: (R|<local>/a| as R|A|)"];
23 [label="Access variable R|<local>/a|"];
24 [label="Smart cast: R|<local>/a|"];
25 [label="Function call: R|<local>/a|.R|/A.foo|()"];
25 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/b|"];
27 [label="Type operator: (R|<local>/b| as R|B|)"];
28 [label="Access variable R|<local>/b|"];
29 [label="Smart cast: R|<local>/b|"];
30 [label="Function call: R|<local>/b|.R|/B.foo|()"];
30 [label="Function call: R|<local>/b|.R|/B.foo|()" style="filled" fillcolor=yellow];
31 [label="Exit block"];
}
32 [label="Exit function test_0" style="filled" fillcolor=red];
@@ -100,9 +100,9 @@ digraph multipleCasts_kt {
subgraph cluster_9 {
color=blue
34 [label="Enter block"];
35 [label="Function call: R|/getAny|()"];
35 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
36 [label="Variable declaration: lval a: R|kotlin/Any?|"];
37 [label="Function call: R|/getAny|()"];
37 [label="Function call: R|/getAny|()" style="filled" fillcolor=yellow];
38 [label="Variable declaration: lval b: R|kotlin/Any?|"];
subgraph cluster_10 {
color=blue
@@ -130,10 +130,10 @@ digraph multipleCasts_kt {
52 [label="Enter block"];
53 [label="Access variable R|<local>/a|"];
54 [label="Smart cast: R|<local>/a|"];
55 [label="Function call: R|<local>/a|.R|/A.foo|()"];
55 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
56 [label="Access variable R|<local>/b|"];
57 [label="Smart cast: R|<local>/b|"];
58 [label="Function call: R|<local>/b|.R|/B.foo|()"];
58 [label="Function call: R|<local>/b|.R|/B.foo|()" style="filled" fillcolor=yellow];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
@@ -55,7 +55,7 @@ digraph nullability_kt {
subgraph cluster_7 {
color=red
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
@@ -106,7 +106,7 @@ digraph nullability_kt {
subgraph cluster_12 {
color=red
30 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
32 [label="Exit function <init>" style="filled" fillcolor=red];
}
30 -> {31};
@@ -157,7 +157,7 @@ digraph nullability_kt {
subgraph cluster_17 {
color=red
46 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
48 [label="Exit function <init>" style="filled" fillcolor=red];
}
46 -> {47};
@@ -240,7 +240,7 @@ digraph nullability_kt {
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Smart cast: R|<local>/x|"];
79 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
79 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
80 [label="Exit block"];
}
81 [label="Exit when branch result"];
@@ -250,14 +250,14 @@ digraph nullability_kt {
83 [label="Enter block"];
84 [label="Access variable R|<local>/x|"];
85 [label="Smart cast: R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|/A.foo|()"];
86 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
87 [label="Exit block"];
}
88 [label="Exit when branch result"];
89 [label="Exit when"];
}
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
91 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
92 [label="Exit block"];
}
93 [label="Exit function test_1" style="filled" fillcolor=red];
@@ -319,7 +319,7 @@ digraph nullability_kt {
105 [label="Enter block"];
106 [label="Access variable R|<local>/x|"];
107 [label="Smart cast: R|<local>/x|"];
108 [label="Function call: R|<local>/x|.R|/A.foo|()"];
108 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
109 [label="Exit block"];
}
110 [label="Exit when branch result"];
@@ -329,14 +329,14 @@ digraph nullability_kt {
112 [label="Enter block"];
113 [label="Access variable R|<local>/x|"];
114 [label="Smart cast: R|<local>/x|"];
115 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
115 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
116 [label="Exit block"];
}
117 [label="Exit when branch result"];
118 [label="Exit when"];
}
119 [label="Access variable R|<local>/x|"];
120 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
120 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
121 [label="Exit block"];
}
122 [label="Exit function test_2" style="filled" fillcolor=red];
@@ -385,7 +385,7 @@ digraph nullability_kt {
131 [label="Exit ?:"];
132 [label="Access variable R|<local>/x|"];
133 [label="Smart cast: R|<local>/x|"];
134 [label="Function call: R|<local>/x|.R|/A.foo|()"];
134 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
135 [label="Exit block"];
}
136 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -419,7 +419,7 @@ digraph nullability_kt {
140 [label="Enter when branch condition "];
141 [label="Access variable R|<local>/x|"];
142 [label="Enter safe call"];
143 [label="Function call: $subj$.R|/A.getA|()"];
143 [label="Function call: $subj$.R|/A.getA|()" style="filled" fillcolor=yellow];
144 [label="Exit safe call"];
145 [label="Const: Null(null)"];
146 [label="Equality operator =="];
@@ -439,7 +439,7 @@ digraph nullability_kt {
}
156 [label="Access variable R|<local>/x|"];
157 [label="Smart cast: R|<local>/x|"];
158 [label="Function call: R|<local>/x|.R|/A.foo|()"];
158 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
159 [label="Exit block"];
}
160 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -487,7 +487,7 @@ digraph nullability_kt {
168 [label="Enter safe call"];
169 [label="Access variable R|/MyData.s|"];
170 [label="Enter safe call"];
171 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
171 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
172 [label="Exit safe call"];
173 [label="Exit safe call"];
174 [label="Exit safe call"];
@@ -514,7 +514,7 @@ digraph nullability_kt {
192 [label="Access variable R|/Q.data|"];
193 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
194 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
195 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
195 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
196 [label="Exit block"];
}
197 [label="Exit when branch result"];
@@ -576,7 +576,7 @@ digraph nullability_kt {
206 [label="Enter safe call"];
207 [label="Access variable R|/MyData.s|"];
208 [label="Enter safe call"];
209 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
209 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
210 [label="Exit safe call"];
211 [label="Exit lhs of ?:"];
212 [label="Lhs of ?: is not null"];
@@ -600,7 +600,7 @@ digraph nullability_kt {
230 [label="Access variable R|/Q.data|"];
231 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
232 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
233 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
233 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
234 [label="Exit block"];
}
235 [label="Exit function test_6" style="filled" fillcolor=red];
@@ -655,11 +655,11 @@ digraph nullability_kt {
239 [label="Enter when branch condition "];
240 [label="Access variable R|<local>/q|"];
241 [label="Enter safe call"];
242 [label="Function call: $subj$.R|/Q.fdata|()"];
242 [label="Function call: $subj$.R|/Q.fdata|()" style="filled" fillcolor=yellow];
243 [label="Enter safe call"];
244 [label="Function call: $subj$.R|/MyData.fs|()"];
244 [label="Function call: $subj$.R|/MyData.fs|()" style="filled" fillcolor=yellow];
245 [label="Enter safe call"];
246 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
246 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
247 [label="Exit safe call"];
248 [label="Exit safe call"];
249 [label="Exit safe call"];
@@ -674,16 +674,16 @@ digraph nullability_kt {
255 [label="Enter block"];
256 [label="Access variable R|<local>/q|"];
257 [label="Smart cast: R|<local>/q|"];
258 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
258 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
259 [label="Access variable R|<local>/q|"];
260 [label="Smart cast: R|<local>/q|"];
261 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
262 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()"];
261 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
262 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()" style="filled" fillcolor=yellow];
263 [label="Access variable R|<local>/q|"];
264 [label="Smart cast: R|<local>/q|"];
265 [label="Function call: R|<local>/q|.R|/Q.fdata|()"];
266 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()"];
267 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()"];
265 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
266 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()" style="filled" fillcolor=yellow];
267 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
268 [label="Exit block"];
}
269 [label="Exit when branch result"];
@@ -754,7 +754,7 @@ digraph nullability_kt {
283 [label="Enter block"];
284 [label="Access variable R|<local>/b|"];
285 [label="Smart cast: R|<local>/b|"];
286 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
286 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
287 [label="Exit block"];
}
288 [label="Exit when branch result"];
@@ -807,14 +807,14 @@ digraph nullability_kt {
302 [label="Enter block"];
303 [label="Access variable R|<local>/b|"];
304 [label="Smart cast: R|<local>/b|"];
305 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
305 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
306 [label="Exit block"];
}
307 [label="Exit when branch result"];
308 [label="Exit when"];
}
309 [label="Access variable R|<local>/b|"];
310 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
310 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_66 {
color=blue
311 [label="Enter when"];
@@ -833,14 +833,14 @@ digraph nullability_kt {
319 [label="Enter block"];
320 [label="Access variable R|<local>/b|"];
321 [label="Smart cast: R|<local>/b|"];
322 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
322 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
323 [label="Exit block"];
}
324 [label="Exit when branch result"];
325 [label="Exit when"];
}
326 [label="Access variable R|<local>/b|"];
327 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
327 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_69 {
color=blue
328 [label="Enter when"];
@@ -859,14 +859,14 @@ digraph nullability_kt {
336 [label="Enter block"];
337 [label="Access variable R|<local>/b|"];
338 [label="Smart cast: R|<local>/b|"];
339 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
339 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
340 [label="Exit block"];
}
341 [label="Exit when branch result"];
342 [label="Exit when"];
}
343 [label="Access variable R|<local>/b|"];
344 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
344 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_72 {
color=blue
345 [label="Enter when"];
@@ -885,14 +885,14 @@ digraph nullability_kt {
353 [label="Enter block"];
354 [label="Access variable R|<local>/b|"];
355 [label="Smart cast: R|<local>/b|"];
356 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()"];
356 [label="Function call: R|<local>/b|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
357 [label="Exit block"];
}
358 [label="Exit when branch result"];
359 [label="Exit when"];
}
360 [label="Access variable R|<local>/b|"];
361 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
361 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
362 [label="Exit block"];
}
363 [label="Exit function test_9" style="filled" fillcolor=red];
@@ -992,14 +992,14 @@ digraph nullability_kt {
color=blue
374 [label="Enter block"];
375 [label="Access variable R|<local>/b|"];
376 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
376 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
377 [label="Exit block"];
}
378 [label="Exit when branch result"];
379 [label="Exit when"];
}
380 [label="Access variable R|<local>/b|"];
381 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
381 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_80 {
color=blue
382 [label="Enter when"];
@@ -1017,14 +1017,14 @@ digraph nullability_kt {
color=blue
390 [label="Enter block"];
391 [label="Access variable R|<local>/b|"];
392 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
392 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
393 [label="Exit block"];
}
394 [label="Exit when branch result"];
395 [label="Exit when"];
}
396 [label="Access variable R|<local>/b|"];
397 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
397 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_83 {
color=blue
398 [label="Enter when"];
@@ -1042,14 +1042,14 @@ digraph nullability_kt {
color=blue
406 [label="Enter block"];
407 [label="Access variable R|<local>/b|"];
408 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
408 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
409 [label="Exit block"];
}
410 [label="Exit when branch result"];
411 [label="Exit when"];
}
412 [label="Access variable R|<local>/b|"];
413 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
413 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
subgraph cluster_86 {
color=blue
414 [label="Enter when"];
@@ -1067,14 +1067,14 @@ digraph nullability_kt {
color=blue
422 [label="Enter block"];
423 [label="Access variable R|<local>/b|"];
424 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
424 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
425 [label="Exit block"];
}
426 [label="Exit when branch result"];
427 [label="Exit when"];
}
428 [label="Access variable R|<local>/b|"];
429 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()"];
429 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
430 [label="Exit block"];
}
431 [label="Exit function test_10" style="filled" fillcolor=red];
@@ -1165,7 +1165,7 @@ digraph nullability_kt {
439 [label="Enter safe call"];
440 [label="Access variable R|/MyData.s|"];
441 [label="Enter safe call"];
442 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
442 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
443 [label="Exit safe call"];
444 [label="Exit safe call"];
445 [label="Exit safe call"];
@@ -1192,7 +1192,7 @@ digraph nullability_kt {
463 [label="Access variable R|/QImpl.data|"];
464 [label="Smart cast: R|<local>/q|.R|/QImpl.data|"];
465 [label="Access variable R|/MyData.s|"];
466 [label="Function call: R|<local>/q|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()"];
466 [label="Function call: R|<local>/q|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
467 [label="Access variable R|<local>/q2|"];
468 [label="Access variable R|/QImpl.data|"];
469 [label="Access variable R|<local>/q2|"];
@@ -1201,7 +1201,7 @@ digraph nullability_kt {
472 [label="Access variable R|<local>/q2|"];
473 [label="Access variable R|/QImpl.data|"];
474 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
475 [label="Function call: R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()"];
475 [label="Function call: R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
subgraph cluster_94 {
color=blue
476 [label="Enter when"];
@@ -1227,7 +1227,7 @@ digraph nullability_kt {
491 [label="Access variable R|/QImpl.data|"];
492 [label="Smart cast: R|<local>/q2|.R|/QImpl.data|"];
493 [label="Access variable R|/MyData.s|"];
494 [label="Function call: R|<local>/q2|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()"];
494 [label="Function call: R|<local>/q2|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
495 [label="Exit block"];
}
496 [label="Exit when branch result"];
@@ -1331,7 +1331,7 @@ digraph nullability_kt {
510 [label="Enter safe call"];
511 [label="Access variable R|/MyData.s|"];
512 [label="Enter safe call"];
513 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
513 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
514 [label="Exit safe call"];
515 [label="Exit safe call"];
516 [label="Exit safe call"];
@@ -1358,7 +1358,7 @@ digraph nullability_kt {
534 [label="Access variable R|/QImplWithCustomGetter.data|"];
535 [label="Smart cast: R|<local>/q|.R|/QImplWithCustomGetter.data|"];
536 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
537 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
537 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
538 [label="Exit block"];
}
539 [label="Exit when branch result"];
@@ -1426,7 +1426,7 @@ digraph nullability_kt {
550 [label="Enter safe call"];
551 [label="Access variable R|/MyData.s|"];
552 [label="Enter safe call"];
553 [label="Function call: $subj$.R|kotlin/Int.inc|()"];
553 [label="Function call: $subj$.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
554 [label="Exit safe call"];
555 [label="Exit safe call"];
556 [label="Exit safe call"];
@@ -1453,7 +1453,7 @@ digraph nullability_kt {
574 [label="Access variable R|/QImplMutable.data|"];
575 [label="Smart cast: R|<local>/q|.R|/QImplMutable.data|"];
576 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
577 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()"];
577 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
578 [label="Exit block"];
}
579 [label="Exit when branch result"];
@@ -6,7 +6,7 @@ digraph implicitReceivers_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -36,7 +36,7 @@ digraph implicitReceivers_kt {
subgraph cluster_4 {
color=red
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 -> {10};
@@ -103,8 +103,8 @@ digraph implicitReceivers_kt {
color=blue
32 [label="Enter block"];
33 [label="Access variable this@R|/test_1|"];
34 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
35 [label="Function call: <Unresolved name: foo>#()"];
34 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
35 [label="Function call: <Unresolved name: foo>#()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
}
37 [label="Exit when branch result"];
@@ -114,16 +114,16 @@ digraph implicitReceivers_kt {
39 [label="Enter block"];
40 [label="Access variable this@R|/test_1|"];
41 [label="Smart cast: this@R|/test_1|"];
42 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
43 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
42 [label="Function call: this@R|/test_1|.R|/A.foo|()" style="filled" fillcolor=yellow];
43 [label="Function call: this@R|/test_1|.R|/A.foo|()" style="filled" fillcolor=yellow];
44 [label="Exit block"];
}
45 [label="Exit when branch result"];
46 [label="Exit when"];
}
47 [label="Access variable this@R|/test_1|"];
48 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
49 [label="Function call: <Unresolved name: foo>#()"];
48 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
49 [label="Function call: <Unresolved name: foo>#()" style="filled" fillcolor=yellow];
50 [label="Exit block"];
}
51 [label="Exit function test_1" style="filled" fillcolor=red];
@@ -185,8 +185,8 @@ digraph implicitReceivers_kt {
62 [label="Enter block"];
63 [label="Access variable this@R|/test_2|"];
64 [label="Smart cast: this@R|/test_2|"];
65 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
66 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
65 [label="Function call: this@R|/test_2|.R|/A.foo|()" style="filled" fillcolor=yellow];
66 [label="Function call: this@R|/test_2|.R|/A.foo|()" style="filled" fillcolor=yellow];
67 [label="Exit block"];
}
68 [label="Exit when branch result"];
@@ -195,16 +195,16 @@ digraph implicitReceivers_kt {
color=blue
70 [label="Enter block"];
71 [label="Access variable this@R|/test_2|"];
72 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
73 [label="Function call: <Unresolved name: foo>#()"];
72 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
73 [label="Function call: <Unresolved name: foo>#()" style="filled" fillcolor=yellow];
74 [label="Exit block"];
}
75 [label="Exit when branch result"];
76 [label="Exit when"];
}
77 [label="Access variable this@R|/test_2|"];
78 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
79 [label="Function call: <Unresolved name: foo>#()"];
78 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
79 [label="Function call: <Unresolved name: foo>#()" style="filled" fillcolor=yellow];
80 [label="Exit block"];
}
81 [label="Exit function test_2" style="filled" fillcolor=red];
@@ -249,96 +249,94 @@ digraph implicitReceivers_kt {
85 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
91 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
90 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
92 [label="Enter block"];
93 [label="Access variable R|<local>/b|"];
94 [label="Postponed enter to lambda"];
91 [label="Enter block"];
92 [label="Access variable R|<local>/b|"];
93 [label="Postponed enter to lambda"];
subgraph cluster_28 {
color=blue
99 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
98 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
100 [label="Enter block"];
101 [label="Access variable R|<local>/c|"];
102 [label="Postponed enter to lambda"];
99 [label="Enter block"];
100 [label="Access variable R|<local>/c|"];
101 [label="Postponed enter to lambda"];
subgraph cluster_30 {
color=blue
112 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
110 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
113 [label="Enter block"];
111 [label="Enter block"];
112 [label="Access variable this@R|special/anonymous|"];
113 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
114 [label="Access variable this@R|special/anonymous|"];
115 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
116 [label="Access variable this@R|special/anonymous|"];
117 [label="Smart cast: this@R|special/anonymous|"];
118 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
119 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
120 [label="Exit block"];
115 [label="Smart cast: this@R|special/anonymous|"];
116 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
117 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
118 [label="Exit block"];
}
121 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
119 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
103 [label="Call arguments union" style="filled" fillcolor=yellow];
104 [label="Postponed exit from lambda"];
105 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
106 [label="Access variable this@R|special/anonymous|"];
107 [label="Smart cast: this@R|special/anonymous|"];
108 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
109 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
110 [label="Exit block"];
102 [label="Postponed exit from lambda"];
103 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
104 [label="Access variable this@R|special/anonymous|"];
105 [label="Smart cast: this@R|special/anonymous|"];
106 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
107 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
108 [label="Exit block"];
}
111 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
109 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
95 [label="Postponed exit from lambda"];
96 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
97 [label="Exit block"];
94 [label="Postponed exit from lambda"];
95 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
96 [label="Exit block"];
}
98 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
97 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
86 [label="Call arguments union" style="filled" fillcolor=yellow];
87 [label="Postponed exit from lambda"];
88 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
89 [label="Exit block"];
86 [label="Postponed exit from lambda"];
87 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
88 [label="Exit block"];
}
90 [label="Exit function test_3" style="filled" fillcolor=red];
89 [label="Exit function test_3" style="filled" fillcolor=red];
}
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {91};
85 -> {87} [color=red];
85 -> {91} [style=dashed];
86 -> {88} [color=red];
87 -> {88} [color=green];
85 -> {90};
85 -> {86} [color=red];
85 -> {90} [style=dashed];
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {99};
94 -> {95} [color=red];
94 -> {99} [style=dashed];
93 -> {98};
93 -> {94} [color=red];
93 -> {98} [style=dashed];
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {86} [color=red];
98 -> {87} [color=green];
97 -> {87} [color=red];
97 -> {86} [color=green];
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {112};
102 -> {104} [color=red];
102 -> {112} [style=dashed];
103 -> {105} [color=red];
104 -> {105} [color=green];
101 -> {110};
101 -> {102} [color=red];
101 -> {110} [style=dashed];
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
109 -> {94} [color=green];
110 -> {111};
111 -> {95} [color=green];
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
@@ -346,107 +344,107 @@ digraph implicitReceivers_kt {
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {103} [color=red];
121 -> {104} [color=green];
119 -> {103} [color=red];
119 -> {102} [color=green];
subgraph cluster_32 {
color=red
122 [label="Enter function test_4" style="filled" fillcolor=red];
120 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
123 [label="Enter block"];
121 [label="Enter block"];
subgraph cluster_34 {
color=blue
124 [label="Enter when"];
122 [label="Enter when"];
subgraph cluster_35 {
color=blue
125 [label="Enter when branch condition "];
126 [label="Access variable this@R|/test_4|"];
127 [label="Type operator: (this@R|/test_4| !is R|A|)"];
128 [label="Exit when branch condition"];
123 [label="Enter when branch condition "];
124 [label="Access variable this@R|/test_4|"];
125 [label="Type operator: (this@R|/test_4| !is R|A|)"];
126 [label="Exit when branch condition"];
}
subgraph cluster_36 {
color=blue
129 [label="Enter when branch condition "];
130 [label="Access variable this@R|/test_4|"];
131 [label="Smart cast: this@R|/test_4|"];
132 [label="Type operator: (this@R|/test_4| !is R|B|)"];
133 [label="Exit when branch condition"];
127 [label="Enter when branch condition "];
128 [label="Access variable this@R|/test_4|"];
129 [label="Smart cast: this@R|/test_4|"];
130 [label="Type operator: (this@R|/test_4| !is R|B|)"];
131 [label="Exit when branch condition"];
}
subgraph cluster_37 {
color=blue
134 [label="Enter when branch condition else"];
135 [label="Exit when branch condition"];
132 [label="Enter when branch condition else"];
133 [label="Exit when branch condition"];
}
136 [label="Enter when branch result"];
134 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
137 [label="Enter block"];
138 [label="Access variable this@R|/test_4|"];
139 [label="Smart cast: this@R|/test_4|"];
140 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
141 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
142 [label="Access variable this@R|/test_4|"];
143 [label="Smart cast: this@R|/test_4|"];
144 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
145 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
146 [label="Exit block"];
135 [label="Enter block"];
136 [label="Access variable this@R|/test_4|"];
137 [label="Smart cast: this@R|/test_4|"];
138 [label="Function call: this@R|/test_4|.R|/A.foo|()" style="filled" fillcolor=yellow];
139 [label="Function call: this@R|/test_4|.R|/A.foo|()" style="filled" fillcolor=yellow];
140 [label="Access variable this@R|/test_4|"];
141 [label="Smart cast: this@R|/test_4|"];
142 [label="Function call: this@R|/test_4|.R|/B.bar|()" style="filled" fillcolor=yellow];
143 [label="Function call: this@R|/test_4|.R|/B.bar|()" style="filled" fillcolor=yellow];
144 [label="Exit block"];
}
147 [label="Exit when branch result"];
148 [label="Enter when branch result"];
145 [label="Exit when branch result"];
146 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
149 [label="Enter block"];
150 [label="Access variable this@R|/test_4|"];
151 [label="Smart cast: this@R|/test_4|"];
152 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
153 [label="Function call: <Unresolved name: bar>#()"];
154 [label="Access variable this@R|/test_4|"];
155 [label="Smart cast: this@R|/test_4|"];
156 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
157 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
158 [label="Exit block"];
147 [label="Enter block"];
148 [label="Access variable this@R|/test_4|"];
149 [label="Smart cast: this@R|/test_4|"];
150 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
151 [label="Function call: <Unresolved name: bar>#()" style="filled" fillcolor=yellow];
152 [label="Access variable this@R|/test_4|"];
153 [label="Smart cast: this@R|/test_4|"];
154 [label="Function call: this@R|/test_4|.R|/A.foo|()" style="filled" fillcolor=yellow];
155 [label="Function call: this@R|/test_4|.R|/A.foo|()" style="filled" fillcolor=yellow];
156 [label="Exit block"];
}
159 [label="Exit when branch result"];
160 [label="Enter when branch result"];
157 [label="Exit when branch result"];
158 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
161 [label="Enter block"];
162 [label="Access variable this@R|/test_4|"];
163 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
164 [label="Function call: <Unresolved name: foo>#()"];
165 [label="Access variable this@R|/test_4|"];
166 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
167 [label="Function call: <Unresolved name: bar>#()"];
168 [label="Exit block"];
159 [label="Enter block"];
160 [label="Access variable this@R|/test_4|"];
161 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
162 [label="Function call: <Unresolved name: foo>#()" style="filled" fillcolor=yellow];
163 [label="Access variable this@R|/test_4|"];
164 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
165 [label="Function call: <Unresolved name: bar>#()" style="filled" fillcolor=yellow];
166 [label="Exit block"];
}
169 [label="Exit when branch result"];
170 [label="Exit when"];
167 [label="Exit when branch result"];
168 [label="Exit when"];
}
171 [label="Access variable this@R|/test_4|"];
172 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
173 [label="Function call: <Unresolved name: foo>#()"];
174 [label="Access variable this@R|/test_4|"];
175 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
176 [label="Function call: <Unresolved name: bar>#()"];
177 [label="Exit block"];
169 [label="Access variable this@R|/test_4|"];
170 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
171 [label="Function call: <Unresolved name: foo>#()" style="filled" fillcolor=yellow];
172 [label="Access variable this@R|/test_4|"];
173 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()" style="filled" fillcolor=yellow];
174 [label="Function call: <Unresolved name: bar>#()" style="filled" fillcolor=yellow];
175 [label="Exit block"];
}
178 [label="Exit function test_4" style="filled" fillcolor=red];
176 [label="Exit function test_4" style="filled" fillcolor=red];
}
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
126 -> {158 127};
127 -> {128};
128 -> {160 129};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
131 -> {146 132};
132 -> {133};
133 -> {148 134};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
@@ -458,9 +456,9 @@ digraph implicitReceivers_kt {
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
145 -> {168};
146 -> {147};
147 -> {170};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
@@ -470,9 +468,9 @@ digraph implicitReceivers_kt {
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
157 -> {168};
158 -> {159};
159 -> {170};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
@@ -489,64 +487,62 @@ digraph implicitReceivers_kt {
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
subgraph cluster_41 {
color=red
179 [label="Enter function test_5" style="filled" fillcolor=red];
177 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_42 {
color=blue
180 [label="Enter block"];
178 [label="Enter block"];
subgraph cluster_43 {
color=blue
181 [label="Enter when"];
179 [label="Enter when"];
subgraph cluster_44 {
color=blue
182 [label="Enter when branch condition "];
183 [label="Access variable this@R|/test_5|"];
184 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
185 [label="Exit when branch condition"];
180 [label="Enter when branch condition "];
181 [label="Access variable this@R|/test_5|"];
182 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
183 [label="Exit when branch condition"];
}
subgraph cluster_45 {
color=blue
186 [label="Enter when branch condition "];
187 [label="Access variable this@R|/test_5|"];
188 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
189 [label="Exit when branch condition"];
184 [label="Enter when branch condition "];
185 [label="Access variable this@R|/test_5|"];
186 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
187 [label="Exit when branch condition"];
}
subgraph cluster_46 {
color=blue
190 [label="Enter when branch condition else"];
191 [label="Exit when branch condition"];
188 [label="Enter when branch condition else"];
189 [label="Exit when branch condition"];
}
192 [label="Enter when branch result"];
190 [label="Enter when branch result"];
subgraph cluster_47 {
color=blue
193 [label="Enter block"];
194 [label="Const: Int(0)"];
195 [label="Exit block"];
191 [label="Enter block"];
192 [label="Const: Int(0)"];
193 [label="Exit block"];
}
196 [label="Exit when branch result"];
197 [label="Enter when branch result"];
194 [label="Exit when branch result"];
195 [label="Enter when branch result"];
subgraph cluster_48 {
color=blue
198 [label="Enter block"];
199 [label="Access variable R|kotlin/String.length|"];
200 [label="Exit block"];
196 [label="Enter block"];
197 [label="Access variable R|kotlin/String.length|"];
198 [label="Exit block"];
}
201 [label="Exit when branch result"];
202 [label="Enter when branch result"];
199 [label="Exit when branch result"];
200 [label="Enter when branch result"];
subgraph cluster_49 {
color=blue
203 [label="Enter block"];
204 [label="Access variable R|SubstitutionOverride<kotlin/collections/List.size: R|kotlin/Int|>|"];
205 [label="Exit block"];
201 [label="Enter block"];
202 [label="Access variable R|SubstitutionOverride<kotlin/collections/List.size: R|kotlin/Int|>|"];
203 [label="Exit block"];
}
206 [label="Exit when branch result"];
207 [label="Exit when"];
204 [label="Exit when branch result"];
205 [label="Exit when"];
}
208 [label="Jump: ^test_5 when () {
206 [label="Jump: ^test_5 when () {
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
this@R|/test_5|.R|SubstitutionOverride<kotlin/collections/List.size: R|kotlin/Int|>|
}
@@ -558,62 +554,64 @@ digraph implicitReceivers_kt {
}
}
"];
209 [label="Stub" style="filled" fillcolor=gray];
210 [label="Exit block" style="filled" fillcolor=gray];
207 [label="Stub" style="filled" fillcolor=gray];
208 [label="Exit block" style="filled" fillcolor=gray];
}
211 [label="Exit function test_5" style="filled" fillcolor=red];
209 [label="Exit function test_5" style="filled" fillcolor=red];
}
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
183 -> {200 184};
184 -> {185};
185 -> {202 186};
185 -> {186};
186 -> {187};
187 -> {188};
187 -> {195 188};
188 -> {189};
189 -> {197 190};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194};
194 -> {195};
194 -> {205};
195 -> {196};
196 -> {207};
196 -> {197};
197 -> {198};
198 -> {199};
199 -> {200};
199 -> {205};
200 -> {201};
201 -> {207};
201 -> {202};
202 -> {203};
203 -> {204};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {211};
206 -> {209};
206 -> {207} [style=dotted];
207 -> {208} [style=dotted];
208 -> {209} [style=dotted];
209 -> {210} [style=dotted];
210 -> {211} [style=dotted];
subgraph cluster_50 {
color=red
212 [label="Enter function test_6" style="filled" fillcolor=red];
210 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_51 {
color=blue
213 [label="Enter block"];
214 [label="Access variable this@R|/test_6|"];
215 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
216 [label="Access variable R|SubstitutionOverride<kotlin/collections/List.size: R|kotlin/Int|>|"];
217 [label="Access variable this@R|/test_6|"];
218 [label="Smart cast: this@R|/test_6|"];
219 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
220 [label="Access variable R|kotlin/String.length|"];
221 [label="Exit block"];
211 [label="Enter block"];
212 [label="Access variable this@R|/test_6|"];
213 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
214 [label="Access variable R|SubstitutionOverride<kotlin/collections/List.size: R|kotlin/Int|>|"];
215 [label="Access variable this@R|/test_6|"];
216 [label="Smart cast: this@R|/test_6|"];
217 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
218 [label="Access variable R|kotlin/String.length|"];
219 [label="Exit block"];
}
222 [label="Exit function test_6" style="filled" fillcolor=red];
220 [label="Exit function test_6" style="filled" fillcolor=red];
}
210 -> {211};
211 -> {212};
212 -> {213};
213 -> {214};
214 -> {215};
@@ -622,7 +620,5 @@ digraph implicitReceivers_kt {
217 -> {218};
218 -> {219};
219 -> {220};
220 -> {221};
221 -> {222};
}
@@ -6,7 +6,7 @@ digraph assignSafeCall_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -97,7 +97,7 @@ digraph assignSafeCall_kt {
35 [label="Enter block"];
36 [label="Access variable R|<local>/a|"];
37 [label="Smart cast: R|<local>/a|"];
38 [label="Function call: R|<local>/a|.R|/A.bar|()"];
38 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
39 [label="Exit block"];
}
40 [label="Exit when branch result"];
@@ -139,7 +139,7 @@ digraph assignSafeCall_kt {
45 [label="Enter block"];
46 [label="Access variable R|<local>/a|"];
47 [label="Enter safe call"];
48 [label="Function call: $subj$.R|/A.foo|()"];
48 [label="Function call: $subj$.R|/A.foo|()" style="filled" fillcolor=yellow];
49 [label="Exit safe call"];
50 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_14 {
@@ -160,7 +160,7 @@ digraph assignSafeCall_kt {
59 [label="Enter block"];
60 [label="Access variable R|<local>/a|"];
61 [label="Smart cast: R|<local>/a|"];
62 [label="Function call: R|<local>/a|.R|/A.bar|()"];
62 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
@@ -210,10 +210,10 @@ digraph assignSafeCall_kt {
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|()"];
80 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
81 [label="Access variable R|<local>/x|"];
82 [label="Smart cast: R|<local>/x|"];
83 [label="Function call: R|<local>/x|.R|/A.foo|()"];
83 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
84 [label="Exit block"];
}
85 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -287,7 +287,7 @@ digraph assignSafeCall_kt {
107 [label="Enter block"];
108 [label="Access variable R|<local>/a|"];
109 [label="Smart cast: R|<local>/a|"];
110 [label="Function call: R|<local>/a|.R|/B.bar|()"];
110 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
111 [label="Exit block"];
}
112 [label="Exit when branch result"];
@@ -329,7 +329,7 @@ digraph assignSafeCall_kt {
117 [label="Enter block"];
118 [label="Access variable R|<local>/a|"];
119 [label="Enter safe call"];
120 [label="Function call: $subj$.R|/B.foo|()"];
120 [label="Function call: $subj$.R|/B.foo|()" style="filled" fillcolor=yellow];
121 [label="Exit safe call"];
122 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_29 {
@@ -350,7 +350,7 @@ digraph assignSafeCall_kt {
131 [label="Enter block"];
132 [label="Access variable R|<local>/a|"];
133 [label="Smart cast: R|<local>/a|"];
134 [label="Function call: R|<local>/a|.R|/B.bar|()"];
134 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
135 [label="Exit block"];
}
136 [label="Exit when branch result"];
@@ -400,10 +400,10 @@ digraph assignSafeCall_kt {
149 [label="Exit ?:"];
150 [label="Variable declaration: lval a: R|B|"];
151 [label="Access variable R|<local>/a|"];
152 [label="Function call: R|<local>/a|.R|/B.foo|()"];
152 [label="Function call: R|<local>/a|.R|/B.foo|()" style="filled" fillcolor=yellow];
153 [label="Access variable R|<local>/x|"];
154 [label="Smart cast: R|<local>/x|"];
155 [label="Function call: R|<local>/x|.R|/B.foo|()"];
155 [label="Function call: R|<local>/x|.R|/B.foo|()" style="filled" fillcolor=yellow];
156 [label="Exit block"];
}
157 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -38,7 +38,7 @@ digraph safeCallAndEqualityToBool_kt {
10 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/s|"];
12 [label="Enter safe call"];
13 [label="Function call: $subj$.R|/check|()"];
13 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
14 [label="Exit safe call"];
15 [label="Const: Boolean(true)"];
16 [label="Equality operator =="];
@@ -117,7 +117,7 @@ digraph safeCallAndEqualityToBool_kt {
39 [label="Enter when branch condition "];
40 [label="Access variable R|<local>/s|"];
41 [label="Enter safe call"];
42 [label="Function call: $subj$.R|/check|()"];
42 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
43 [label="Exit safe call"];
44 [label="Const: Boolean(false)"];
45 [label="Equality operator =="];
@@ -196,7 +196,7 @@ digraph safeCallAndEqualityToBool_kt {
68 [label="Enter when branch condition "];
69 [label="Access variable R|<local>/s|"];
70 [label="Enter safe call"];
71 [label="Function call: $subj$.R|/check|()"];
71 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
72 [label="Exit safe call"];
73 [label="Const: Boolean(true)"];
74 [label="Equality operator !="];
@@ -275,7 +275,7 @@ digraph safeCallAndEqualityToBool_kt {
97 [label="Enter when branch condition "];
98 [label="Access variable R|<local>/s|"];
99 [label="Enter safe call"];
100 [label="Function call: $subj$.R|/check|()"];
100 [label="Function call: $subj$.R|/check|()" style="filled" fillcolor=yellow];
101 [label="Exit safe call"];
102 [label="Const: Boolean(false)"];
103 [label="Equality operator !="];
@@ -51,7 +51,7 @@ digraph safeCalls_kt {
17 [label="Access variable R|kotlin/String.length|"];
18 [label="Const: Int(1)"];
19 [label="Equality operator =="];
20 [label="Function call: $subj$.R|/foo|(...)"];
20 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
21 [label="Exit safe call"];
22 [label="Access variable R|<local>/x|"];
23 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
@@ -113,7 +113,7 @@ digraph safeCalls_kt {
38 [label="Enter safe call"];
39 [label="Access variable R|<local>/x|"];
40 [label="Smart cast: R|<local>/x|"];
41 [label="Function call: $subj$.R|/A.bar|(...)"];
41 [label="Function call: $subj$.R|/A.bar|(...)" style="filled" fillcolor=yellow];
42 [label="Exit safe call"];
43 [label="Exit block"];
}
@@ -141,12 +141,12 @@ digraph safeCalls_kt {
49 [label="Enter safe call"];
50 [label="Access variable R|<local>/x|"];
51 [label="Smart cast: R|<local>/x|"];
52 [label="Function call: $subj$.R|/A.bar|(...)"];
52 [label="Function call: $subj$.R|/A.bar|(...)" style="filled" fillcolor=yellow];
53 [label="Enter safe call"];
54 [label="Access variable R|<local>/x|"];
55 [label="Smart cast: R|<local>/x|"];
56 [label="Function call: R|<local>/x|.R|/A.bool|()"];
57 [label="Function call: $subj$.R|/foo|(...)"];
56 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
57 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
58 [label="Enter safe call"];
59 [label="Postponed enter to lambda"];
subgraph cluster_14 {
@@ -157,18 +157,18 @@ digraph safeCalls_kt {
70 [label="Enter block"];
71 [label="Access variable R|<local>/x|"];
72 [label="Smart cast: R|<local>/x|"];
73 [label="Function call: R|<local>/x|.R|/A.bool|()"];
73 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
74 [label="Exit block"];
}
75 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
60 [label="Postponed exit from lambda"];
61 [label="Function call: $subj$.R|/let|(...)"];
61 [label="Function call: $subj$.R|/let|(...)" style="filled" fillcolor=yellow];
62 [label="Exit safe call"];
63 [label="Exit safe call"];
64 [label="Exit safe call"];
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
66 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()" style="filled" fillcolor=yellow];
67 [label="Exit block"];
}
68 [label="Exit function test_3" style="filled" fillcolor=red];
@@ -212,13 +212,13 @@ digraph safeCalls_kt {
77 [label="Enter block"];
78 [label="Access variable R|<local>/x|"];
79 [label="Enter safe call"];
80 [label="Function call: $subj$.R|/A.id|()"];
80 [label="Function call: $subj$.R|/A.id|()" style="filled" fillcolor=yellow];
81 [label="Enter safe call"];
82 [label="Function call: $subj$.R|/A.bool|()"];
82 [label="Function call: $subj$.R|/A.bool|()" style="filled" fillcolor=yellow];
83 [label="Exit safe call"];
84 [label="Exit safe call"];
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()"];
86 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()" style="filled" fillcolor=yellow];
87 [label="Exit block"];
}
88 [label="Exit function test_4" style="filled" fillcolor=red];
@@ -261,61 +261,59 @@ digraph safeCalls_kt {
97 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
113 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
112 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
114 [label="Enter block"];
115 [label="Jump: ^test_5 Unit"];
116 [label="Stub" style="filled" fillcolor=gray];
117 [label="Exit block" style="filled" fillcolor=gray];
113 [label="Enter block"];
114 [label="Jump: ^test_5 Unit"];
115 [label="Stub" style="filled" fillcolor=gray];
116 [label="Exit block" style="filled" fillcolor=gray];
}
118 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
117 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
98 [label="Call arguments union" style="filled" fillcolor=gray];
99 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
100 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
101 [label="Stub" style="filled" fillcolor=gray];
102 [label="Enter safe call" style="filled" fillcolor=gray];
103 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
104 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
105 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray];
106 [label="Function call: $subj$.R|/boo|(...)" style="filled" fillcolor=gray];
98 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
99 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
100 [label="Stub" style="filled" fillcolor=gray];
101 [label="Enter safe call" style="filled" fillcolor=gray];
102 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
103 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
104 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray];
105 [label="Function call: $subj$.R|/boo|(...)" style="filled" fillcolor=gray];
106 [label="Exit safe call"];
107 [label="Exit safe call"];
108 [label="Exit safe call"];
109 [label="Access variable R|<local>/x|"];
110 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()"];
111 [label="Exit block"];
108 [label="Access variable R|<local>/x|"];
109 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()" style="filled" fillcolor=yellow];
110 [label="Exit block"];
}
112 [label="Exit function test_5" style="filled" fillcolor=red];
111 [label="Exit function test_5" style="filled" fillcolor=red];
}
93 -> {94};
94 -> {95};
95 -> {96 107};
95 -> {96 106};
96 -> {97};
97 -> {113};
97 -> {99} [color=red];
97 -> {113} [style=dashed];
98 -> {100} [style=dotted];
97 -> {112};
97 -> {98} [color=red];
97 -> {112} [style=dashed];
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
100 -> {101} [style=dotted];
100 -> {112} [style=dotted] [label=onUncaughtException];
101 -> {107 102} [style=dotted];
99 -> {111} [style=dotted] [label=onUncaughtException];
100 -> {106 101} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105} [style=dotted];
105 -> {106} [style=dotted];
106 -> {108} [style=dotted];
105 -> {107} [style=dotted];
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {112};
114 -> {111};
114 -> {115} [style=dotted];
115 -> {116} [style=dotted];
116 -> {117} [style=dotted];
117 -> {118} [style=dotted];
118 -> {99 98} [style=dotted];
117 -> {98 99} [style=dotted];
}
@@ -30,7 +30,7 @@ digraph smartCastInInit_kt {
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
8 [label="Function call: R|kotlin/TODO|()"];
8 [label="Function call: R|kotlin/TODO|()" style="filled" fillcolor=yellow];
9 [label="Stub" style="filled" fillcolor=gray];
10 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray];
11 [label="Stub" style="filled" fillcolor=gray];
@@ -50,7 +50,7 @@ digraph smartCastInInit_kt {
subgraph cluster_5 {
color=red
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
@@ -62,11 +62,11 @@ digraph smartCastInInit_kt {
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Function call: R|/s|()"];
19 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
20 [label="Assignment: R|/Main.x|"];
21 [label="Access variable R|/Main.x|"];
22 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
23 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
23 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
24 [label="Exit block"];
}
25 [label="Exit init block" style="filled" fillcolor=red];
@@ -6,7 +6,7 @@ digraph smartcastInByClause_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -57,7 +57,7 @@ digraph smartcastInByClause_kt {
subgraph cluster_5 {
color=red
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
}
15 -> {16};
@@ -105,7 +105,7 @@ digraph smartcastInByClause_kt {
38 [label="Access variable R|<local>/a|"];
39 [label="Smart cast: R|<local>/a|"];
40 [label="Access variable R|/A.index|"];
41 [label="Function call: R|/takeInt|(...)"];
41 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
42 [label="Enter anonymous object"];
subgraph cluster_10 {
color=blue
@@ -180,7 +180,7 @@ digraph smartcastInByClause_kt {
subgraph cluster_11 {
color=red
53 [label="Enter function <init>" style="filled" fillcolor=red];
54 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
54 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
55 [label="Exit function <init>" style="filled" fillcolor=red];
}
53 -> {54};
@@ -192,7 +192,7 @@ digraph smartcastInByClause_kt {
57 [label="Access variable R|<local>/a|"];
58 [label="Smart cast: R|<local>/a|"];
59 [label="Access variable R|/A.index|"];
60 [label="Function call: R|/Derived.Derived|(...)"];
60 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
61 [label="Exit field" style="filled" fillcolor=red];
}
56 -> {57};
@@ -225,7 +225,7 @@ digraph smartcastInByClause_kt {
69 [label="Access variable R|<local>/a|"];
70 [label="Smart cast: R|<local>/a|"];
71 [label="Access variable R|/A.index|"];
72 [label="Function call: R|/takeInt|(...)"];
72 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
73 [label="Exit block"];
}
74 [label="Exit function foo" style="filled" fillcolor=red];
@@ -9,7 +9,7 @@ digraph smartcastToNothing_kt {
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Function call: R|java/lang/Exception.Exception|()"];
2 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
3 [label="Throw: throw R|java/lang/Exception.Exception|()"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
@@ -98,7 +98,7 @@ digraph smartcastToNothing_kt {
color=blue
31 [label="Enter block"];
32 [label="Const: Null(null)"];
33 [label="Check not null: Null(null)!!"];
33 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
34 [label="Stub" style="filled" fillcolor=gray];
35 [label="Jump: ^myListOf Null(null)!!" style="filled" fillcolor=gray];
36 [label="Stub" style="filled" fillcolor=gray];
@@ -119,7 +119,7 @@ digraph smartcastToNothing_kt {
subgraph cluster_10 {
color=red
39 [label="Enter function <init>" style="filled" fillcolor=red];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
41 [label="Exit function <init>" style="filled" fillcolor=red];
}
39 -> {40};
@@ -172,7 +172,7 @@ digraph smartcastToNothing_kt {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/results|"];
58 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
58 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
59 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_17 {
color=blue
@@ -181,7 +181,7 @@ digraph smartcastToNothing_kt {
color=blue
61 [label="Enter loop condition"];
62 [label="Access variable R|<local>/<iterator>|"];
63 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()"];
63 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
64 [label="Exit loop condition"];
}
subgraph cluster_19 {
@@ -191,7 +191,7 @@ digraph smartcastToNothing_kt {
color=blue
66 [label="Enter block"];
67 [label="Access variable R|<local>/<iterator>|"];
68 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
68 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
71 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
@@ -233,23 +233,22 @@ digraph smartcastToNothing_kt {
94 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
101 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
100 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
102 [label="Enter block"];
103 [label="Access variable R|<local>/it|"];
104 [label="Access variable R|/A.a|"];
105 [label="Exit block"];
101 [label="Enter block"];
102 [label="Access variable R|<local>/it|"];
103 [label="Access variable R|/A.a|"];
104 [label="Exit block"];
}
106 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
105 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
95 [label="Call arguments union" style="filled" fillcolor=yellow];
96 [label="Postponed exit from lambda"];
97 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
98 [label="Exit safe call"];
99 [label="Exit block"];
95 [label="Postponed exit from lambda"];
96 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
97 [label="Exit safe call"];
98 [label="Exit block"];
}
100 [label="Exit function test_0" style="filled" fillcolor=red];
99 [label="Exit function test_0" style="filled" fillcolor=red];
}
52 -> {53};
53 -> {54};
@@ -267,18 +266,18 @@ digraph smartcastToNothing_kt {
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {100} [label=onUncaughtException];
68 -> {99} [label=onUncaughtException];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
71 -> {100} [style=dotted] [label=onUncaughtException];
71 -> {99} [style=dotted] [label=onUncaughtException];
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
76 -> {100} [style=dotted] [label=onUncaughtException];
76 -> {99} [style=dotted] [label=onUncaughtException];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {81 80} [style=dotted];
@@ -294,97 +293,97 @@ digraph smartcastToNothing_kt {
89 -> {61} [color=green style=dotted];
90 -> {91};
91 -> {92};
92 -> {93 98};
92 -> {93 97};
93 -> {94};
94 -> {101};
94 -> {96} [color=red];
94 -> {101} [style=dashed];
95 -> {97} [color=red];
96 -> {97} [color=green];
94 -> {100};
94 -> {95} [color=red];
94 -> {100} [style=dashed];
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {95} [color=red];
106 -> {96} [color=green];
105 -> {96} [color=red];
105 -> {95} [color=green];
subgraph cluster_26 {
color=red
107 [label="Enter function test_1" style="filled" fillcolor=red];
106 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
108 [label="Enter block"];
107 [label="Enter block"];
subgraph cluster_28 {
color=blue
109 [label="Enter when"];
108 [label="Enter when"];
subgraph cluster_29 {
color=blue
110 [label="Enter when branch condition "];
111 [label="Access variable R|<local>/a|"];
112 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
113 [label="Exit when branch condition"];
109 [label="Enter when branch condition "];
110 [label="Access variable R|<local>/a|"];
111 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
112 [label="Exit when branch condition"];
}
114 [label="Synthetic else branch"];
115 [label="Enter when branch result"];
113 [label="Synthetic else branch"];
114 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
116 [label="Enter block"];
117 [label="Access variable R|<local>/a|"];
118 [label="Smart cast: R|<local>/a|"];
119 [label="Enter safe call"];
120 [label="Access variable R|kotlin/String.length|"];
121 [label="Exit safe call"];
122 [label="Variable declaration: lval b: R|kotlin/Int?|"];
123 [label="Exit block"];
115 [label="Enter block"];
116 [label="Access variable R|<local>/a|"];
117 [label="Smart cast: R|<local>/a|"];
118 [label="Enter safe call"];
119 [label="Access variable R|kotlin/String.length|"];
120 [label="Exit safe call"];
121 [label="Variable declaration: lval b: R|kotlin/Int?|"];
122 [label="Exit block"];
}
124 [label="Exit when branch result"];
125 [label="Exit when"];
123 [label="Exit when branch result"];
124 [label="Exit when"];
}
subgraph cluster_31 {
color=blue
126 [label="Enter when"];
125 [label="Enter when"];
subgraph cluster_32 {
color=blue
127 [label="Enter when branch condition "];
128 [label="Access variable R|<local>/a|"];
129 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
130 [label="Exit when branch condition"];
126 [label="Enter when branch condition "];
127 [label="Access variable R|<local>/a|"];
128 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
129 [label="Exit when branch condition"];
}
131 [label="Synthetic else branch"];
132 [label="Enter when branch result"];
130 [label="Synthetic else branch"];
131 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
133 [label="Enter block"];
134 [label="Access variable R|<local>/a|"];
135 [label="Smart cast: R|<local>/a|"];
136 [label="Stub" style="filled" fillcolor=gray];
137 [label="Access variable R|kotlin/String.length|" style="filled" fillcolor=gray];
138 [label="Variable declaration: lval b: R|kotlin/Int|" style="filled" fillcolor=gray];
139 [label="Exit block" style="filled" fillcolor=gray];
132 [label="Enter block"];
133 [label="Access variable R|<local>/a|"];
134 [label="Smart cast: R|<local>/a|"];
135 [label="Stub" style="filled" fillcolor=gray];
136 [label="Access variable R|kotlin/String.length|" style="filled" fillcolor=gray];
137 [label="Variable declaration: lval b: R|kotlin/Int|" style="filled" fillcolor=gray];
138 [label="Exit block" style="filled" fillcolor=gray];
}
140 [label="Exit when branch result" style="filled" fillcolor=gray];
141 [label="Exit when"];
139 [label="Exit when branch result" style="filled" fillcolor=gray];
140 [label="Exit when"];
}
142 [label="Exit block"];
141 [label="Exit block"];
}
143 [label="Exit function test_1" style="filled" fillcolor=red];
142 [label="Exit function test_1" style="filled" fillcolor=red];
}
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {115 114};
114 -> {125};
112 -> {114 113};
113 -> {124};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119 121};
117 -> {118 120};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
@@ -395,20 +394,19 @@ digraph smartcastToNothing_kt {
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {132 131};
131 -> {141};
129 -> {131 130};
130 -> {140};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {143} [label=onUncaughtException];
134 -> {142} [label=onUncaughtException];
134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
136 -> {137} [style=dotted];
137 -> {138} [style=dotted];
138 -> {139} [style=dotted];
139 -> {140} [style=dotted];
140 -> {141} [style=dotted];
140 -> {141};
141 -> {142};
142 -> {143};
}
@@ -6,7 +6,7 @@ digraph overridenOpenVal_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -37,7 +37,7 @@ digraph overridenOpenVal_kt {
color=red
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"];
11 [label="Delegated constructor call: super<R|A|>(...)"];
11 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 -> {10};
@@ -6,7 +6,7 @@ digraph delayedAssignment_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
@@ -67,18 +67,18 @@ digraph delayedAssignment_kt {
subgraph cluster_10 {
color=blue
25 [label="Enter block"];
26 [label="Function call: R|/A.A|()"];
26 [label="Function call: R|/A.A|()" style="filled" fillcolor=yellow];
27 [label="Assignment: R|<local>/a|"];
28 [label="Access variable R|<local>/a|"];
29 [label="Smart cast: R|<local>/a|"];
30 [label="Function call: R|<local>/a|.R|/A.foo|()"];
30 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
33 [label="Exit when"];
}
34 [label="Access variable R|<local>/a|"];
35 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()"];
35 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
}
37 [label="Exit function test" style="filled" fillcolor=red];