Is it acceptable to not parse unittest blocks when unittests are disabled ?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 31 07:05:31 PDT 2017
On Thursday, 30 March 2017 at 20:29:26 UTC, Dukc wrote:
> 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.
SDC uses an utility called sdunit to JIT the unittest. Right now,
sdunit doesn't handle exceptions so its utility is limited, but
it's getting there.
More information about the Digitalmars-d
mailing list