Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor inconsistencies between related signatures #6245

Closed
vicuna opened this issue Nov 20, 2013 · 1 comment
Closed

Minor inconsistencies between related signatures #6245

vicuna opened this issue Nov 20, 2013 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Nov 20, 2013

Original bug ID: 6245
Reporter: kosik
Status: closed (set by @damiendoligez on 2013-11-30T22:15:21Z)
Resolution: fixed
Priority: low
Severity: trivial
Version: 4.01.0
Fixed in version: 4.02.0+dev
Category: documentation

Bug description

`Arg' module exports, among other things, these functions:

  • parse
  • parse_dynamic
    Signature of the latter function is declared to be:

val parse_dynamic : (string * spec * string) list ref -> anon_fun -> string -> unit

Shouldn't it be, consistently with the signature of `parse', instead:

val parse_dynamic : (key * spec * doc) list ref -> anon_fun -> usage_msg -> unit

?

@vicuna
Copy link
Author

vicuna commented Nov 30, 2013

Comment author: @damiendoligez

Indeed. Fixed in trunk (rev 14332).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant