| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0004179 | OCaml | OCaml general | public | 2006-11-30 23:13 | 2006-12-01 00:39 |
|
| Reporter | smimram | |
| Assigned To | | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | 3.09.2 | |
| Target Version | | Fixed in Version | 3.09.3 | |
|
| Summary | 0004179: about 'a exceptions |
| Description | It looks like the following breaks the type system.
# exception E of _;;
exception E of 'a
# let magic x = try raise (E x) with E x -> x;;
val magic : 'a -> 'b = <fun>
|
| Tags | No tags attached. |
|
| Attached Files | |
|