On 30/11/2026 8:16 AM, Forum User wrote:
Maybe I misunderstood the question: Isn't DLearner asking for a missed opportunity to flag a potential programmer's mistake and not one of a memory allocation inefficiency?
```d
void foo(bool bar) {
static if (something)
if (bar)
thing();
}
```
That isn't the right idea.
