-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format inline records with parens in outcome printer (#2370)
This is a followup to the syntax change added in #2363, but for the outcome printer
- Loading branch information
1 parent
a24bd82
commit e056c37
Showing
2 changed files
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
type t0 = T0 { t0: int, }; | ||
type t1 = A { x: int, } | B | C { c1: string, c2: string, }; | ||
type t0 = T0({ t0: int, }); | ||
type t1 = A({ x: int, }) | B | C({ c1: string, c2: string, }); | ||
type t2(_) = | ||
D { x: int, }: t2(int) | ||
| E { f: int => int, }: t2(int => int) | ||
D({ x: int, }): t2(int) | ||
| E({ f: int => int, }): t2(int => int) | ||
| F(unit): t2(unit); |
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