mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-29 06:39:55 +03:00
Fix #30.
This commit is contained in:
parent
05c575f1e8
commit
fbdb908832
3 changed files with 11 additions and 1 deletions
|
@ -349,7 +349,11 @@ private:
|
||||||
write(" ");
|
write(" ");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
goto binary;
|
else if (assumeSorted(astInformation.unaryLocations).equalRange(current.index).empty)
|
||||||
|
goto binary;
|
||||||
|
else
|
||||||
|
writeToken();
|
||||||
|
break;
|
||||||
case tok!"~":
|
case tok!"~":
|
||||||
if (peekIs(tok!"this"))
|
if (peekIs(tok!"this"))
|
||||||
{
|
{
|
||||||
|
|
2
tests/issue0030.d
Normal file
2
tests/issue0030.d
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
unittest {
|
||||||
|
tolower( * p); }
|
4
tests/issue0030.d.ref
Normal file
4
tests/issue0030.d.ref
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
unittest
|
||||||
|
{
|
||||||
|
tolower(*p);
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue