Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000092 | mercury | Bug | public | 2009-03-09 23:43 | 2025-07-10 00:09 |
| Reporter | juliensf | ||||
|---|---|---|---|---|---|
| Assigned To | zs | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0000092: generated C code contains a block that defines a variable that shadows a headvar in hlc.gc | ||||
| Description | Compiling the C code generated for the attached module in the hlc.gc grade results in: shadowed_headvar.m: In function 'shadowed_headvar__type_defined_in_runtime_1_p_0': shadowed_headvar.m:64: warning: declaration of 'shadowed_headvar__HeadVar__1_1' shadows a parameter shadowed_headvar.m:38: warning: shadowed declaration is here | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://bugs.mercurylang.org/file_download.php?file_id=71&type=bug | ||||
| Notes | |||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2009-03-09 23:43 | juliensf | New Issue | |||
| 2009-03-09 23:43 | juliensf | File Added: shadowed_headvar.m | |||
| 2025-07-10 00:09 | zs | Assigned To | => zs | ||
| 2025-07-10 00:09 | zs | Status | new => closed | ||
| 2025-07-10 00:09 | zs | Resolution | open => fixed | ||
| 2025-07-10 00:09 | zs | Note Added: 0001234 | |||