[Issue 4735] class that implements interface can override a static method

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 15 08:21:57 PDT 2011


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies at gmail.com
         Resolution|                            |INVALID


--- Comment #1 from yebblies <yebblies at gmail.com> 2011-06-15 08:17:18 PDT ---
There is no error, as foo is _not_ overriding anything.  If you add the
override keyword it makes this very clear:
Error: function testx.C.foo does not override any function

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


More information about the Digitalmars-d-bugs mailing list