dlang-community / dfmt

Dfmt is a formatter for D source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`debug:` declaration should be formatted like `public:` etc.

jaens opened this issue · comments

commented

When formatting a debug: declaration (see the D spec), dfmt currently seems to format it like a binary operator eg.

debug : const a = 1;

instead of the more appropriate

debug:
const a = 1;

This will require a bug to be fixed in libdparse.