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

           Summary: __traits(compiles) does not work with a template that
                    fails to compile
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: kenn...@gmail.com


--- Comment #0 from kenn...@gmail.com 2012-02-26 02:56:16 PST ---
Test case:

-------------------------------------------
struct T7589()
{
    void n;
}
static assert(!__traits(compiles, T7589!()));
-------------------------------------------

The regression is introduced in
https://github.com/9rnsr/dmd/commit/b1031a06fab8cd9848f17e63cda0fd760db82afa
for fixing bug 4269.

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

Reply via email to