March 08, 2011 [Issue 5716] New: Problem with sorting tuples | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5716 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 AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 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)]; sort(array); } But with DMD 2.052 it gives: object.Exception@src\rt\arraycat.d(40): overlapping array copy -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 08, 2011 [Issue 5716] Problem with sorting tuples | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5716 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kennytm@gmail.com Resolution| |DUPLICATE --- Comment #1 from kennytm@gmail.com 2011-03-08 04:22:41 PST --- *** This issue has been marked as a duplicate of issue 5705 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation