Summary: Tuple [] operator in pure function
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from 2011-07-08 17:43:18 PDT ---
With DMD 2.054beta this program:

import std.typecons;
void main() pure {
    int x = tuple(0)[0];

temp.d(3): Error: no [] operator overload for type Tuple!(int)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to