digitalmars.D.bugs - [Issue 6294] New: Function overrides not checking for property
- d-bugmail puremagic.com (28/28) Jul 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6294
http://d.puremagic.com/issues/show_bug.cgi?id=6294 Summary: Function overrides not checking for property Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: michel.fortin michelf.com --- Comment #0 from Michel Fortin <michel.fortin michelf.com> 2011-07-12 08:15:14 EDT --- When you override a function, the compiler should issue an error if there is a mismatch about property. class A { int foo(); property int bar(); } class B : A { property override int foo(); override int bar(); } The code above emits no error, but both overrides have a mismatch with their overriden counterpart regarding property. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 12 2011