Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000574 | mercury | Bug | public | 2024-05-06 00:35 | 2024-05-06 00:46 |
Reporter | juliensf | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000574: Higher-order inst gets lost when using combined higher-order type and inst | ||||
Description | The attached program is a very cut-down version of a problem reported by a user on twitter. Compiling the attached results in: bug574.m:017: In clause for `process_job(in, di, uo)': bug574.m:017: in argument 1 of call to predicate `bug574.do_process_job1'/3: bug574.m:017: mode error: variable `Pred' has instantiatedness `ground', bug574.m:017: expected instantiatedness was `(pred(in, di, uo) is det)'. I can see no reason why Pred has that instantiatedness, unless it is some limitation of the combined higher-order types and insts implementation or an actual bug. | ||||
Additional Information | The users original program can be found here: <https://gist.github.com/WojciechKarpiel/11fd9ccb92d66784110fbb4f3682b131#gistcomment-5046424> | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | bug574.m (461) 2024-05-06 00:35 https://bugs.mercurylang.org/file_download.php?file_id=330&type=bug |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2024-05-06 00:35 | juliensf | New Issue | |||
2024-05-06 00:35 | juliensf | File Added: bug574.m | |||
2024-05-06 00:46 | zs | Note Added: 0001232 |