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

           Summary: __traits(isStaticFunction) fails for function in
                    supertype
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: samu...@voliacable.com


--- Comment #0 from Max Samukha <samu...@voliacable.com> 2012-04-05 04:28:01 
PDT ---
Related to http://d.puremagic.com/issues/show_bug.cgi?id=7828

struct S
{
    static void foo() {};
}

struct S2
{
    S s;
    alias s this;
}

static assert(__traits(isStaticFunction, S2.foo));
----
Error: static assert  (__traits(isStaticFunction,s.foo)) is false

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

Reply via email to