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

           Summary: isStaticFunction trait evaluates to true for
                    non-static nested functions
           Product: D
           Version: 2.040
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: samu...@voliacable.com


--- Comment #0 from Max Samukha <samu...@voliacable.com> 2010-02-13 13:15:11 
PST ---
void main()
{
    void bar()
    {
    }

    static assert(!__traits(isStaticFunction, bar)); // fails
}

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

Reply via email to