Summary: Function overrides not checking for @property
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Michel Fortin <> 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:
------- You are receiving this mail because: -------

Reply via email to