We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3917c32 commit 6ad2fbbCopy full SHA for 6ad2fbb
src/dfmt/formatter.d
@@ -1444,7 +1444,6 @@ private:
1444
&& !assumeSorted(astInformation.funLitEndLocations).equalRange(
1445
tokens[index].index).empty)
1446
{
1447
- write(" ");
1448
return;
1449
}
1450
tests/allman/issue0287.d.ref
@@ -0,0 +1,3 @@
1
+alias foo = typeof({ import std.math; });
2
+alias bar = typeof({ write("aaa"); });
3
+alias baz = typeof({ });
tests/issue0287.d
+alias foo = typeof({import std.math;});
+alias bar = typeof({write("aaa");});
+alias baz = typeof({});
tests/otbs/issue0287.d.ref
0 commit comments