We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb1dfe0 commit 34810aaCopy full SHA for 34810aa
src/dfmt/formatter.d
@@ -1851,6 +1851,7 @@ private:
1851
immutable int startingNiBraceDepth = niBraceDepth;
1852
immutable int startingSBraceDepth = sBraceDepth;
1853
parenDepth = 0;
1854
+
1855
do
1856
{
1857
spaceAfterParens = spaceAfter;
@@ -1873,8 +1874,8 @@ private:
1873
1874
else
1875
formatStep();
1876
}
- // TODO: obviously getting stuck here?
1877
while (hasCurrent && parenDepth > 0);
1878
1879
if (indents.topIs(tok!"!"))
1880
indents.pop();
1881
parenDepth = depth;
0 commit comments