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: 6408 Reporter: mkoconnor Status: closed (set by @damiendoligez on 2014-05-16T15:58:06Z) Resolution: fixed Priority: low Severity: text Fixed in version: 4.02.0+dev Category: ~DO NOT USE (was: OCaml general) Monitored by:@hcarty
Bug description
In code such as below a function's incorrect optional argument is reported in the error message as ~?arg instead of ?arg.
Original bug ID: 6408
Reporter: mkoconnor
Status: closed (set by @damiendoligez on 2014-05-16T15:58:06Z)
Resolution: fixed
Priority: low
Severity: text
Fixed in version: 4.02.0+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty
Bug description
In code such as below a function's incorrect optional argument is reported in the error message as ~?arg instead of ?arg.
Steps to reproduce
OCaml version 4.01.0
(fun (_ : (x:unit -> unit)) -> ()) (fun ?x:_ -> ());;
Error: This function should have type x:unit -> unit
but its first argument is labelled ~?x
File attachments
The text was updated successfully, but these errors were encountered: