http://d.puremagic.com/issues/show_bug.cgi?id=7868


Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <[email protected]> 2012-04-08 
21:01:26 PDT ---
This line is the problem:

  static if (is(B!This)) {

B!This is not a type, and 'is' expressions expect a type. Hence, it is false.
Replacing it with:

  static if (__traits(compiles, B!This)) {

and the example works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to