Bug 19581 – allMembers of module does not include named imports

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-01-14T08:02:47Z
Last change time
2024-12-13T19:01:57Z
Assigned to
No Owner
Creator
FeepingCreature
Moved to GitHub: dmd#17892 →

Comments

Comment #0 by default_357-line — 2019-01-14T08:02:47Z
Repro: module test; import std.string : format; pragma(msg, __traits(allMembers, test).stringof); Output: tuple("object") Expected: tuple("object", "format"). Alternately, *some* way to detect imported modules and their symbols is necessary. Of course, right now there's no reliable compiletime way to determine imports at all.
Comment #1 by robert.schadek — 2024-12-13T19:01:57Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17892 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB