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

           Summary: Methods are delegates, not functions.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: wfunct...@hotmail.com


--- Comment #0 from wfunct...@hotmail.com 2012-05-18 11:34:43 PDT ---
class Test
{
    public void foo() { }
}

static assert(is(typeof(&Test.foo) == void function()));

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

Reply via email to