FIR DFA: use class enter node as data flow source for members

Also fix graphs for enums with specialized entries - since we don't
create property subgraphs for FirEnumEntry, there is no body to insert
AnonymousObjectEnterNode, AnonymousObjectExitNode, and
AnonymousObjectExpressionExitNode into.
This commit is contained in:
pyos
2022-12-10 19:18:15 +01:00
committed by Dmitriy Novozhilov
parent e6819e1295
commit 4bb7b1ac9f
12 changed files with 56 additions and 86 deletions
@@ -44,18 +44,19 @@ digraph innerClassInAnonymousObject_kt {
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
14 -> {0 3 6} [color=red];
15 -> {12} [color=green];
15 -> {12};
15 -> {16} [color=red];
15 -> {12} [style=dashed];
16 -> {17};
17 -> {18};
12 -> {13} [color=green];
12 -> {0 10} [color=red];
13 -> {0 10 16} [color=green];
13 -> {0 10} [style=dashed];
0 -> {1};
1 -> {2};
10 -> {11} [color=green];
10 -> {3 6} [color=red];
11 -> {3 6} [color=green];
11 -> {3 6} [style=dashed];
3 -> {4};