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

GHC ghc-devs at haskell.org
Mon Aug 7 10:54:13 UTC 2017


#14078: -ddump-json doesn't work well with GHCi
-------------------------------------+-------------------------------------
        Reporter:  dramforever       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.2
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:
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 mpickering):

 `-ddump-json` is a bit different to the other `-ddump` flags as the goal
 is to dump all the output (including the output of other -ddump flags) as
 machine readable JSON.

 The output of using `:set -ddump-json` looks more like I would have
 expected but I hadn't really considered the interaction with ghci.

 How do you think `-ddump-json` should work with the normal `ghc`
 executable?

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


More information about the ghc-tickets mailing list