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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from [email protected] ---
it looks like it was not fully fixed, still with -debug:

---
import std.algorithm, std.container;

void main()
{
    static bool compare(P a, P b)
    {
        return a.curColumn < b.curColumn;
    }
    Array!P a = make!(Array!P);
    sort!compare(a[]);
}

struct P
{
    int curColumn = 0;
}
---

see http://forum.dlang.org/post/[email protected]

--

Reply via email to