Skip to content

Commit 197b22c

Browse files
committed
[docs][exported_values] update include doc
Reflect the recent fix on the example
1 parent 288abb6 commit 197b22c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

docs/exported_values/code_constructs/INCLUDE.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Scanning files...
8585
.> UNUSED EXPORTED VALUES:
8686
=========================
8787
/tmp/docs/exported_values/code_constructs/include/include_lib.ml:5: Original.unused
88-
/tmp/docs/exported_values/code_constructs/include/include_lib.ml:5: Reexport.unused
8988
/tmp/docs/exported_values/code_constructs/include/include_lib.ml:15: Redefine.unused
9089
9190
Nothing else to report in this section
@@ -98,17 +97,6 @@ make: Leaving directory '/tmp/docs/exported_values/code_constructs/include'
9897
The compiler does not report any unused value.
9998

10099
As expected, the analyzer reports `Original.unused` and `Redefine.unused`.
101-
However, it also reports `Reexport.unused`, which is unexpected.
102-
103-
> [!WARNING]
104-
> The extra report on `Reexport.unused` is a known bug, tracked by
105-
> [issue #57](https://github.com/LexiFi/dead_code_analyzer/issues/57).
106-
> This duplicated report only exists because the modules `Original` and
107-
> `Reexport` belong to the same compilation unit (`Include_lib`). This can
108-
> easily be verified by moving `Reexport` in `Include_bin` instead.
109-
110-
Because the report of `Reexport.unused` is actually a duplicate of the report
111-
of `Original.unused`, we can simply ignore it.
112100

113101
## Removing the unused values
114102

0 commit comments

Comments
 (0)