[Issue 4441] TDPL Example on P401 & 402 doesn't compile on D2.047, 2.046, 2.045, 2.044. Seems to be a problem involves tuples and []

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 9 15:09:59 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4441



--- Comment #1 from gareth.tpc at gmail.com 2010-07-09 15:09:57 PDT ---
Possible minimal case:

import std.typecons;

void main() {
    Tuple!(int,int) x;
    int y=x[0];
}
thread_test.d(5): Error: no [] operator overload for type Tuple!(int,int)

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