On Thursday, 13 March 2025 at 13:40:28 UTC, Sergey wrote:
> You can use `if`
> ```d
> if (auto win = new Window) {
> ...
> }
> ```
Yes, we discussed this on IRC.
I see no benefit as it is the same as
```d
auto win = new Window();
with (win) {
...
}
, and using if there is really confusing.