[FIR] Don't pass data flow to property accessors of non local classes

This commit is contained in:
Dmitriy Novozhilov
2020-03-31 15:44:10 +03:00
parent bb8d743741
commit 1d39270b3e
19 changed files with 305 additions and 333 deletions
@@ -296,15 +296,13 @@ digraph boundSmartcasts_kt {
109 -> {108};
subgraph cluster_24 {
color=red
110 [label="Enter function getter" style="filled" fillcolor=red];
111 [label="Exit function getter" style="filled" fillcolor=red];
}
110 -> {111};
subgraph cluster_25 {
color=red
115 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
110 [label="Enter function getter" style="filled" fillcolor=red];
111 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_26 {
color=blue
112 [label="Enter property" style="filled" fillcolor=red];
@@ -317,6 +315,7 @@ digraph boundSmartcasts_kt {
112 -> {114};
113 -> {116} [color=green];
114 -> {113};
110 -> {111};
subgraph cluster_27 {
color=red
@@ -13,15 +13,13 @@ digraph boundSmartcastsInBranches_kt {
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
3 -> {4};
subgraph cluster_2 {
color=red
8 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
5 [label="Enter property" style="filled" fillcolor=red];
@@ -34,6 +32,7 @@ digraph boundSmartcastsInBranches_kt {
5 -> {7};
6 -> {9} [color=green];
7 -> {6};
3 -> {4};
subgraph cluster_4 {
color=red
@@ -29,15 +29,13 @@ digraph functionCallBound_kt {
7 -> {6};
subgraph cluster_3 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_4 {
color=red
13 [label="Enter class Sub" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
@@ -50,6 +48,7 @@ digraph functionCallBound_kt {
10 -> {12};
11 -> {14} [color=green];
12 -> {11};
8 -> {9};
subgraph cluster_6 {
color=red