fix #244 - Wrong indentation for bool enums
This commit is contained in:
parent
5e6dd58502
commit
e62dfa5cee
|
@ -1759,6 +1759,8 @@ const pure @safe @nogc:
|
||||||
case tok!"stringLiteral":
|
case tok!"stringLiteral":
|
||||||
case tok!"wstringLiteral":
|
case tok!"wstringLiteral":
|
||||||
case tok!"dstringLiteral":
|
case tok!"dstringLiteral":
|
||||||
|
case tok!"true":
|
||||||
|
case tok!"false":
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
enum Status : bool
|
||||||
|
{
|
||||||
|
abort = true,
|
||||||
|
ignore = false
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
enum Status : bool { abort = true, ignore = false }
|
|
@ -0,0 +1,4 @@
|
||||||
|
enum Status : bool {
|
||||||
|
abort = true,
|
||||||
|
ignore = false
|
||||||
|
}
|
Loading…
Reference in New Issue