Summary: Iterating tuple with index which explicitly typed as
                    size_t causes error
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kenji Hara <> 2011-11-25 01:33:33 PST ---
void f(A...)(A args)
    foreach (i, e; args){}        // OK
    foreach (uint i, e; args){}   // OK
    foreach (size_t i, e; args){} // NG
void main()
    f(1, 3.14);

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

Reply via email to