From c69282a8dfac4e0abfa544cbf13bad8819e2487c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 28 Aug 2019 20:50:15 +0200 Subject: Work around 2.086 bugs --- tests/tanya/range/tests/adapter.d | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3