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: 4717 Status: closed (set by @damiendoligez on 2009-12-08T16:50:06Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.0 Fixed in version: 3.12.0+dev Category: ~DO NOT USE (was: OCaml general) Duplicate of:#4675 Has duplicate:#4835 Child of:#4052 Monitored by: "Richard Jones"
Bug description
the following code:
let f = function
| Some x -> x
| None _ -> 0;;
yields an error using OCaml 3.10.2 but compiles fine using OCaml 3.11.0 (Linux platform)
Additional information
Objective Caml version 3.10.2
let f = function
| Some x -> x
| None _ -> 0;;
Characters 39-45:
| None _ -> 0;;
^^^^^^
The constructor None expects 0 argument(s),
but is here applied to 1 argument(s)
Objective Caml version 3.11.0
let f = function
| Some x -> x
| None _ -> 0;;
val f : int option -> int =
The text was updated successfully, but these errors were encountered:
Original bug ID: 4717
Status: closed (set by @damiendoligez on 2009-12-08T16:50:06Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4675
Has duplicate: #4835
Child of: #4052
Monitored by: "Richard Jones"
Bug description
the following code:
let f = function
| Some x -> x
| None _ -> 0;;
yields an error using OCaml 3.10.2 but compiles fine using OCaml 3.11.0 (Linux platform)
Additional information
Objective Caml version 3.10.2
let f = function
Characters 39-45:
| None _ -> 0;;
^^^^^^
The constructor None expects 0 argument(s),
but is here applied to 1 argument(s)
let f = function
val f : int option -> int =
The text was updated successfully, but these errors were encountered: