The following program doesn't warn about the deprecation as it should.
---
struct Bug {
deprecated void report_() {}
void opDispatch(string name)() { mixin(name, "_();"); }
}
void main() {
Bug().report();
}
Comment #1 by robert.schadek — 2024-12-13T19:27:53Z