Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make diff only on results #10

Closed
vch9 opened this issue Aug 18, 2021 · 1 comment
Closed

Make diff only on results #10

vch9 opened this issue Aug 18, 2021 · 1 comment
Assignees
Milestone

Comments

@vch9
Copy link
Owner

vch9 commented Aug 18, 2021

Diff should be computed only on function results.
Related to #9, parameters will always be equal in prev/next snapshots.

The programmer could introduce a new printer to better debug on errors.
However, printing a parameter should not create a diff.

When the diff will be displayed, function + parameters + result will be printed
with given printers. But internally, errors will only be on results.

@vch9 vch9 added this to the Version 0.2 milestone Aug 23, 2021
@vch9 vch9 self-assigned this Aug 23, 2021
@vch9
Copy link
Owner Author

vch9 commented Aug 23, 2021

Adding a printer will not change anything. The new printer will be used to show the previous snapshot. The diff could never comes from parameters.

@vch9 vch9 closed this as completed Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant