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

           Summary: UFCS doesn't work for static member functions
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-01-14 
12:07:54 PST ---
module test;

struct Foo
{
    static void func(string x) { }
    void foo() { "".func(); }
}

void main() { }

test.d(6): Error: undefined identifier module test.func

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

Reply via email to