debug = x overrides command line
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 22 14:10:02 PDT 2014
On 10/22/2014 1:28 PM, Jonathan M Davis wrote:
> I can understand that, but it does seem a bit risky in this case. The suggestion
> of creating a warning for it seems like a good one, since it allows you to debug
> like that but needles you to not leave it that way.
I don't want deliberately written debug code to produce needling warnings. The
Boy Who Cried Wolf comes to mind. The feature provides for a valid use case, one
that is pretty hard to do any other way.
Such warnings should go into a separate linting tool.
More information about the Digitalmars-d
mailing list