Stacktraces in static constructors
Nordlöw via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri May 6 18:56:31 PDT 2016
On Tuesday, 3 May 2016 at 10:48:51 UTC, Nordlöw wrote:
> This is a big problem for me because, in my application, I've
> realized unittests as functions called from within static
> shared module constructors to elide the problem of unittests
> being enabled recursively, which slows down iterative
> compilation time enormously.
Doh, correction. I hade made the wrong assumption about separate
compilation of unittests. It *only* instantiates unittests in the
module I compile and *not* in the unittests contained in the
imported modules.
Sorry for disturbance,
Per
More information about the Digitalmars-d-learn
mailing list