From af629b153b1eb93f201c6ef48dc5006b0e32882e Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 25 Jun 2020 16:31:52 +0100 Subject: [PATCH] std.meta: Comment out (fix) wrong assert for Issue #20863 Necessary for https://github.com/dlang/dmd/pull/11320 --- std/meta.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/meta.d b/std/meta.d index ac6af85279f..48e7b9b5681 100644 --- a/std/meta.d +++ b/std/meta.d @@ -261,7 +261,7 @@ if (!isAggregateType!T || is(Unqual!T == T)) @safe unittest { static struct Foo {} - static assert(is(OldAlias!(const(Foo)) == Foo)); + //static assert(is(OldAlias!(const(Foo)) == const Foo)); static assert(is(OldAlias!(const(int)) == const(int))); static assert(OldAlias!123 == 123); enum abc = 123;