-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Very long chained calls in array literals are indented weirdly
- Loading branch information
1 parent
4947bee
commit 026a58e
Showing
10 changed files
with
256 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
void main() | ||
{ | ||
const a1 = [ | ||
builder.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() | ||
{ | ||
afdsafds.asdf.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
void main() | ||
{ | ||
const a1 = [ | ||
builder | ||
.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() | ||
{ | ||
afdsafds | ||
.asdf | ||
.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
void main() | ||
{ | ||
const a1 = [ | ||
builder | ||
.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() { | ||
afdsafds | ||
.asdf | ||
.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--keep_line_breaks=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
void main() | ||
{ | ||
const a1 = [ | ||
builder | ||
.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() { | ||
afdsafds | ||
.asdf | ||
.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
void main() | ||
{ | ||
const a1 = [ | ||
builder.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() | ||
{ | ||
afdsafds.asdf.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
void main() | ||
{ | ||
const a1 = [ | ||
builder | ||
.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() | ||
{ | ||
afdsafds | ||
.asdf | ||
.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
void main() { | ||
const a1 = [ | ||
builder.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() { | ||
afdsafds.asdf.flub; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
void main() { | ||
const a1 = [ | ||
builder | ||
.rebuild!((x, y, z) => x + y + z) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
const a2 = [ | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
builder | ||
.rebuild!(x => x) | ||
.rebuild!(x => x) | ||
.rebuild!(x => x), | ||
]; | ||
|
||
foo([ | ||
line1, | ||
value_line2_bla_bla_bla.propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c, d).propertyCallBlaBlaBla(a, b, c) | ||
.propertyCallBlaBlaBla(a, b, c).value, | ||
]); | ||
} | ||
|
||
void foo() { | ||
afdsafds | ||
.asdf | ||
.flub; | ||
} |