[Issue 19337] [Reg 2.082.0] Cannot call std.algorithm.sort twice

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 8 05:22:15 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19337

--- Comment #5 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/a8e9857756e1b1db5735c31c2085569c95a7d6e6
fix Issue 19337 - cannot call std.algorithm.sort twice

- introduced with #6535 which stripped nested SortedRange types
  in assumeSorted, thus causing a mismatch between the return type
  of sort (SortedRange!(SortedRange!R)) and assumeSorted SortedRange!R
- fix by stripping nested SortedRange types in the SortedRange!R
  template instantiation

https://github.com/dlang/phobos/commit/ef206af1a0ae841724a38682d1e0073e631d4b3d
Merge pull request #6748 from MartinNowak/fix19337

fix Issue 19337 - cannot call std.algorithm.sort twice

--


More information about the Digitalmars-d-bugs mailing list