We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original bug ID: 1762 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general)
Hi,
failwith sometimes leads to strange behavior... I found this bug in a program:
if cond then failwith "ABORTED" (* semicolon forgotten *) Printf.printf "OK\n"; Printf.printf "NEXT\n";
When run, displays only "NEXT". Worse, this "false" program works "perfectly well":
if cond then failwith "ABORTED" 4 List.map 0; Printf.printf "NEXT\n";
Sébastien Furic.
The text was updated successfully, but these errors were encountered:
Comment author: administrator
There is a new warning for "black holes" in 3.09 (Jacques)
Sorry, something went wrong.
No branches or pull requests
Original bug ID: 1762
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
failwith sometimes leads to strange behavior... I found this bug in a
program:
if cond then failwith "ABORTED" (* semicolon forgotten *)
Printf.printf "OK\n";
Printf.printf "NEXT\n";
When run, displays only "NEXT". Worse, this "false" program works
"perfectly well":
if cond then failwith "ABORTED" 4 List.map 0;
Printf.printf "NEXT\n";
Sébastien Furic.
The text was updated successfully, but these errors were encountered: