-
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
Compiler options for nimble run
are not passed (again)
#923
Comments
bin
specified in package and command line, compiler options for nimble run
are not passednimble run
are not passed (again)
The patch for 752f88e solves the issue:
But I am not sure if it is good enough. |
We've got many tests for this, I guess this is argument ordering that we didn't consider (or maybe there is a reason it isn't allowed, judging by the comment in the code it seems likely, but maybe we should still allow it). Please create a PR and tests :) |
Yeah from comments in code it seems this is by intention ( In thread #889 it seems like you and konsumlamm reached a consensus and agreed that this should change, but konsumlamm did not change this in #896 (only the delimiter I will look at the tests later. |
Lines 780 to 807 in 752f88e
I think the two tests are not good enough? |
Feel free to add more tests. |
That looks good to me, it should be enough to fix the issue.
It was supposed to change, that was the whole point of my PR.
Ye, I didn't realize that |
Reproduction:
nimble-run-repro.zip
nimble --assertions:off run assert_fail
succeeds (which is expected), whilenimble run --assertions:off assert_fail
throws (which is not expected),i.e. #889 appears again.
Tested with nimble built with the latest commit (752f88e).
The text was updated successfully, but these errors were encountered: