Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000526 | mercury | Bug | public | 2020-11-11 11:34 | 2021-04-28 11:17 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | wangp | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000526: unused imports affected by opt-imported typeclass instances | ||||
Description | Some basic investigation of why warnings/bug412.m fails when intermodule optimisation is enabled. The `io' module is considered used because polymorphism adds a typeclass info to the constant structure database due to opt-imported typeclass instances. Then const_struct_used_modules treats every constant structure as a use: const_struct_used_modules(_ConstNum - ConstStruct, !UsedModules) :- % Every const_struct in the const_struct_db was put there because % it is used in module. None of the uses can be in the interface. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2020-11-11 11:34 | wangp | New Issue | |||
2020-11-12 03:13 | zs | Note Added: 0001124 | |||
2020-11-30 13:35 | wangp | Note Added: 0001125 | |||
2021-04-28 11:17 | wangp | Assigned To | => wangp | ||
2021-04-28 11:17 | wangp | Status | new => resolved | ||
2021-04-28 11:17 | wangp | Resolution | open => fixed | ||
2021-04-28 11:17 | wangp | Note Added: 0001134 |