-ddump-json

Matthew Pickering matthewtpickering at gmail.com
Fri Jan 29 08:57:16 UTC 2021


Just grepping Github there appears to be a few users of the flag but
no more than a handful. I think you can probably change it how you
like.

Cheers,

Matt

On Thu, Jan 28, 2021 at 8:20 PM Richard Eisenberg <rae at richarde.dev> wrote:
>
> 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.
>  - 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


More information about the ghc-devs mailing list