Compile with -w:
```
unittest {
struct X {
long y;
alias y this;
}
X x;
x -= 1.0; //No warning
x.y -= 1.0; //Warning
}
```
Only one warning is triggered, when two should be.
Comment #1 by razvan.nitu1305 — 2023-04-18T10:55:41Z
I get no warning whatsoever.
Comment #2 by razvan.nitu1305 — 2023-04-18T10:56:44Z
Ah, forgot to add -unittest. Sorry, I can still reproduce this.
Comment #3 by robert.schadek — 2024-12-13T19:05:23Z