Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000320 | mercury | Bug | public | 2014-02-19 16:12 | 2014-02-21 17:09 |
| Reporter | pbone | ||||
|---|---|---|---|---|---|
| Assigned To | juliensf | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | feedback | Resolution | open | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0000320: instantiation states and "unused module import" warnings do not interact properly. | ||||
| Description | A Mercury module containing a module import for some other Mercury module and an instantiation state deceleration for a type in that module but nothing else to do with that module generated an unused module import warning. | ||||
| Steps To Reproduce | Compile the attached module with "mmc -c", it should be warnings-clean but isn't. mmc outputs: paul@oxygen> mmc -c unused_import_inst_bug.m unused_import_inst_bug.m:001: In module `unused_import_inst_bug': unused_import_inst_bug.m:001: warning: module `maybe' is imported in the unused_import_inst_bug.m:001: interface, but is not used in the interface. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://bugs.mercurylang.org/file_download.php?file_id=205&type=bug | ||||
| Notes | |||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2014-02-19 16:12 | pbone | New Issue | |||
| 2014-02-19 16:12 | pbone | File Added: unused_import_inst_bug.m | |||
| 2014-02-21 17:08 | juliensf | Note Added: 0000650 | |||
| 2014-02-21 17:09 | juliensf | Assigned To | => juliensf | ||
| 2014-02-21 17:09 | juliensf | Status | new => feedback | ||