-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(grainfmt): Fix grouping of expressions on LHS of fn application, …
…record access etc (#1562)
- Loading branch information
1 parent
39c7519
commit 6c46015
Showing
4 changed files
with
90 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
let printFoo = () => print("foo") | ||
let printBar = () => print("bar") | ||
|
||
(if (true) printFoo else printBar)() | ||
|
||
(a + b).label | ||
|
||
(a + b)[2] | ||
|
||
[1, 2, 3][2] | ||
[> 1, 2, 3][2] |
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,11 @@ | ||
let printFoo = () => print("foo") | ||
let printBar = () => print("bar") | ||
|
||
(if (true) printFoo else printBar)() | ||
|
||
(a + b).label | ||
|
||
(a + b)[2] | ||
|
||
[1, 2, 3][2] | ||
[> 1, 2, 3][2] |
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