Skip to content

Comments

Fix imports#33

Merged
CyberShadow merged 1 commit intoCyberShadow:masterfrom
wilzbach:fix-imports
Jul 22, 2018
Merged

Fix imports#33
CyberShadow merged 1 commit intoCyberShadow:masterfrom
wilzbach:fix-imports

Conversation

@wilzbach
Copy link
Contributor

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.

@CyberShadow
Copy link
Owner

Err, the import is clearly missing, but how do I reproduce this compiler error? The file builds fine with all D versions I tried.

@CyberShadow
Copy link
Owner

Oh sorry, I missed the first line in the PR description.

@CyberShadow
Copy link
Owner

@wilzbach Wait, this still isn't right. I get the error with -de, but I don't see it at all with -dw even with -w. What's going on? I think the DMD pull request needs work.

@JinShil
Copy link

JinShil commented Jul 21, 2018

Are you building with dub? Could it be that dub is masking the deprecation warning?

@CyberShadow
Copy link
Owner

No, that's not the case.

@JinShil
Copy link

JinShil commented Jul 21, 2018

I'd like to fix this issue. Would you be willing to provide me a procedure I can follow to reproduce it?

@CyberShadow
Copy link
Owner

CyberShadow commented Jul 21, 2018

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!

@JinShil
Copy link

JinShil commented Jul 22, 2018

Reduce test case and issue at https://issues.dlang.org/show_bug.cgi?id=19107

@CyberShadow
Copy link
Owner

Thanks!

@CyberShadow
Copy link
Owner

I'll merge this now as the Bugzilla issue can now be used to track this problem.

@CyberShadow CyberShadow merged commit aa5dae5 into CyberShadow:master Jul 22, 2018
@wilzbach
Copy link
Contributor Author

Thanks!
Could you also please tag a new release?

@wilzbach wilzbach deleted the fix-imports branch July 22, 2018 10:57
@CyberShadow
Copy link
Owner

I can, but why?

@JinShil
Copy link

JinShil commented Jul 25, 2018

@CyberShadow
Copy link
Owner

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?

@JinShil
Copy link

JinShil commented Jul 25, 2018

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.

@CyberShadow
Copy link
Owner

Which deprecation message is not being displayed?

The one described by issue 19107.

Issue 19107 was only logged, not fixed.

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.

@JinShil
Copy link

JinShil commented Aug 1, 2018

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 :/

@thewilsonator
Copy link

Latest release tagged 3rd Oct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants