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

           Summary: Template alias default parameters aren't resolved
                    properly
           Product: D
           Version: 2.022
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2009-09-08 13:25:06 PDT ---
This is the fourth bug reported in bug 3392.

struct dog(alias W = 0) 
{ }

dog!(S) foo(alias S)() {
    return dog!(S)();
}

dog!() test3307 = foo!(0)();

---
crash.d(5): Error: cannot implicitly convert expression (dog()) of type dog!(S
) to dog!()

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

Reply via email to