Named unittests and __traits(getModules)

Atila Neves atila.neves at gmail.com
Fri May 24 10:25:55 UTC 2019


On Thursday, 23 May 2019 at 20:42:29 UTC, Andre Pany wrote:
> On Thursday, 23 May 2019 at 18:01:32 UTC, Jacob Carlborg wrote:
>> [...]
>
> One thing I do not understand. Once module A, which contains 
> the new traits, is compiled using separate compilation, the 
> list of found modules is fixed. If now new module B is added, 
> nothing will cause a rebuild of A and therefore the list of 
> found modules is incomplete.
>
> This can of course be solved by telling the user to not use 
> separate compilation, which might be a fair tradeoff, I am not 
> sure.

Not being able to use separate compilation is a non-starter.


More information about the Digitalmars-d mailing list