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


David Simcha <dsim...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsim...@yahoo.com


--- Comment #1 from David Simcha <dsim...@yahoo.com> 2011-08-30 07:38:34 PDT ---
What should be the semantics if there's **only** a static method and no
nonstatic method, i.e.:

class Widget {
    static int fun() { return 2; }
}

void main() {
    // Does this print 2 or not compile?
    writeln((new Widget).fun()); 
}

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

Reply via email to