dlang-community / dfmt

Dfmt is a formatter for D source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid indentiation in code using struct brace initialization

helikopterodaktyl opened this issue · comments

Tested with dfmt 0.13.2. Look at attached file which is both a repro case and example of incorrect formatting. Pay attention especially to the indentation of "createPipelineLayout" function.

repro.txt

I was unable to reduce my code further, because reducing code further seems to be resolving the issue.