http://d.puremagic.com/issues/show_bug.cgi?id=2454
Summary: tupleof(member) is incorrectly evaluated inside foreach over members-tuple Product: D Version: 2.020 Platform: PC OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] struct B { float i; double j; int k; void test() { foreach (m; this.tupleof) { writefln(typeof(m).stringof); } } } void main() { B b; b.test(); } --