https://issues.dlang.org/show_bug.cgi?id=22028
--- Comment #1 from Iain Buclaw <[email protected]> --- Checking whether this affects bit-fields, the parser finds the syntax confusing enough to emit an error (errors are emitted after WIP modifications to accept bit-field syntax in cparseDeclaration) --- struct S { int bf1 : 4 = 5; // Error: cannot modify constant `4` int : 4 = 5; // Error: cannot modify constant `4` int bf2 = 5 : 4; // Error: `=`, `;` or `,` expected (at position `:`) int = 5 : 4; // Error: `=`, `;` or `,` expected (at position `=` ???) }; --
