Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000079OCamlOCaml generalpublic2000-04-12 16:052000-04-13 14:18
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000079: ocamlopt: expressions containing raise
DescriptionThe following module exn.ml:

    exception E

    let _ = raise E + raise E

causes an uncaught exception in the native code compiler (Ocaml 2.04):

    [~] ocamlopt exn.ml
    Uncaught exception:
Invalid_argument("Array.get")
    [~]

It compiles fine with ocamlc.

Best regards,

    - Andreas

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000347)
administrator (administrator)
2000-04-13 14:18

> The following module exn.ml:
> exception E
> let _ = raise E + raise E
> causes an uncaught exception in the native code compiler (Ocaml
> 2.04)

Right. I have fixed this in the working sources. Thanks for the bug report.

Best regards,

- Xavier Leroy

(0000348)
administrator (administrator)
2000-04-13 14:18

Fixed on 2000-04-13 by Xavier

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker