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:
- 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