DustMite updated

Tove tove at fransson.se
Sun Mar 4 12:11:31 PST 2012


On Sunday, 4 March 2012 at 19:43:47 UTC, Chad J wrote:
> On 03/04/2012 02:12 PM, Trass3r wrote:
>>> Here's one for DMD 2.057. Knock yourself out ;)
>>>
>>> (As I mentioned in my other post, I can't build DustMite 
>>> right now, or
>>> I'd do it myself. But if you want one...)
>>>
>>> ----------------------------------------------
>>> chad at Hugin ~/dprojects/database $ dmd ice.d
>>> entity.(fld)
>>> Internal error: e2ir.c 683
>>> ----------------------------------------------
>>
>> Done in 280 tests and 20 secs and 934 ms;
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=7645
>
> Cool!

Quite impressive tool, it can be reduced even further though. :)

class Entity
{
   class fld()
   {
     char t;
   }
}

void main()
{
     Entity entity;
     auto email_addy = entity.fld!().t;
}


More information about the Digitalmars-d mailing list