mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
Fix #41
This commit is contained in:
parent
514ec6d32f
commit
6f153bd8a1
3 changed files with 8 additions and 1 deletions
|
@ -335,7 +335,8 @@ private:
|
|||
break;
|
||||
case tok!"is":
|
||||
writeToken();
|
||||
write(" ");
|
||||
if (!currentIs(tok!"("))
|
||||
write(" ");
|
||||
break;
|
||||
default:
|
||||
if (index + 1 < tokens.length)
|
||||
|
|
3
tests/issue0041.d
Normal file
3
tests/issue0041.d
Normal file
|
@ -0,0 +1,3 @@
|
|||
static if (is (typeof(T.init.apply(fp, null))))
|
||||
{
|
||||
}
|
3
tests/issue0041.d.ref
Normal file
3
tests/issue0041.d.ref
Normal file
|
@ -0,0 +1,3 @@
|
|||
static if (is(typeof(T.init.apply(fp, null))))
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue