forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add break hints to Dyn.pp (ocaml#8980)
When working on another feature I noticed that Dyn.pp behaved very poorly when pretty printing variant contructor arguments. Turns out a Pp.char ',' seperator was being used however there was no break hint. This patch adds a Pp.space afterwards which seems to make the output much more pleasant. Signed-off-by: Ali Caglayan <alizter@gmail.com>
- Loading branch information
Showing
5 changed files
with
240 additions
and
300 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
Oops, something went wrong.