← Back to index
|
Original Bugzilla link
Bug 9688 – `__traits(compiles, a.b)` fails on UFCS and property
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-10T23:46:00Z
Last change time
2013-07-11T19:55:59Z
Keywords
rejects-valid
Assigned to
nobody
Creator
verylonglogin.reg
Comments
Comment #0
by verylonglogin.reg — 2013-03-10T23:46:36Z
--- @property int f(Object o) { return 0; } void main() { Object o; o.f; // ok static assert(is(typeof(o.f))); // ok static assert(__traits(compiles, o.f)); // fails } ---
Comment #1
by k.hara.pg — 2013-07-11T19:55:59Z
*** This issue has been marked as a duplicate of issue 10609 ***