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
Issue 5481 - Support deprecated("message") #463
Conversation
This is a highly useful feature. I think we should merge it in and document it properly. |
If the code to handle |
@nazriel Does the autotester support that? I don't remember any other tests that check the output from dmd. |
@yebblies won't https://github.com/D-Programming-Language/dmd/blob/master/test/d_do_test.d#L178 work? Edit: Ups, @klickverbot was faster. And yea, that's exactly the PR I was looking for. |
Awesome, done. The duplicated error messages are caused by a different bug. |
Umm, auto tester bug or I am blind? Because I see no difference between expected and actual output (for example here http://d.puremagic.com/test-results/pull.ghtml?runid=316239) DOWN: so the latter. NOT good *grins |
Path separators |
LGTM |
This pull needs a quick rebase due to a conflict introduced by pulling in the other deprecation refactoring pull. |
Add an optional message to deprecated.
Done. |
@9rnsr @dawgfoto any final words? Can we merge it please? |
Issue 5481 - Support deprecated("message")
Merged! |
Thanks all! |
Great work everyone. This solves a known, long-standing issue to which we had no good solution. A solution has been proposed, implemented, and reviewed by the community and got approved by the BDFL. Congratulations to all involved! |
Add an optional message to deprecated.