Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000545 | mercury | Bug | public | 2022-02-06 15:22 | 2022-02-22 02:50 |
Reporter | juliensf | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000545: Data constructor named "event" results in invalid optimisation interface | ||||
Description | The attached program has been extracted from <https://github.com/dzyr/mercury-xml>. 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 Reproduce | mmc --intermod-opt --make use_xml_read | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | event_bug.tar.gz (732) 2022-02-06 15:22 https://bugs.mercurylang.org/file_download.php?file_id=316&type=bug |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2022-02-06 15:22 | juliensf | New Issue | |||
2022-02-06 15:22 | juliensf | File Added: event_bug.tar.gz | |||
2022-02-09 17:39 | zs | Assigned To | => zs | ||
2022-02-09 17:39 | zs | Status | new => assigned | ||
2022-02-22 02:50 | zs | Status | assigned => resolved | ||
2022-02-22 02:50 | zs | Resolution | open => fixed | ||
2022-02-22 02:50 | zs | Note Added: 0001178 |