This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/diff: fix printing and top-level diffs
Print concrete values: before %-v was used, which would print conjuncts, not evaluated expressions. Top-level diffs were awkward, as it would not return an edit script and the user would have to do their own printing. This fixes that. TODO: modify the API to not return the kind, only the EditScript. Change-Id: I7c9d0322fb5e6dac0f4668f14de8ae76bb614823 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9342 Reviewed-by: CUE cueckoo <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
8 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