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
@@ -71,8 +71,7 @@ digraph inAnonymousObject_kt {
1 -> {2};
2 -> {3};
3 -> {4};
3 -> {17 20 26 29} [color=red];
4 -> {13} [color=green];
4 -> {13};
4 -> {5} [color=red];
4 -> {13} [style=dashed];
5 -> {6};
@@ -83,6 +82,7 @@ digraph inAnonymousObject_kt {
10 -> {11};
11 -> {12};
13 -> {14} [color=green];
13 -> {17 20 26 29} [color=red];
14 -> {17} [color=green];
14 -> {15} [style=dotted];
14 -> {17} [style=dashed];
@@ -74,15 +74,14 @@ digraph inLocalClass_kt {
1 -> {2};
2 -> {3};
3 -> {4};
3 -> {14 17 23 29} [color=red];
4 -> {5};
4 -> {10} [color=green];
4 -> {5 10};
4 -> {10} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
10 -> {11} [color=green];
10 -> {14 17 23 29} [color=red];
11 -> {14} [color=green];
11 -> {12} [style=dotted];
11 -> {14} [style=dashed];