Mercury Bugs - mercury
View Issue Details
0000545mercuryBugpublic2022-02-06 15:222022-02-22 02:50
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000545: Data constructor named "event" results in invalid optimisation interface
DescriptionThe attached program has been extracted from <>.
It illustrates a problem where a type has a data constructor named event, which becomes
the subject of a direct_arg clause in the optimisation interface. This causes a syntax error
when reading in xml_read.opt because event is not escaped using parentheses.

Steps To Reproducemmc --intermod-opt --make use_xml_read
TagsNo tags attached.
Attached Filesgz event_bug.tar.gz (732) 2022-02-06 15:22

2022-02-22 02:50   
Fix committed 2022 feb 9.

Issue History
2022-02-06 15:22juliensfNew Issue
2022-02-06 15:22juliensfFile Added: event_bug.tar.gz
2022-02-09 17:39zsAssigned To => zs
2022-02-09 17:39zsStatusnew => assigned
2022-02-22 02:50zsStatusassigned => resolved
2022-02-22 02:50zsResolutionopen => fixed
2022-02-22 02:50zsNote Added: 0001178