Mercury Bugs - mercury
View Issue Details
0000092mercuryBugpublic2009-03-09 23:432009-03-09 23:43
Reporterjuliensf 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000092: generated C code contains a block that defines a variable that shadows a headvar in hlc.gc
DescriptionCompiling 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
TagsNo tags attached.
Attached Files? shadowed_headvar.m (2,455) 2009-03-09 23:43
https://bugs.mercurylang.org/file_download.php?file_id=71&type=bug

There are no notes attached to this issue.

Issue History
2009-03-09 23:43juliensfNew Issue
2009-03-09 23:43juliensfFile Added: shadowed_headvar.m