Walter Bright <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Walter Bright <> 2012-04-20 
11:52:56 PDT ---
 // !!! getMember doesn't work here...
 HookupEngineFunction!( __traits( getMember, s, m ) )( pImports );

This is a similar issue. s here is a variable, and getMember is expecting a
type. Rewriting as:

 HookupEngineFunction!( __traits( getMember, typeof(s), m ) )( pImports );

gets past that. But then we're back to the previous issue, no 'this' pointer at
compile time.

This is not a compiler bug, either.

I suspect what you are doing is trying to do C++ "pointers to members". Perhaps
this will help:

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to