https://issues.dlang.org/show_bug.cgi?id=14589

          Issue ID: 14589
           Summary: Wrongly signalling deprecation
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: [email protected]
          Reporter: [email protected]

class C{
  auto opUnary( string op)() {
    return this;
  }
}

class D:C{
  auto opUnary( string op)(){
    return super--;
  }
}
void main(){
  auto var= new D;
  var--;
}

--

Reply via email to