You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4476 Reporter: gerd Assigned to:@damiendoligez Status: closed (set by @damiendoligez on 2010-05-12T15:15:23Z) Resolution: fixed Priority: normal Severity: minor Version: 3.10.0 Fixed in version: 3.11.0 Category: ~DO NOT USE (was: OCaml general) Related to:#3214
Bug description
In native code, Invalid_argument exceptions thrown by illegal array accesses cannot be fully printed by Printexc.to_string. Here is a test program:
let e = try [| |].(0); raise Not_found with e -> e;;
let e' = Invalid_argument "foo";;
print_endline (Printexc.to_string e);;
print_endline (Printexc.to_string e');;
This prints:
Invalid_argument(_)
Invalid_argument("foo")
Original bug ID: 4476
Reporter: gerd
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2010-05-12T15:15:23Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.0
Fixed in version: 3.11.0
Category: ~DO NOT USE (was: OCaml general)
Related to: #3214
Bug description
In native code, Invalid_argument exceptions thrown by illegal array accesses cannot be fully printed by Printexc.to_string. Here is a test program:
let e = try [| |].(0); raise Not_found with e -> e;;
let e' = Invalid_argument "foo";;
print_endline (Printexc.to_string e);;
print_endline (Printexc.to_string e');;
This prints:
Invalid_argument(_)
Invalid_argument("foo")
In bytecode, everything is correct.
Additional information
Maybe related to #3214.
The text was updated successfully, but these errors were encountered: