[GHC] #8809: Prettier error messages?

GHC ghc-devs at haskell.org
Tue Nov 15 15:24:26 UTC 2016


#8809: Prettier error messages?
-------------------------------------+-------------------------------------
        Reporter:  joelteon          |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.9
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
  #8809,#10073,#10179                |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Right, as rwbarton said, this is just a matter of editing the cabal file,
 which is generated by `autoconf` from `compiler/ghc.cabal.in`. Note that
 you will need to rerun `./boot` (or just edit `compiler/ghc.cabal`
 manually`) after doing this.

 It sounds like you have a reasonable start, Rufflewind. I would love it if
 someone pick up the proposal that I began laying out in comment:3. I think
 this would allow us to avoid baking too many formatting decisions into the
 compiler (which strikes me as something that we would regret) and instead
 defer them to the consumer of the message (which may very well be `ghc`'s
 own compiler driver).

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


More information about the ghc-tickets mailing list