Add style checking

A lot of tests are disabled. They should be enabled successively.
This commit is contained in:
2017-07-14 00:05:13 +02:00
parent 657f4a60d5
commit e6b91f70cb
5 changed files with 89 additions and 5 deletions

View File

@ -1312,8 +1312,8 @@ struct DList(T)
private size_t makeList(R)(ref R el, out Entry* head, out Entry* tail) @trusted
out (retLength)
{
assert(retLength == 0 && head is null && tail is null
|| retLength > 0 && head !is null && tail !is null);
assert((retLength == 0 && head is null && tail is null)
|| (retLength > 0 && head !is null && tail !is null));
}
body
{