-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do note though that this does not change how multiple with statements are grouped. Although I agree with that, it's IMHO a separate feature request, while the spacing issue is a bug. Signed-off-by: Anders Eknert <[email protected]>
- Loading branch information
1 parent
c08b81d
commit 13dc7ec
Showing
5 changed files
with
40 additions
and
27 deletions.
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
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,17 @@ | ||
package p | ||
|
||
single_line_with { | ||
fn(1) with input.a as "a" | ||
} | ||
|
||
multi_line_with { | ||
fn(1) with input.a as "a" | ||
with input.b as "b" | ||
with input.c as { | ||
"foo": "bar", | ||
} | ||
with input.d as [ | ||
1, | ||
2, | ||
3] | ||
} |
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,16 @@ | ||
package p | ||
|
||
single_line_with { | ||
fn(1) with input.a as "a" | ||
} | ||
|
||
multi_line_with { | ||
fn(1) with input.a as "a" | ||
with input.b as "b" | ||
with input.c as {"foo": "bar"} | ||
with input.d as [ | ||
1, | ||
2, | ||
3, | ||
] | ||
} |