Is it acceptable to not parse unittest blocks when unittests are disabled ?

Patrick Schluter via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 1 02:30:20 PDT 2017


On Saturday, 1 April 2017 at 09:20:06 UTC, Walter Bright wrote:
> On 4/1/2017 12:39 AM, Stefan Koch wrote:
>> This should be optional and controlled via a switch like 
>> --fast-parse ?
>
> Too many switches are a disease, and we already have an awful 
> lot.
>
> The non-parsing of unittests have been there for quite a while 
> now, and have not caused any trouble. I see that as good 
> evidence we're on a good path with this.

Indeed. There's no need for such a switch as there is already one 
-unittest.


More information about the Digitalmars-d mailing list