← Back to index
|
Original Bugzilla link
Bug 1917 – __traits(allMembers) does not return elements with specified protection
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-03-12T20:03:43Z
Last change time
2020-07-08T08:35:52Z
Assigned to
Walter Bright
Creator
Neia Neutuladh
Comments
Comment #0
by dhasenan — 2008-03-12T20:03:43Z
__traits(allMembers, Rect) returns [b getY print toString toHash opCmp opEquals] here: class Rect { private int a; int b; public int getX() { return 4; } int getY() { return 4; } } void main() { writefln(__traits(allMembers, Rect)); }
Comment #1
by dhasenan — 2008-11-16T08:08:50Z
I'm not able to reproduce this in dmd2.019 or ldc2, so I'm marking it as fixed.
Comment #2
by dhasenan — 2008-11-16T08:09:04Z
I'm not able to reproduce this in dmd2.019 or ldc2, so I'm marking it as fixed.
Comment #3
by dlang-bot — 2020-07-08T08:35:52Z
dlang/dub pull request #1967 "Fix issue 1917 - Add dub dustmite --no-redirect" was merged into master: - 1ed47b420e1d02326c527c6cd6b1b9343155f1f7 by MoonlightSentinel: Fix issue 1917 - Add dub dustmite --no-redirect
https://github.com/dlang/dub/pull/1967