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: 1957 Reporter: administrator Status: closed (set by @xclerc on 2009-09-16T12:45:41Z) Resolution: won't fix Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general) Has duplicate:#8090
Bug description
Hello,
I found strange behavior of pattern matching of
marshaled/unmarshaled exception.
Next code describe problem:
let e = Failure "test";;
let e' = Marshal.from_string (Marshal.to_string e []) 0;;
let print_fun exc =
match exc with
Failure _ -> print_endline "Matching OK"
| exc -> print_endline "Matching Fail";;
print_fun e;;
print_fun e';;
Printf.printf "e = e' is %b\n" (e=e');;
Original bug ID: 1957
Reporter: administrator
Status: closed (set by @xclerc on 2009-09-16T12:45:41Z)
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Has duplicate: #8090
Bug description
Hello,
I found strange behavior of pattern matching of
marshaled/unmarshaled exception.
Next code describe problem:
Output:
So second call print missing value.
--
Artem Prysyznuk
tema@sit.kiev.ua
The text was updated successfully, but these errors were encountered: