Replies: 2 comments 19 replies
-
I agree with this, and we should also approve this DIP: https://forum.dlang.org/thread/[email protected] Approving this DIP obsoletes this whole concept and we can just never port this to Phobos 3. |
Beta Was this translation helpful? Give feedback.
11 replies
-
If it's about the tooling, then I think the tooling should be improved. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Both string mixins and mixin templates should not be allowed to introduce symbols.
A good example of why this should be the case:
Tooling cannot see the symbols
x
,y
,z
, orflag
.We should not be recommending this for a user experience.
EDIT: To clarify to introduce means to create new symbols that do not already exist but may not be implemented.
This is allowed because method is introduced by the interface, but the class string mixin implements it. Tooling can still see the method. Just not its implementation.
Beta Was this translation helpful? Give feedback.
All reactions