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
Remove dead code and deprecated syntax #5092
Conversation
Feel free to toggle auto-merge on as soon as the tester has caught up to this. |
Thanks, will do. |
Auto-merge toggled on |
Remove dead code and deprecated syntax
This PR introduced a regression: |
Just from looking at the diff, I suspect it's caused by the change in dtemplate.d. |
@@ -1688,7 +1688,7 @@ public: | |||
default: | |||
goto Lnomatch; | |||
} | |||
++argi; | |||
assert(0); |
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.
this change looks suspicious
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.
If it's wrong then there's a compiler bug in dead code detection.
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.
The easiest way to find out what caused the regression is to back all these changes out, then add them one by one until the regression happens.
This PR looks good (and reverting it doesn't fix the issue). |
No description provided.