mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-05-12 05:36:27 +03:00
parent
94351246f6
commit
eab4cac12f
5 changed files with 16 additions and 1 deletions
|
@ -1406,7 +1406,7 @@ private:
|
||||||
{
|
{
|
||||||
pushWrapIndent();
|
pushWrapIndent();
|
||||||
newline();
|
newline();
|
||||||
if (ufcsWrap)
|
if (ufcsWrap || onNextLine)
|
||||||
regenLineBreakHints(index);
|
regenLineBreakHints(index);
|
||||||
}
|
}
|
||||||
writeToken();
|
writeToken();
|
||||||
|
|
5
tests/allman/issue0486.d.ref
Normal file
5
tests/allman/issue0486.d.ref
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
auto someAutoVariableName = this.firstLink.secondLink
|
||||||
|
.filter!(shouldBeProbablySomeIdentifierOrNot);
|
||||||
|
}
|
1
tests/issue0486.args
Normal file
1
tests/issue0486.args
Normal file
|
@ -0,0 +1 @@
|
||||||
|
--keep_line_breaks=true
|
5
tests/issue0486.d
Normal file
5
tests/issue0486.d
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
auto someAutoVariableName = this.firstLink.secondLink
|
||||||
|
.filter!(shouldBeProbablySomeIdentifierOrNot);
|
||||||
|
}
|
4
tests/otbs/issue0486.d.ref
Normal file
4
tests/otbs/issue0486.d.ref
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
void main() {
|
||||||
|
auto someAutoVariableName = this.firstLink.secondLink
|
||||||
|
.filter!(shouldBeProbablySomeIdentifierOrNot);
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue