[Issue 19590] __traits allMembers should put fully qualified names for imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 2 14:14:41 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=19590

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |schveiguy at yahoo.com
         Resolution|FIXED                       |---

--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Fix was reverted.

I've reopened for now. But I strongly believe you shouldn't see imports at all
in the __traits(allMembers) result. Perhaps if they are renamed imports,
because now you have a local alias for it.

Is there a use case to being able to get the imports? If so, perhaps a new
__traits is needed.

--


More information about the Digitalmars-d-bugs mailing list