mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
Fix #85
This commit is contained in:
parent
ff6a8281fe
commit
b256213b8e
3 changed files with 3 additions and 1 deletions
|
@ -278,7 +278,7 @@ private:
|
|||
else if (currentIs(tok!"return"))
|
||||
{
|
||||
writeToken();
|
||||
if (!currentIs(tok!";"))
|
||||
if (!currentIs(tok!";") && !currentIs(tok!")"))
|
||||
write(" ");
|
||||
}
|
||||
else if (currentIs(tok!"switch"))
|
||||
|
|
1
tests/issue0085.d
Normal file
1
tests/issue0085.d
Normal file
|
@ -0,0 +1 @@
|
|||
alias T = typeof(return);
|
1
tests/issue0085.d.ref
Normal file
1
tests/issue0085.d.ref
Normal file
|
@ -0,0 +1 @@
|
|||
alias T = typeof(return);
|
Loading…
Add table
Add a link
Reference in a new issue