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

Using &= help with &= argPos throws an error #56

Open
aviaviavi opened this issue Dec 12, 2018 · 1 comment
Open

Using &= help with &= argPos throws an error #56

aviaviavi opened this issue Dec 12, 2018 · 1 comment

Comments

@aviaviavi
Copy link

aviaviavi commented Dec 12, 2018

I can use argPos just fine, but if I add a help param, I get

CallStack (from HasCallStack):
  error, called at ./System/Console/CmdArgs/Implicit/Local.hs:106:11 in cmdargs-0.10.20-F07nW8QLYyL7Sb2sj6I5zi:System.Console.CmdArgs.Implicit.Local

Is there another way I'm supposed to be documenting positional arguments? If so, a better error message and docs to show this would be helpful, ideally it shouldn't type check.

I'm using stack with ghc 8.4.3, if it matters

@aviaviavi
Copy link
Author

If this is a small contained thing to fix that no one else is or has been working on, I'd be happy to take a swing at it, let me know!

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

No branches or pull requests

1 participant