-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bug with the dig function #7
Comments
Nice catch.
I assumed it is always implemented here: https://github.com/cannorin/FSharp.CommandLine/blob/master/src/FSharp.CommandLine/options.fs#L43-L52 And since Here, the part Do you feel this library should be heavily refactored? I'm actually thinking of it. |
I would like to fully understand the code base and what it's capable of before I judge. That's why I started writing these unit tests, because reading through it I couldn't understand anything and as you mentioned elsewhere it could use a lot more documentation. It may take me a few months to finish my unit tests to create my PR. After I finish my unit tests, I'll take the opportunity to judge the framework and think of suggestions. Overall though, I think you have a good vision for what needs to happen to make it better and I'm hoping I can help anyway I can. |
I think
will be the cause of infinite recursion.
Really I am trying to write a unit test for the generator function, which calls the dig method and I'm trying to rationalize what it's supposed to do. I don't understand how isMatch is supposed to work. It sounds like something that would return a boolean but instead it returns an option of list of strings?
Here is my first pass at seeing how the generator function works and it hit infinite recursion.
The text was updated successfully, but these errors were encountered: