DMD test suite not runnable on Debian/Linux

Seb via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 9 17:33:39 PDT 2017


On Saturday, 10 June 2017 at 00:16:13 UTC, H. S. Teoh wrote:
> On Sat, Jun 10, 2017 at 02:27:13AM +0300, ketmar via 
> Digitalmars-d wrote:
>> H. S. Teoh wrote:
>> 
>> > [...]
>> 
>> we can use UDAs to do that! just make the generator import the 
>> relevand dmd parts, and then use compile-time introspection to 
>> build tables, so generator can just write 'em to file in 
>> runtime. ;-)
>
> Sure!  But ... uhm... what has UDAs gotta do with that? A 
> straight
> `foreach (memb; __traits(allMembers, T))` should do the trick.
>
>
> T

Are you aware of this excellent PR?

https://github.com/dlang/dmd/pull/5082


More information about the Digitalmars-d mailing list