[Issue 7645] New: Internal error: e2ir.c 688
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 4 11:12:43 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7645
Summary: Internal error: e2ir.c 688
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: mrmocool at gmx.de
--- Comment #0 from Trass3r <mrmocool at gmx.de> 2012-03-04 20:12:39 CET ---
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"
"FROM contacts c"
"WHERE c.country = 'US'"
"AND c.sales > 10000;";
auto entity = query.e;
//foreach(entity; query)
//{
auto email_addy = entity.fld!(char,"email")();
}
$ dmd test.d
entity.(fld)
Internal error: e2ir.c 688
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list