-
Notifications
You must be signed in to change notification settings - Fork 371
Make unqualified JSON goal types #5776
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
Conversation
@Mergifyio rebase |
✅ Branch has been successfully rebased |
@rwe @msuperdock : Anyone willing to review? |
@isovector : There seems no reviewer around, so I will just merge once you say it is ready. |
@andreasabel I think it's ready. I've been using it daily since submitting this PR and have seen no issues with it. Thanks! |
For what it's worth, I'm generally on board with making changes to JSONTop.hs that make the parts of the JSON output more closely match the emacs output, and I think others involved with --interaction-json would agree. @isovector, could you point out the corresponding lines in the emacs interaction code? |
@msuperdock emacs calls agda/src/full/Agda/Interaction/EmacsTop.hs Line 127 in d4333bb
which in turn does the same thing I'm doing here: agda/src/full/Agda/Interaction/BasicOps.hs Lines 737 to 739 in d4333bb
|
Thanks for showing this. I see that the other commit also imitates the emacs mode: agda/src/full/Agda/Interaction/EmacsTop.hs Line 196 in d4333bb
I haven't tested this pull request, but I would be happy for it to be merged! |
@andreasabel this is ready to be merged! |
Fixes #5775
I don't pretend to know what's happening here, I'm just cargo culting from the emacs codepath.
The previously pathological output (detailed in the issue) is now