-
-
Notifications
You must be signed in to change notification settings - Fork 411
Conversation
|
Thanks for your pull request and interest in making D better, @edi33416! 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 "master + druntime#2513" |
|
Changlog entry... |
|
It doesn't help to print the deprecation when compiling druntime, it must be printed when the option is used, i.e. here: https://github.com/dlang/druntime/pull/2513/files#diff-50840eb79e3292d148af41006e3af980R51 |
|
I think this message will be printed while druntime is built, i.e. it is not client-visible at all. Its helpfulness is limited. A better way to go about this is to detect the situation when user code is attempting to set that variable to |
|
@rainers saw yours after I typed in mine... |
dcedabc to
e543181
Compare
rainers
left a comment
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.
Message still printed at the wrong time (when compiling druntime rather than when it is used).
But how does one print a deprecation warning at runtime? |
Yes. |
|
#2743 was merged so I believe this can now be closed. |
|
Please reopen if this is still required. |
Please see #2509 for related discussion.