File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1178,7 +1178,7 @@ class Formatter(Sink)
1178
1178
if (member.comment.length)
1179
1179
{
1180
1180
space();
1181
- put (member.comment);
1181
+ putComment (member.comment);
1182
1182
}
1183
1183
}
1184
1184
endBlock();
@@ -1497,6 +1497,7 @@ class Formatter(Sink)
1497
1497
with (functionBody)
1498
1498
{
1499
1499
if (specifiedFunctionBody) format(specifiedFunctionBody);
1500
+ if (shortenedFunctionBody) format(shortenedFunctionBody);
1500
1501
if (missingFunctionBody) format(missingFunctionBody);
1501
1502
}
1502
1503
}
@@ -4000,7 +4001,7 @@ protected:
4000
4001
{
4001
4002
import std.string : splitLines;
4002
4003
if (! c.length) return ;
4003
- put(c.splitLines().join(" \n " ~ getIndent()));
4004
+ put(c.splitLines().map ! ((x) => " /// " ~ x). join(" \n " ~ getIndent()));
4004
4005
newlineIndent();
4005
4006
}
4006
4007
You can’t perform that action at this time.
0 commit comments