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: -------