We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d0281f + f8fbd29 commit 6947d80Copy full SHA for 6947d80
std/bitmanip.d
@@ -107,7 +107,8 @@ private template createAccessors(
107
108
static if (is(T == bool))
109
{
110
- static assert(len == 1);
+ static assert(len == 1, "`" ~ name ~
111
+ "` definition problem: type `bool` is only allowed for single-bit fields");
112
enum result =
113
// getter
114
"@property bool " ~ name ~ "() @safe pure nothrow @nogc const { return "
0 commit comments