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: 6154 Reporter: furuse Assigned to:@gasche Status: closed (set by @xavierleroy on 2015-12-11T18:24:02Z) Resolution: duplicate Priority: normal Severity: trivial Version: 4.00.1 Fixed in version: 4.01.0+dev Category: standard library Duplicate of:#4978 Related to:#7413
Bug description
Marshaling exception values do not work well in OCaml (see #8399 ). This should be documented in marshal.mli.
The text was updated successfully, but these errors were encountered:
Wojciech fixed this around commit 13568, included in 4.01. The documentation now reads:
OCaml exception values (of type [exn]) returned by the unmarhsaller
should not be pattern-matched over through [match ... with] or [try
... with], because unmarshalling does not preserve the information
required for matching their exception constructor. Structural
equalities with other exception values, or most other uses such as
Printexc.to_string, will still work as expected.
(I just noticed the typo in "unmarhsaller". Will fix.)
Original bug ID: 6154
Reporter: furuse
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:24:02Z)
Resolution: duplicate
Priority: normal
Severity: trivial
Version: 4.00.1
Fixed in version: 4.01.0+dev
Category: standard library
Duplicate of: #4978
Related to: #7413
Bug description
Marshaling exception values do not work well in OCaml (see #8399 ). This should be documented in marshal.mli.
The text was updated successfully, but these errors were encountered: