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

Dukc via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 30 13:29:26 PDT 2017


On Thursday, 30 March 2017 at 17:22:20 UTC, Stefan Koch wrote:
> SDC has the goal to be more principled.
> And Not to be Mr. fast and loose, right ?
> If a file parses it'd better be syntactically correct!
> All of it.

Just an idea, but could the solution for SDC be to enable 
unittests by default, disabling them would be explicit? That 
would sure make using it alot more principled that dmd, 
regardless whether it syntax checks unittests when they are 
disabled.




More information about the Digitalmars-d mailing list