Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000093 | mercury | Bug | public | 2009-04-08 13:27 | 2009-09-22 17:35 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000093: large ground terms optimisation and unique modes | ||||
Description | The optimised handling of large ground terms (23 Dec) breaks mode checking when the term being constructed is declared to be unique. When the term is large enough for the optimisation to kick in, the term is assumed to be non-unique. I tracked this as far as "TermInst = bound(shared, [BoundInst])," in modecheck_ground_term_construct_goal_loop. | ||||
Additional Information | On the attached example the error message is: uo_regression1.m:035: In clause for `init_message = uo': uo_regression1.m:035: mode error: argument 1 had the wrong instantiatedness. uo_regression1.m:035: Final instantiatedness of `HeadVar__1' was uo_regression1.m:035: `bound(uo_regression1.response(bound((uo_regression1.status_ok)), uo_regression1.m:035: bound((maybe.no)), bound((maybe.no)), uo_regression1.m:035: bound((maybe.no)), bound((maybe.no))))', uo_regression1.m:035: expected final instantiatedness was `unique'. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | uo_regression1.m (1,195) 2009-04-08 13:27 https://bugs.mercurylang.org/file_download.php?file_id=73&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2009-04-08 13:27 | wangp | New Issue | |||
2009-04-08 13:27 | wangp | File Added: uo_regression1.m | |||
2009-04-08 13:28 | wangp | Status | new => assigned | ||
2009-04-08 13:28 | wangp | Assigned To | => zs | ||
2009-04-27 12:10 | Note Added: 0000165 | ||||
2009-04-27 13:53 | zs | Note Added: 0000166 | |||
2009-09-22 17:35 | zs | Note Added: 0000188 | |||
2009-09-22 17:35 | zs | Status | assigned => resolved | ||
2009-09-22 17:35 | zs | Resolution | open => fixed |