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: 4835 Reporter: gareuselesinge Status: closed (set by @damiendoligez on 2009-12-08T16:50:23Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.1 Fixed in version: 3.12.0+dev Category: ~DO NOT USE (was: OCaml general) Duplicate of:#4675#4717 Related to:#4052 Monitored by: lynxiamen
Bug description
let f x = match x with Some y -> y | None _ -> assert false;;
val f : 'a option -> 'a =
And if I use a name instead of _ it complains that None takes no arguments,
but likes 1 (not more) discarded arguments.
The text was updated successfully, but these errors were encountered:
Original bug ID: 4835
Reporter: gareuselesinge
Status: closed (set by @damiendoligez on 2009-12-08T16:50:23Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.1
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4675 #4717
Related to: #4052
Monitored by: lynxiamen
Bug description
let f x = match x with Some y -> y | None _ -> assert false;;
val f : 'a option -> 'a =
And if I use a name instead of _ it complains that None takes no arguments,
but likes 1 (not more) discarded arguments.
The text was updated successfully, but these errors were encountered: