How can one reliably run unittests
deadalnix
deadalnix at gmail.com
Fri Aug 27 10:30:58 UTC 2021
On Thursday, 26 August 2021 at 23:29:20 UTC, Dennis wrote:
> On Thursday, 26 August 2021 at 09:38:54 UTC, deadalnix wrote:
>> But having main declared twice is some special level of
>> nonsense. In what case could I possibly want two main?
>
> When there's both a main function and the `-main` flag, should
> `-main` do nothing or override the main function with an empty
> one?
This is the wrong question. When one runs the unittests, they
don't care about main. The existance of the main flag is dubious
to begin with.
More information about the Digitalmars-d
mailing list