-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give record expressions block-like formatting in argument lists. (#1208)
This is consistent with how other collection literals are formatted in argument lists. I originally made the formatting diverge deliberately because I felt it would make it clearer when you're looking at a record versus a series of arguments. But based on the thumbs up on: #1205 It appears that users prefer the more consistent formatting. In retrospect, I think I do too.
- Loading branch information
1 parent
80288ef
commit 6c9bc10
Showing
4 changed files
with
31 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
>>> | ||
error( | ||
offset: 10, | ||
( | ||
code: 'unclosed-block', | ||
message: 'Block was left open', | ||
)); | ||
<<< | ||
error(offset: 10, ( | ||
code: 'unclosed-block', | ||
message: 'Block was left open', | ||
)); |
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