Thread overview | |||||
---|---|---|---|---|---|
|
June 02, 2011 [Issue 6093] New: 'overlapping array copy' with sort of tuple array | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6093 Summary: 'overlapping array copy' with sort of tuple array Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: druntime AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2011-06-02 14:55:08 PDT --- This D2 program: import std.typecons, std.random, std.algorithm; void main() { alias Tuple!(int) T; T[8] array = [T(0),T(1),T(2),T(3),T(4),T(5),T(6),T(7)]; sort(array[]); randomShuffle(array[]); } Gives me (DMD 2.053): object.Exception@src\rt\arraycat.d(40): overlapping array copy But I think this code is correct. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 02, 2011 [Issue 6093] 'overlapping array copy' with sort of tuple array | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6093 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kennytm@gmail.com Resolution| |DUPLICATE --- Comment #1 from kennytm@gmail.com 2011-06-02 15:40:53 PDT --- *** 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: ------- |
June 02, 2011 [Issue 6093] 'overlapping array copy' with sort of tuple array | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6093 --- Comment #2 from bearophile_hugs@eml.cc 2011-06-02 16:26:17 PDT --- (In reply to comment #1) > *** This issue has been marked as a duplicate of issue 5705 *** Thank you. -- 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