Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamlopt: expressions containing raise #2417

Closed
vicuna opened this issue Apr 12, 2000 · 2 comments
Closed

ocamlopt: expressions containing raise #2417

vicuna opened this issue Apr 12, 2000 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 12, 2000

Original bug ID: 79
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

The 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
@vicuna
Copy link
Author

vicuna commented Apr 13, 2000

Comment author: administrator

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

@vicuna
Copy link
Author

vicuna commented Apr 13, 2000

Comment author: administrator

Fixed on 2000-04-13 by Xavier

@vicuna vicuna closed this as completed Apr 13, 2000
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant