digitalmars.D.bugs - [Issue 13269] New: Traits hasMember, getMember and compiles get
- via Digitalmars-d-bugs (26/26) Aug 07 2014 https://issues.dlang.org/show_bug.cgi?id=13269
https://issues.dlang.org/show_bug.cgi?id=13269 Issue ID: 13269 Summary: Traits hasMember, getMember and compiles get buggy with opDispatch Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: major Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: czdanol gmail.com Hey, this code returns true: class Test { void opDispatch( string s, Args ... )( auto ref Args args ) if( false ) { } } pragma( msg, __traits( hasMember, Test, "WHATEVEVER_DUDE" ) ); Also, stuff like traits compiles and getMember (but that only in compiles) behave the same. --
Aug 07 2014