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

primops/fromJSON: add error position in case of parse error #4351

Merged
merged 1 commit into from Dec 14, 2020

Conversation

Ma27
Copy link
Member

@Ma27 Ma27 commented Dec 11, 2020

This makes it easier to track down where invalid JSON was passed to
builtins.fromJSON.

Related to #3938

src/libexpr/primops.cc Outdated Show resolved Hide resolved
This makes it easier to track down where invalid JSON was passed to
`builtins.fromJSON`.
@Ma27
Copy link
Member Author

Ma27 commented Dec 13, 2020

@edolstra fixed, thanks.

@edolstra edolstra merged commit 27b5ff3 into NixOS:master Dec 14, 2020
@Ma27 Ma27 deleted the json-errtrace branch December 14, 2020 10:37
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

Successfully merging this pull request may close these issues.

None yet

2 participants