diff options
| author | Eugen Wissner <belka@caraus.de> | 2019-08-28 20:50:15 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2019-08-28 20:50:15 +0200 |
| commit | c69282a8dfac4e0abfa544cbf13bad8819e2487c (patch) | |
| tree | 0b79dc4882ae6e5289482f0112289f087e1ffbe5 /tests | |
| parent | 0a973b46ba399e238324620a6a0b117ec5e510b3 (diff) | |
| download | tanya-c69282a8dfac4e0abfa544cbf13bad8819e2487c.tar.gz | |
Work around 2.086 bugs
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tanya/range/tests/adapter.d | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tanya/range/tests/adapter.d b/tests/tanya/range/tests/adapter.d index ec231ed..4ebffab 100644 --- a/tests/tanya/range/tests/adapter.d +++ b/tests/tanya/range/tests/adapter.d @@ -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 |
