https://d.puremagic.com/issues/show_bug.cgi?id=12093
Andrej Mitrovic <andrej.mitrov...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2014-02-07 01:15:08 PST --- Reduced: ----- struct S(T...) { T x; alias x this; } void main() { S!(int) s; auto x = s[0]; auto x = s[1]; // Error: no [] operator overload for type S!int } ----- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------