[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
Vendored
+216
@@ -0,0 +1,216 @@
|
||||
digraph implicitReceiverAsWhenSubject_kt {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
2 [label="Access variable this@R|/test_1|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter when branch condition "];
|
||||
4 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when branch condition "];
|
||||
7 [label="Type operator: ($subj$ is R|kotlin/String|)"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition else"];
|
||||
10 [label="Exit when branch condition"];
|
||||
}
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: Int(0)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Access variable R|kotlin/String.length|"];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
20 [label="Exit when branch result"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable this@R|/test_1|"];
|
||||
24 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit when branch result"];
|
||||
27 [label="Exit when"];
|
||||
}
|
||||
28 [label="Jump: ^test_1 when (this@R|/test_1|) {
|
||||
($subj$ is R|kotlin/collections/List<*>|) -> {
|
||||
this@R|/test_1|.R|kotlin/collections/List.size|
|
||||
}
|
||||
($subj$ is R|kotlin/String|) -> {
|
||||
this@R|/test_1|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
Int(0)
|
||||
}
|
||||
}
|
||||
"];
|
||||
29 [label="Stub" style="filled" fillcolor=gray];
|
||||
30 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {21 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {16 9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {27};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {27};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {30};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
31 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
32 [label="Enter when"];
|
||||
33 [label="Access variable this@R|/test_2|"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Any|"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition "];
|
||||
36 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
|
||||
37 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Type operator: ($subj$ is R|kotlin/String|)"];
|
||||
40 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
41 [label="Enter when branch condition else"];
|
||||
42 [label="Exit when branch condition"];
|
||||
}
|
||||
43 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
45 [label="Const: Int(0)"];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit when branch result"];
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Access variable R|kotlin/String.length|"];
|
||||
52 [label="Access variable R|kotlin/String.length|"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
54 [label="Exit when branch result"];
|
||||
55 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
56 [label="Enter block"];
|
||||
57 [label="Access variable R|<local>/x|"];
|
||||
58 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
59 [label="Access variable this@R|/test_2|"];
|
||||
60 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
61 [label="Exit block"];
|
||||
}
|
||||
62 [label="Exit when branch result"];
|
||||
63 [label="Exit when"];
|
||||
}
|
||||
64 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
|
||||
($subj$ is R|kotlin/collections/List<*>|) -> {
|
||||
R|<local>/x|.R|kotlin/collections/List.size|
|
||||
this@R|/test_2|.R|kotlin/collections/List.size|
|
||||
}
|
||||
($subj$ is R|kotlin/String|) -> {
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
this@R|/test_2|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
Int(0)
|
||||
}
|
||||
}
|
||||
"];
|
||||
65 [label="Stub" style="filled" fillcolor=gray];
|
||||
66 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {55 38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {48 41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {63};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {63};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {66};
|
||||
64 -> {65} [style=dotted];
|
||||
65 -> {66} [style=dotted];
|
||||
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
// !DUMP_CFG
|
||||
fun Any.test_1(): Int = when (this) {
|
||||
is List<*> -> this.size
|
||||
is String -> length
|
||||
else -> 0
|
||||
}
|
||||
|
||||
fun Any.test_2(): Int = when (val x = this) {
|
||||
is List<*> -> {
|
||||
x.size
|
||||
this.size
|
||||
}
|
||||
is String -> {
|
||||
x.length
|
||||
length
|
||||
}
|
||||
else -> 0
|
||||
}
|
||||
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
FILE: implicitReceiverAsWhenSubject.kt
|
||||
public final fun R|kotlin/Any|.test_1(): R|kotlin/Int| {
|
||||
^test_1 when (this@R|/test_1|) {
|
||||
($subj$ is R|kotlin/collections/List<*>|) -> {
|
||||
this@R|/test_1|.R|kotlin/collections/List.size|
|
||||
}
|
||||
($subj$ is R|kotlin/String|) -> {
|
||||
this@R|/test_1|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
Int(0)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun R|kotlin/Any|.test_2(): R|kotlin/Int| {
|
||||
^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
|
||||
($subj$ is R|kotlin/collections/List<*>|) -> {
|
||||
R|<local>/x|.R|kotlin/collections/List.size|
|
||||
this@R|/test_2|.R|kotlin/collections/List.size|
|
||||
}
|
||||
($subj$ is R|kotlin/String|) -> {
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
this@R|/test_2|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
Int(0)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+544
@@ -0,0 +1,544 @@
|
||||
digraph implicitReceivers_kt {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
4 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
3 -> {4};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
5 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
6 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
7 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
9 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
10 [label="Enter function with" style="filled" fillcolor=red];
|
||||
11 [label="Exit function with" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
12 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
13 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
14 [label="Enter when branch condition "];
|
||||
15 [label="Access variable this@R|/test_1|"];
|
||||
16 [label="Type operator: (this@R|/test_1| is R|A|)"];
|
||||
17 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
18 [label="Enter when branch condition else"];
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
20 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Access variable this@R|/test_1|"];
|
||||
23 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
|
||||
24 [label="Function call: <Unresolved name: foo>#()"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit when branch result"];
|
||||
27 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
28 [label="Enter block"];
|
||||
29 [label="Access variable this@R|/test_1|"];
|
||||
30 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
|
||||
31 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Exit when"];
|
||||
}
|
||||
35 [label="Access variable this@R|/test_1|"];
|
||||
36 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
|
||||
37 [label="Function call: <Unresolved name: foo>#()"];
|
||||
38 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {27 18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {34};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
39 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
40 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
41 [label="Enter when branch condition "];
|
||||
42 [label="Access variable this@R|/test_2|"];
|
||||
43 [label="Type operator: (this@R|/test_2| !is R|A|)"];
|
||||
44 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
45 [label="Enter when branch condition else"];
|
||||
46 [label="Exit when branch condition"];
|
||||
}
|
||||
47 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
48 [label="Enter block"];
|
||||
49 [label="Access variable this@R|/test_2|"];
|
||||
50 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
|
||||
51 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
|
||||
52 [label="Exit block"];
|
||||
}
|
||||
53 [label="Exit when branch result"];
|
||||
54 [label="Enter when branch result"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
55 [label="Enter block"];
|
||||
56 [label="Access variable this@R|/test_2|"];
|
||||
57 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
|
||||
58 [label="Function call: <Unresolved name: foo>#()"];
|
||||
59 [label="Exit block"];
|
||||
}
|
||||
60 [label="Exit when branch result"];
|
||||
61 [label="Exit when"];
|
||||
}
|
||||
62 [label="Access variable this@R|/test_2|"];
|
||||
63 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
|
||||
64 [label="Function call: <Unresolved name: foo>#()"];
|
||||
65 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {54 45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {61};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
66 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
67 [label="Access variable R|<local>/a|"];
|
||||
68 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
69 [label="Enter function anonymousFunction"];
|
||||
70 [label="Access variable R|<local>/b|"];
|
||||
71 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
72 [label="Enter function anonymousFunction"];
|
||||
73 [label="Access variable R|<local>/c|"];
|
||||
74 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
75 [label="Enter function anonymousFunction"];
|
||||
76 [label="Access variable this@R|special/anonymous|"];
|
||||
77 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
|
||||
78 [label="Access variable this@R|special/anonymous|"];
|
||||
79 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||
80 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||
81 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
82 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
83 [label="Postponed exit from lambda"];
|
||||
84 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||
85 [label="Access variable this@R|special/anonymous|"];
|
||||
86 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||
87 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||
88 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
89 [label="Postponed exit from lambda"];
|
||||
90 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||
91 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
92 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
93 [label="Postponed exit from lambda"];
|
||||
94 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||
95 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
68 -> {93} [color=red];
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
71 -> {89} [color=red];
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
74 -> {83} [color=red];
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {83} [color=green];
|
||||
81 -> {82} [color=red];
|
||||
82 -> {84} [color=red];
|
||||
83 -> {84} [color=green];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89} [color=green];
|
||||
88 -> {92} [color=red];
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {93} [color=green];
|
||||
91 -> {92} [color=red];
|
||||
92 -> {94} [color=red];
|
||||
93 -> {94} [color=green];
|
||||
94 -> {95};
|
||||
|
||||
subgraph cluster_21 {
|
||||
color=red
|
||||
96 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
97 [label="Enter when"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
98 [label="Enter when branch condition "];
|
||||
99 [label="Access variable this@R|/test_4|"];
|
||||
100 [label="Type operator: (this@R|/test_4| !is R|A|)"];
|
||||
101 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
102 [label="Enter when branch condition else"];
|
||||
103 [label="Exit when branch condition"];
|
||||
}
|
||||
104 [label="Enter when branch result"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
105 [label="Enter block"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
106 [label="Enter when"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
107 [label="Enter when branch condition "];
|
||||
108 [label="Access variable this@R|/test_4|"];
|
||||
109 [label="Type operator: (this@R|/test_4| !is R|B|)"];
|
||||
110 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
111 [label="Enter when branch condition else"];
|
||||
112 [label="Exit when branch condition"];
|
||||
}
|
||||
113 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
114 [label="Enter block"];
|
||||
115 [label="Access variable this@R|/test_4|"];
|
||||
116 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||
117 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||
118 [label="Access variable this@R|/test_4|"];
|
||||
119 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
|
||||
120 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
|
||||
121 [label="Exit block"];
|
||||
}
|
||||
122 [label="Exit when branch result"];
|
||||
123 [label="Enter when branch result"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
124 [label="Enter block"];
|
||||
125 [label="Access variable this@R|/test_4|"];
|
||||
126 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
||||
127 [label="Function call: <Unresolved name: bar>#()"];
|
||||
128 [label="Access variable this@R|/test_4|"];
|
||||
129 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||
130 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||
131 [label="Exit block"];
|
||||
}
|
||||
132 [label="Exit when branch result"];
|
||||
133 [label="Exit when"];
|
||||
}
|
||||
134 [label="Exit block"];
|
||||
}
|
||||
135 [label="Exit when branch result"];
|
||||
136 [label="Enter when branch result"];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
137 [label="Enter block"];
|
||||
138 [label="Access variable this@R|/test_4|"];
|
||||
139 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
|
||||
140 [label="Function call: <Unresolved name: foo>#()"];
|
||||
141 [label="Access variable this@R|/test_4|"];
|
||||
142 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
||||
143 [label="Function call: <Unresolved name: bar>#()"];
|
||||
144 [label="Exit block"];
|
||||
}
|
||||
145 [label="Exit when branch result"];
|
||||
146 [label="Exit when"];
|
||||
}
|
||||
147 [label="Access variable this@R|/test_4|"];
|
||||
148 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
|
||||
149 [label="Function call: <Unresolved name: foo>#()"];
|
||||
150 [label="Access variable this@R|/test_4|"];
|
||||
151 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
||||
152 [label="Function call: <Unresolved name: bar>#()"];
|
||||
153 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {136 102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {123 111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {133};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
134 -> {135};
|
||||
135 -> {146};
|
||||
136 -> {137};
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142};
|
||||
142 -> {143};
|
||||
143 -> {144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
146 -> {147};
|
||||
147 -> {148};
|
||||
148 -> {149};
|
||||
149 -> {150};
|
||||
150 -> {151};
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
|
||||
subgraph cluster_32 {
|
||||
color=red
|
||||
154 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
155 [label="Enter when"];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
156 [label="Enter when branch condition "];
|
||||
157 [label="Access variable this@R|/test_5|"];
|
||||
158 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
|
||||
159 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
160 [label="Enter when branch condition "];
|
||||
161 [label="Access variable this@R|/test_5|"];
|
||||
162 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
|
||||
163 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
164 [label="Enter when branch condition else"];
|
||||
165 [label="Exit when branch condition"];
|
||||
}
|
||||
166 [label="Enter when branch result"];
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
167 [label="Enter block"];
|
||||
168 [label="Const: Int(0)"];
|
||||
169 [label="Exit block"];
|
||||
}
|
||||
170 [label="Exit when branch result"];
|
||||
171 [label="Enter when branch result"];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
172 [label="Enter block"];
|
||||
173 [label="Access variable R|kotlin/String.length|"];
|
||||
174 [label="Exit block"];
|
||||
}
|
||||
175 [label="Exit when branch result"];
|
||||
176 [label="Enter when branch result"];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
177 [label="Enter block"];
|
||||
178 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
179 [label="Exit block"];
|
||||
}
|
||||
180 [label="Exit when branch result"];
|
||||
181 [label="Exit when"];
|
||||
}
|
||||
182 [label="Jump: ^test_5 when () {
|
||||
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
|
||||
this@R|/test_5|.R|kotlin/collections/List.size|
|
||||
}
|
||||
(this@R|/test_5| is R|kotlin/String|) -> {
|
||||
this@R|/test_5|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
Int(0)
|
||||
}
|
||||
}
|
||||
"];
|
||||
183 [label="Stub" style="filled" fillcolor=gray];
|
||||
184 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
154 -> {155};
|
||||
155 -> {156};
|
||||
156 -> {157};
|
||||
157 -> {158};
|
||||
158 -> {159};
|
||||
159 -> {176 160};
|
||||
160 -> {161};
|
||||
161 -> {162};
|
||||
162 -> {163};
|
||||
163 -> {171 164};
|
||||
164 -> {165};
|
||||
165 -> {166};
|
||||
166 -> {167};
|
||||
167 -> {168};
|
||||
168 -> {169};
|
||||
169 -> {170};
|
||||
170 -> {181};
|
||||
171 -> {172};
|
||||
172 -> {173};
|
||||
173 -> {174};
|
||||
174 -> {175};
|
||||
175 -> {181};
|
||||
176 -> {177};
|
||||
177 -> {178};
|
||||
178 -> {179};
|
||||
179 -> {180};
|
||||
180 -> {181};
|
||||
181 -> {182};
|
||||
182 -> {184};
|
||||
182 -> {183} [style=dotted];
|
||||
183 -> {184} [style=dotted];
|
||||
|
||||
subgraph cluster_40 {
|
||||
color=red
|
||||
185 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
186 [label="Access variable this@R|/test_6|"];
|
||||
187 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
|
||||
188 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
189 [label="Access variable this@R|/test_6|"];
|
||||
190 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
|
||||
191 [label="Access variable R|kotlin/String.length|"];
|
||||
192 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
185 -> {186};
|
||||
186 -> {187};
|
||||
187 -> {188};
|
||||
188 -> {189};
|
||||
189 -> {190};
|
||||
190 -> {191};
|
||||
191 -> {192};
|
||||
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
// !DUMP_CFG
|
||||
class A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
class B {
|
||||
fun bar() {}
|
||||
}
|
||||
|
||||
fun <T> T.with(block: T.() -> Unit) {}
|
||||
|
||||
fun Any?.test_1() {
|
||||
if (this is A) {
|
||||
this.foo()
|
||||
foo()
|
||||
} else {
|
||||
this.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
this.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
|
||||
fun Any?.test_2() {
|
||||
if (this !is A) {
|
||||
this.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
} else {
|
||||
this.foo()
|
||||
foo()
|
||||
}
|
||||
this.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
|
||||
fun test_3(a: Any, b: Any, c: Any) {
|
||||
with(a) wa@{
|
||||
with(b) wb@{
|
||||
with(c) wc@{
|
||||
this@wb as A
|
||||
this@wb.foo()
|
||||
foo()
|
||||
}
|
||||
this.foo()
|
||||
foo()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun Any?.test_4() {
|
||||
if (this !is A) {
|
||||
this.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
this.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
} else if (this !is B) {
|
||||
this.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
this.foo()
|
||||
foo()
|
||||
} else {
|
||||
this.foo()
|
||||
foo()
|
||||
this.bar()
|
||||
bar()
|
||||
}
|
||||
this.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
this.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
}
|
||||
|
||||
fun Any.test_5(): Int = when {
|
||||
this is List<*> -> size
|
||||
this is String -> length
|
||||
else -> 0
|
||||
}
|
||||
|
||||
fun Any.test_6() {
|
||||
this as List<*>
|
||||
size
|
||||
this as String
|
||||
length
|
||||
}
|
||||
+119
@@ -0,0 +1,119 @@
|
||||
FILE: implicitReceivers.kt
|
||||
public final class A : R|kotlin/Any| {
|
||||
public constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
public final class B : R|kotlin/Any| {
|
||||
public constructor(): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun bar(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
public final fun <T> R|T|.with(block: R|T.() -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun R|kotlin/Any?|.test_1(): R|kotlin/Unit| {
|
||||
when () {
|
||||
(this@R|/test_1| is R|A|) -> {
|
||||
this@R|/test_1|.R|/A.foo|()
|
||||
this@R|/test_1|.R|/A.foo|()
|
||||
}
|
||||
else -> {
|
||||
this@R|/test_1|.<Unresolved name: foo>#()
|
||||
<Unresolved name: foo>#()
|
||||
}
|
||||
}
|
||||
|
||||
this@R|/test_1|.<Unresolved name: foo>#()
|
||||
<Unresolved name: foo>#()
|
||||
}
|
||||
public final fun R|kotlin/Any?|.test_2(): R|kotlin/Unit| {
|
||||
when () {
|
||||
(this@R|/test_2| !is R|A|) -> {
|
||||
this@R|/test_2|.<Unresolved name: foo>#()
|
||||
<Unresolved name: foo>#()
|
||||
}
|
||||
else -> {
|
||||
this@R|/test_2|.R|/A.foo|()
|
||||
this@R|/test_2|.R|/A.foo|()
|
||||
}
|
||||
}
|
||||
|
||||
this@R|/test_2|.<Unresolved name: foo>#()
|
||||
<Unresolved name: foo>#()
|
||||
}
|
||||
public final fun test_3(a: R|kotlin/Any|, b: R|kotlin/Any|, c: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/a|, <L> = wa@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
|
||||
^ R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/b|, <L> = wb@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
|
||||
R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/c|, <L> = wc@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
|
||||
(this@R|special/anonymous| as R|A|)
|
||||
this@R|special/anonymous|.R|/A.foo|()
|
||||
this@R|special/anonymous|.R|/A.foo|()
|
||||
}
|
||||
)
|
||||
this@R|special/anonymous|.R|/A.foo|()
|
||||
this@R|special/anonymous|.R|/A.foo|()
|
||||
}
|
||||
)
|
||||
}
|
||||
)
|
||||
}
|
||||
public final fun R|kotlin/Any?|.test_4(): R|kotlin/Unit| {
|
||||
when () {
|
||||
(this@R|/test_4| !is R|A|) -> {
|
||||
this@R|/test_4|.<Unresolved name: foo>#()
|
||||
<Unresolved name: foo>#()
|
||||
this@R|/test_4|.<Unresolved name: bar>#()
|
||||
<Unresolved name: bar>#()
|
||||
}
|
||||
else -> {
|
||||
when () {
|
||||
(this@R|/test_4| !is R|B|) -> {
|
||||
this@R|/test_4|.<Unresolved name: bar>#()
|
||||
<Unresolved name: bar>#()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
}
|
||||
else -> {
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/B.bar|()
|
||||
this@R|/test_4|.R|/B.bar|()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
this@R|/test_4|.<Unresolved name: foo>#()
|
||||
<Unresolved name: foo>#()
|
||||
this@R|/test_4|.<Unresolved name: bar>#()
|
||||
<Unresolved name: bar>#()
|
||||
}
|
||||
public final fun R|kotlin/Any|.test_5(): R|kotlin/Int| {
|
||||
^test_5 when () {
|
||||
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
|
||||
this@R|/test_5|.R|kotlin/collections/List.size|
|
||||
}
|
||||
(this@R|/test_5| is R|kotlin/String|) -> {
|
||||
this@R|/test_5|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
Int(0)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun R|kotlin/Any|.test_6(): R|kotlin/Unit| {
|
||||
(this@R|/test_6| as R|kotlin/collections/List<*>|)
|
||||
this@R|/test_6|.R|kotlin/collections/List.size|
|
||||
(this@R|/test_6| as R|kotlin/String|)
|
||||
this@R|/test_6|.R|kotlin/String.length|
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fun takeString(s: String) {}
|
||||
|
||||
class Wrapper(val s: String?) {
|
||||
fun withThis() {
|
||||
if (s != null) {
|
||||
takeString(this.s) // Should be OK
|
||||
}
|
||||
if (this.s != null) {
|
||||
takeString(s) // Should be OK
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun takeString(s: String) {}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
FILE: mixingImplicitAndExplicitReceivers.kt
|
||||
public final fun takeString(s: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
public final class Wrapper : R|kotlin/Any| {
|
||||
public constructor(s: R|kotlin/String?|): R|Wrapper| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final val s: R|kotlin/String?| = R|<local>/s|
|
||||
public get(): R|kotlin/String?|
|
||||
|
||||
public final fun withThis(): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(this@R|/Wrapper|.R|/Wrapper.s|, Null(null)) -> {
|
||||
R|/takeString|(this@R|/Wrapper|.R|/Wrapper.s|)
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(this@R|/Wrapper|.R|/Wrapper.s|, Null(null)) -> {
|
||||
R|/takeString|(this@R|/Wrapper|.R|/Wrapper.s|)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final fun takeString(s: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
Vendored
+100
@@ -0,0 +1,100 @@
|
||||
digraph thisOfExtensionProperty_kt {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
1 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter property" style="filled" fillcolor=red];
|
||||
3 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter &&"];
|
||||
6 [label="Access variable this@R|/check_1|"];
|
||||
7 [label="Type operator: (this@R|/check_1| is R|B|)"];
|
||||
8 [label="Exit left part of &&"];
|
||||
9 [label="Enter right part of &&"];
|
||||
10 [label="Access variable R|/B.b|"];
|
||||
11 [label="Exit &&"];
|
||||
}
|
||||
12 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"];
|
||||
13 [label="Stub" style="filled" fillcolor=gray];
|
||||
14 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {11 9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {14};
|
||||
12 -> {13} [style=dotted];
|
||||
13 -> {14} [style=dotted];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
15 [label="Enter property" style="filled" fillcolor=red];
|
||||
16 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
17 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
18 [label="Enter &&"];
|
||||
19 [label="Access variable this@R|/check_2|"];
|
||||
20 [label="Type operator: (this@R|/check_2| is R|B|)"];
|
||||
21 [label="Exit left part of &&"];
|
||||
22 [label="Enter right part of &&"];
|
||||
23 [label="Access variable this@R|/check_2|"];
|
||||
24 [label="Access variable R|/B.b|"];
|
||||
25 [label="Exit &&"];
|
||||
}
|
||||
26 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"];
|
||||
27 [label="Stub" style="filled" fillcolor=gray];
|
||||
28 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {25 22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {28};
|
||||
26 -> {27} [style=dotted];
|
||||
27 -> {28} [style=dotted];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
29 [label="Enter property" style="filled" fillcolor=red];
|
||||
30 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
29 -> {30};
|
||||
|
||||
}
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// !DUMP_CFG
|
||||
interface A
|
||||
|
||||
interface B {
|
||||
val b: Boolean
|
||||
}
|
||||
|
||||
val A.check_1: Boolean
|
||||
get() = this is B && b
|
||||
|
||||
val A.check_2: Boolean
|
||||
get() = this is B && this.b
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
FILE: thisOfExtensionProperty.kt
|
||||
public abstract interface A : R|kotlin/Any| {
|
||||
}
|
||||
public abstract interface B : R|kotlin/Any| {
|
||||
public abstract val b: R|kotlin/Boolean|
|
||||
public get(): R|kotlin/Boolean|
|
||||
|
||||
}
|
||||
public final val R|A|.check_1: R|kotlin/Boolean|
|
||||
public get(): R|kotlin/Boolean| {
|
||||
^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|
|
||||
}
|
||||
public final val R|A|.check_2: R|kotlin/Boolean|
|
||||
public get(): R|kotlin/Boolean| {
|
||||
^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|
|
||||
}
|
||||
Reference in New Issue
Block a user