https://issues.dlang.org/show_bug.cgi?id=13595
--- Comment #9 from bearophile_h...@eml.cc --- (In reply to hsteoh from comment #8) > It looks like a compiler bug, in both cases the type returned by > schwartzSort is exactly the same, but somehow the compiler treats it > differently. Yes, it looks like a compiler bug worth a new different bug report. But so far it looks not easy to pinpoint. later I'll open a new bug report and I'll try to reduce the problem a little. --