Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions std/typecons.d
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ if (distinctFieldNames!(Specs))
}

///
static if (Specs.length == 0) @safe unittest
static if (Specs.length == 0) @system unittest
{
//replace names by their position

Expand All @@ -1166,7 +1166,7 @@ if (distinctFieldNames!(Specs))
assert(t2Named.c == 3);
}

static if (Specs.length == 0) @safe unittest
static if (Specs.length == 0) @system unittest
{
//check that empty translations work fine
enum string[string] a0 = null;
Expand Down