Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006362OCamlOCaml generalpublic2014-04-04 03:362014-07-16 16:01
Reporterberenger 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006362: warning about unused modules
DescriptionSometimes I have code like this at the top of a .ml file:
---
module A = BatArray
module AC = Autocorr
module S = BatString
[...]
---
After some big refactoring, it might be useful to detect which modules
are no more used, with a compiler warning for example.
Tagspatch
Attached Filesdiff file icon unused_module_decl.diff [^] (12,398 bytes) 2014-04-07 19:09 [Show Content]

- Relationships

-  Notes
(0011242)
frisch (developer)
2014-04-07 19:10

A patch is attached. Some more testing (including non-regression tests) would be needed.
(0011250)
berenger (reporter)
2014-04-09 05:32

Is there a way I can get a compiler with this patch applied, via OPAM
for example?
I'd like to give it a shot.

- Issue History
Date Modified Username Field Change
2014-04-04 03:36 berenger New Issue
2014-04-07 19:09 frisch File Added: unused_module_decl.diff
2014-04-07 19:10 frisch Note Added: 0011242
2014-04-09 05:32 berenger Note Added: 0011250
2014-07-16 15:54 doligez Tag Attached: patch
2014-07-16 16:01 doligez Status new => acknowledged


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker