| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0000353 | mercury | Bug | public | 2014-08-19 11:11 | 2014-08-19 11:11 | ||||||||
| Reporter | wangp | ||||||||||||
| Assigned To | wangp | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||
| Status | assigned | Resolution | open | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0000353: misuse of tabled_for_io in the standard library | ||||||||||||
| Description | dir.open_2 is tabled_for_io but is a non-primitive I/O operation as it directly calls dir.read_first_entry. It should leave that to the Mercury code in dir.open to do. Foreign procs marked tabled_for_io should not throw exceptions. The throws should be deferred until back in Mercury code. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files |
| ||||||||||||


