Skip to content

Remove two uses of fully qualified names that rely on a DMD bug#50

Merged
CyberShadow merged 1 commit intoCyberShadow:masterfrom
BorisCarvajal:fix21651_changes
Apr 2, 2021
Merged

Remove two uses of fully qualified names that rely on a DMD bug#50
CyberShadow merged 1 commit intoCyberShadow:masterfrom
BorisCarvajal:fix21651_changes

Conversation

@BorisCarvajal
Copy link
Contributor

These fully-qualified names are not really exposed in the current scope but are accessible due to bug dlang/dmd#12215.


import ae.net.ietf.wrap;

alias ae.utils.text.ascii.ascii ascii; // https://d.puremagic.com/issues/show_bug.cgi?id=12156
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be an error but I didn't fix it because the alias seems no longer needed, ascii is already available given the import ae.utils.text; a little above.
I'm not sure if that is going to break building with a very old compiler.

@CyberShadow
Copy link
Owner

Something doesn't seem right, replied in the DMD PR: dlang/dmd#12215 (comment)

@BorisCarvajal
Copy link
Contributor Author

The pull was merged and deprecation should be there.

@CyberShadow CyberShadow merged commit c2d5e5e into CyberShadow:master Apr 2, 2021
@CyberShadow
Copy link
Owner

Yep, looks good, thanks!

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.

2 participants