Named unittests and __traits(getModules)

Andre Pany andre at s-e-a-p.de
Tue May 21 18:32:46 UTC 2019


On Tuesday, 21 May 2019 at 17:54:36 UTC, Johannes Pfau wrote:
> Am Sun, 19 May 2019 19:13:31 +0000 schrieb Andre Pany:
>
>> [...]
>
> Do you happen to have a link for that original post?
>
> @Andrei how exactly should something like this be implemented, 
> do you agree that mixin templates are the right tool for this 
> (e.g. as described here: 
> https://forum.dlang.org/post/qbr7dd$16fd$1@digitalmars.com)? If 
> so, I could write a DIP and the compiler implementation for 
> that. Of course the DIP would have to adress the details 
> (selective imports, public imports, ...), but I'd like to have 
> some feedback on the general idea* first.
>
> * annotate template mixin with import, then automatically add 
> mixin(template(thisModule))) in every importing module

Here the link
https://forum.dlang.org/post/q7l56r$bo6$1@digitalmars.com

Kind regards
Andre


More information about the Digitalmars-d mailing list