-ddump-json

Richard Eisenberg rae at richarde.dev
Thu Jan 28 20:20:54 UTC 2021


Hi devs,

In my work with Alfredo at revising our error message infrastructure, we ran across some code that renders error messages as JSON. Given that our data structures are changing, it seems natural to change the JSON output, too, but it's unclear whether that's wise. The manual currently lists -ddump-json in the chapter on "Debugging the compiler", suggesting that a change is fine, but I'm not yet convinced.

So:
 - Is there someone in charge of -ddump-json? Matthew Pickering authored -ddump-json in https://gitlab.haskell.org/ghc/ghc/-/commit/91691117fc194c525f58ccd5b266dd1d10493e5a <https://gitlab.haskell.org/ghc/ghc/-/commit/91691117fc194c525f58ccd5b266dd1d10493e5a>.
 - Are there clients of -ddump-json?
 - Is there a specification of -ddump-json?
 - There will likely be a desire to evolve this feature. What is the process for doing so?

Thanks!
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210128/fbb30a0c/attachment.html>


More information about the ghc-devs mailing list