-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
fix Issue 17814 - bad output of "static foreach" with -vcg-ast #7126
Conversation
|
Thanks for your pull request, @tgehr! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Some tips to help speed things up:
Bear in mind that large or tricky changes may require multiple rounds of review and revision. Please see CONTRIBUTING.md for more information. Bugzilla references
|
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.
LGTM. Can the travis failure be ignored? It seems it tried to build against master instead of stable.
|
@tgehr the output is not checked since |
|
@tgehr I do not agree with this fix though. The fact that it is worries me. |
|
@stefan-koch-sociomantic That's not related to |
|
ah, that's pretty bad. |
|
There's lots of red in the code - meaning it isn't tested. Are you using the browser plugin that shows which lines are executed by the test suite? |
|
@WalterBright: I usually just add tests that exercise all new functionality. My commit actually increases the total code coverage slightly (because |
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.
@WalterBright FWIW this even increases the overall project coverage...
|
@tgehr is it possible to execute the code without the |
|
@WalterBright: The bug report was about |
This implements PrettyPrintVisitor for StaticForeachDeclaration.
I'm not sure about the -vgc-ast test (I've just added new code). Is the output checked?