-
Notifications
You must be signed in to change notification settings - Fork 190
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
Update to nim 0.10.2 coding convention #81
Conversation
- Deleted compat.nim
- merged changes from my working branch into master
Forgot to mention - I manually ran the test cases in tester.nim and they all passed. The comments in tester.nim indicate that execCmdEx doesn't return results in the correct order for one of those tests. Currently digging to see what the cause might be. |
Found the unit test problem - out-of-sequence caused by output from stderr being flushed to stdout without first flushing stdout. Fixed by changing the failure test cases to look for the error message in stderr output only. |
I'd rather not have yet another module just for |
TVersionRange* = object | ||
case kind*: TVersionRangeEnum | ||
VersionRangeRef* = ref VersionRange | ||
VersionRange* = object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't make the non-ref type accessible as it is not used anywhere from what I can see and remember. So we should just have a VersionRange
.
Just some small things. Good job overall! |
Conflicts: src/nimble.nim
Thanks for your comments. Sorry for the lack of descriptive comments in the push - I'm still a bit new to git and ended up including code updates with the merge from upstream. Here is a summary:
I understand your concern about
The compiler error message is: I also found that I could break the compile of I suspect that you will probably find the same thing with the current Perhaps this is just a corner case, but I'm a bit fussy that way. I created |
That's fine. Thank you! |
Update to nim 0.10.2 coding convention
My first open source contribution - basically a bit of nimfix-type housekeeping intended to free your time for more important stuff:
Hope it suits.