Summary: Problem with sorting tuples
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from 2011-03-07 16:15:56 PST ---
Problem found by Andr´┐Ż Stein, then reduced. This D2 code used to work:

import std.typecons, std.algorithm;
alias Tuple!(uint) T;
void main() {
    auto array = [T(1), T(3), T(2)];

But with DMD 2.052 it gives:
object.Exception@src\rt\arraycat.d(40): overlapping array copy

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

Reply via email to