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.
  • Compiler doesn't... DLearner via Digitalmars-d-learn
    • Re: Compile... jmh530 via Digitalmars-d-learn
    • Re: Compile... Kapendev via Digitalmars-d-learn
      • Re: Com... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Com... Mindy Batek (0xEAB) via Digitalmars-d-learn
      • Re: Com... Forum User via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... Kapendev via Digitalmars-d-learn
        • Re:... Kapendev via Digitalmars-d-learn

Reply via email to