View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000264 | mercury | Bug | public | 2012-10-02 22:55 | 2015-11-02 16:55 | ||||
Reporter | wangp | ||||||||
Assigned To | zs | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000264: function mode lost without warning | ||||||||
Description | It's possible to place a function with non-default mode into a ground term then extract it back out, now with the default mode assumed. According to the manual this should be forbidden: As a consequence of this, it is a mode error to pass a higher-order function term that does not match this standard mode to somewhere where its higher-order inst information may be lost[...] which was apparently implemented: http://www.mercury.csse.unimelb.edu.au/mailing-lists/mercury-users/mercury-users.0308/0013.html | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-02 22:55 | wangp | New Issue | |
2012-10-02 22:55 | wangp | File Added: default_ho_inst.m | |
2015-11-02 16:55 | zs | Note Added: 0000865 | |
2015-11-02 16:55 | zs | Status | new => resolved |
2015-11-02 16:55 | zs | Resolution | open => fixed |
2015-11-02 16:55 | zs | Assigned To | => zs |