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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Don <clugd...@yahoo.com.au>  2009-08-31 07:57:51 PDT ---
Fixed DMD2.030 and 1.045.
This works now.
Test case was wrong, though, should have been:
--
template Templ(T) {
   const char[] x = (Type).stringof;
   alias T Type;
}

void main() {
    static assert(Templ!(int).x =="int");
}

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

Reply via email to