[stable] Fix silly dmd.parse regression#9212
Conversation
|
Thanks for your pull request and interest in making D better, @kinke! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "stable + dmd#9212" |
|
Since this was a regression, and there have been many involving incorrect conversions of for loops to foreach, can you supply a test case to ensure it doesn't happen again? |
|
Existing testcase slightly extended to cover both line endings, independent from used autocrlf git setting. |
Sorry; introduced in #9119.