[GHC] #14078: -ddump-json doesn't work well with GHCi

GHC ghc-devs at haskell.org
Sun May 13 22:30:54 UTC 2018


#14078: -ddump-json doesn't work well with GHCi
-------------------------------------+-------------------------------------
        Reporter:  dramforever       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:  JSON
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"6ab7cf995dafcc9196e87bbde76b4f6937507592/ghc" 6ab7cf9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6ab7cf995dafcc9196e87bbde76b4f6937507592"
 Simplify -ddump-json implementation

 This patch takes the much simpler route of whenever the compiler tries
 to output something. We just dump a JSON document there and then.

 I think this should be sufficient to work with and anything more refined
 quickly got complicated as it was necessary to demarcate message scopes
 and so on.

 Reviewers: bgamari, dfeuer

 Reviewed By: bgamari

 Subscribers: Phyx, dfeuer, rwbarton, thomie, carter

 GHC Trac Issues: #14078

 Differential Revision: https://phabricator.haskell.org/D4532
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14078#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list