dfmt icon indicating copy to clipboard operation
dfmt copied to clipboard

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

Open jaens opened this issue 3 years ago • 1 comments

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;

jaens avatar Aug 09 '20 20:08 jaens

This will require a bug to be fixed in libdparse.

Hackerpilot avatar Aug 11 '20 21:08 Hackerpilot