phobos/std/algorithm
Atila Neves 85aede0639 Remove version(assert) from TimSort
If `-debug` is passed to the compiler, `version(assert)` is true.
TimSort has a `version(assert)` that checks some invariants, and uses
std.format.format for better error messages. Unfortunately, since it
is templated code, this results in Phobos template instantiations of
`format` in the user's code when `-debug` is used.

Given that default dub builds use `-debug`, this is a very common
problem.

Instead of removing the invariant checks, this changes it so they only
happen when testing Phobos itself.
2020-04-09 19:06:35 +02:00
..
comparison.d Replace .staticArray with explicit declarations 2020-03-19 16:18:53 +01:00
internal.d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
iteration.d std.algorithm.iteration: Fix typo. 2020-03-14 19:13:45 +01:00
mutation.d Merge remote-tracking branch 'upstream/stable' into merge_stable 2019-08-05 08:51:49 +02:00
package.d Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
searching.d Fix Issue 11013 - ignoring variable inside the predicate of findSplitBefore 2019-11-14 17:32:08 +01:00
setops.d Fix Issue 10902 - some phobos unittests take an excessive amount of time 2019-11-12 20:21:03 +01:00
sorting.d Remove version(assert) from TimSort 2020-04-09 19:06:35 +02:00