Conversation
|
Err, the import is clearly missing, but how do I reproduce this compiler error? The file builds fine with all D versions I tried. |
|
Oh sorry, I missed the first line in the PR description. |
|
@wilzbach Wait, this still isn't right. I get the error with |
|
Are you building with dub? Could it be that dub is masking the deprecation warning? |
|
No, that's not the case. |
|
I'd like to fix this issue. Would you be willing to provide me a procedure I can follow to reproduce it? |
|
Sure. With DMD 2.081.1: $ git clone https://github.com/CyberShadow/ae
$ dmd -o- -dw ae/sys/d/manager.d # no warning/error
$ dmd -o- -de ae/sys/d/manager.d # errors! |
|
Reduce test case and issue at https://issues.dlang.org/show_bug.cgi?id=19107 |
|
Thanks! |
|
I'll merge this now as the Bugzilla issue can now be used to track this problem. |
|
Thanks! |
|
I can, but why? |
So this will pass: https://ci.dlang.io/blue/organizations/jenkins/dlang-org%2Fdmd/detail/PR-8443/4/pipeline |
|
There needs to be at least one release for which all cases show a deprecation message, which means that dlang/dmd#8443 can only be released no earlier than as part of 2.083. Right? |
|
My sources tell me that it's been deprecated for more than 2 years, but I'm not sure I understand. Which deprecation message is not being displayed? Issue 19107 was only logged, not fixed. |
The one described by issue 19107.
Right, so 19107 will need to be fixed, then a major release to occur including the fix, and only then can PR 8443 be merged. Unless, of course, we decide that this case is not worth delaying 8443, and the benefit of releasing 8443 earlier outweighs the risk of silently breaking other code as in the case of issue 19107. But I understand the current consensus is that this is not desirable. |
|
dlang/dmd#8519 has been merged, is it now possible to tag a release? Edit: Or I guess we have to wait until after the next DMD release :/ |
|
Latest release tagged 3rd Oct. |
Required for dlang/dmd#7241
It would be great if you could tag a new release afterwards, s.t. the Project Tester
can catch up.