Mercury Bugs - mercury
View Issue Details
0000576mercuryBugpublic2025-07-05 16:502025-07-05 19:54
Reporterjuliensf 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000576: Abort in pre_typecheck
DescriptionCompiling the attached module causes the following abort:

Uncaught Mercury exception:
Software Error: function `check_hlds.pre_typecheck.arg_num_pieces'/2: Unexpected: ArgNum is not numbered correctly for return value
TagsNo tags attached.
Attached Files? argnum_abort.m (1,369) 2025-07-05 16:50
https://bugs.mercurylang.org/file_download.php?file_id=332&type=bug

Notes
(0001233)
zs   
2025-07-05 19:54   
Fix committed 2025 jul 5.

Issue History
2025-07-05 16:50juliensfNew Issue
2025-07-05 16:50juliensfFile Added: argnum_abort.m
2025-07-05 19:06zsAssigned To => zs
2025-07-05 19:06zsStatusnew => assigned
2025-07-05 19:54zsStatusassigned => resolved
2025-07-05 19:54zsResolutionopen => fixed
2025-07-05 19:54zsNote Added: 0001233