Mercury Bugs - mercury
View Issue Details
0000481mercuryBugpublic2019-08-19 13:382019-08-20 11:34
Reporterwangp 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000481: abort in MLDS code generator with --static-ground-terms
DescriptionThe compiler aborts on the following test case in hlc grades.

% mmc -s hlc.gc -C mlds_ground_term.m
Uncaught Mercury exception:
Software Error: map.lookup: key not found
        Key Type: term.var(parse_tree.prog_data.prog_var_type)
        Key Value: var(4)
        Value Type: ml_backend.ml_gen_info.ml_ground_term
TagsNo tags attached.
Attached Files? mlds_ground_term.m (329) 2019-08-19 13:38
https://bugs.mercurylang.org/file_download.php?file_id=289&type=bug

Notes
(0001046)
zs   
2019-08-20 11:34   
Fixed by commit 1afe0df4e95cf65f9e32a4f60caad2ea4d1c81cf.

Issue History
2019-08-19 13:38wangpNew Issue
2019-08-19 13:38wangpFile Added: mlds_ground_term.m
2019-08-19 16:07zsAssigned To => zs
2019-08-19 16:07zsStatusnew => assigned
2019-08-20 11:34zsStatusassigned => resolved
2019-08-20 11:34zsResolutionopen => fixed
2019-08-20 11:34zsNote Added: 0001046