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

Comments

Projects
None yet
1 participant
@vicuna
Copy link
Collaborator

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

This comment has been minimized.

Copy link
Collaborator Author

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
You can’t perform that action at this time.