As of about 2 minutes ago, D-Scanner can help with this.

---
struct A {
        int opCmp() const;
}
---

$ ./dscanner --styleCheck ~/tmp/test.d
test.d(1:8)[warn]: 'A' has method 'opCmp', but not 'opEquals'.

Reply via email to