[Issue 3959] New: can't mixin result of templated static struct method

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 13 15:20:19 PST 2010


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

           Summary: can't mixin result of templated static struct method
           Product: D
           Version: 1.057
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir <thecybershadow at gmail.com> 2010-03-13 15:20:17 PST ---
struct S
{
    static string g()() { return ""; }
}

void f()
{
    mixin(S.g!()());
}

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


More information about the Digitalmars-d-bugs mailing list