Skip to content
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

Deprecation: alias this for classes/interfaces is deprecated #2

Closed
GrimMaple opened this issue May 18, 2023 · 6 comments
Closed

Deprecation: alias this for classes/interfaces is deprecated #2

GrimMaple opened this issue May 18, 2023 · 6 comments

Comments

@GrimMaple
Copy link

In DMD 2.103.1 there's a deprecation warning:

C:\Users\grimm\AppData\Local\dub\packages\icontheme-1.2.3\icontheme\source\icontheme\file.d(547,5): Deprecation: alias this for classes/interfaces is deprecated
@FreeSlave
Copy link
Owner

FreeSlave commented May 19, 2023

Honestly I don't know how to fix it without breaking/revamping the code.
The solution proposed in the dmd changelog didn't work for me.
It also looks wrong and insufficient at all.

@GrimMaple
Copy link
Author

As much as I hate the idea of breaking code, there doesn't seem to be any reasonable solution beside breaking the code and bumping the version number.
This has to be done eventually anyway now.

@GrimMaple
Copy link
Author

Walter said he might "undeprecate" alias this. But I don't know if he will.

@FreeSlave
Copy link
Owner

Can you give a link to discussion?

@GrimMaple
Copy link
Author

Can you give a link to discussion?

https://forum.dlang.org/post/u4banl$e4g$1@digitalmars.com

@GrimMaple
Copy link
Author

Apparently, alias this was indeed undeprecated dlang/dmd#15326

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

No branches or pull requests

2 participants