
#16167: -ddump-json output empty with runghc -------------------------------------+------------------------------------- Reporter: shmish111 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.3 Keywords: | Operating System: MacOS X Architecture: x86_64 | Type of failure: Incorrect (amd64) | error/warning at compile-time Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- If I create a haskell file called, for example, Main.hs which does not compile and run `ghc -ddump-json Main.hs` I will get a json formatted output after the error messages. This is a list of the errors, as expected. However if I run `runghc -ddump-json Main.hs` I get an empty list at the end `[]` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16167 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler