[Issue 7645] Internal error: e2ir.c 688

2012-03-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7645


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-03-04 
11:18:57 PST ---
Slightly more reduced:

class Query(string queryText)
{
class Entity
{
void[] buf;

class fld(T, string varName)
{
T opCall()
{
return cast(T)buf;
}
}
}
Entity e;
}

void main()
{
scope query = new Query!SELECT ONLY_NEEDED_COLUMNS;
auto entity = query.e;
auto email_addy = entity.fld!(char, email)();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7645] Internal error: e2ir.c 688

2012-03-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7645



--- Comment #2 from Trass3r mrmoc...@gmx.de 2012-03-04 22:36:23 CET ---
And more:

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

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---