Skip to content

Commit

Permalink
std.meta: Fix wrong assert for Issue #20863
Browse files Browse the repository at this point in the history
Depends on dlang/dmd#11320
  • Loading branch information
ntrel committed Jun 25, 2020
1 parent 549fa5c commit 68ab740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/meta.d
Expand Up @@ -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;
Expand Down

0 comments on commit 68ab740

Please sign in to comment.