File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
docs/exported_values/code_constructs Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff 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
9190Nothing else to report in this section
@@ -98,17 +97,6 @@ make: Leaving directory '/tmp/docs/exported_values/code_constructs/include'
9897The compiler does not report any unused value.
9998
10099As 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
You can’t perform that action at this time.
0 commit comments