Commit d684f60
committed
Polish and document separation checker (2)
Use a coarser prediction of hidden sets. Any Fresh.Cap instance
in a capture set means that we should do the hidden check. Previously
this was the case only if the Fresh.Cap instance hid something non maximal,
element, but only directly, not via another Cap. Another version searched for
non-maximal references deeply, but this one caused infinite looping in the CI.
But in any case it's fine to over-approximate and assume that any Fresh.Cap
hides something.1 parent 0a37cc1 commit d684f60
File tree
3 files changed
+208
-35
lines changed- compiler/src/dotty/tools/dotc/cc
3 files changed
+208
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1839 | 1839 | | |
1840 | 1840 | | |
1841 | 1841 | | |
1842 | | - | |
| 1842 | + | |
1843 | 1843 | | |
1844 | 1844 | | |
1845 | 1845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments