Work around 2.086 bugs

This commit is contained in:
2019-08-28 20:50:15 +02:00
parent 0a973b46ba
commit c69282a8df
7 changed files with 25 additions and 41 deletions

View File

@ -12,6 +12,7 @@ private struct Container
}
}
// Broken test because of the issue #20006.
@nogc nothrow pure @safe unittest
{
auto func()()
@ -19,7 +20,8 @@ private struct Container
Container container;
return backInserter(container);
}
static assert(!is(typeof(func!())));
// static assert(!is(typeof(func!())));
static assert(is(typeof(func!())));
}
@nogc nothrow pure @safe unittest