On Sunday, 17 August 2025 at 14:59:00 UTC, Brother Bill wrote:
Page 462 of book: Programming in D

This won't compile.  Is this obsolete?
```
app.d(8,8): Error: identifier expected inside `debug(...)`, not `1`
    debug(1) writeln("entered myFunction");
          ^

Yes, for rationale see:
https://dlang.org/changelog/2.101.0.html#dmd.deprecate_version_int

  • dmd debug(level)... Brother Bill via Digitalmars-d-learn
    • Re: dmd deb... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: dmd deb... Nick Treleaven via Digitalmars-d-learn

Reply via email to