[GHC] #8809: Prettier error messages?

GHC ghc-devs at haskell.org
Sun Jan 15 01:44:51 UTC 2017


#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:  13122
 Related Tickets:                    |  Differential Rev(s):
  #8809,#10073,#10179,#12906         |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 I'm a little lost now. It looks like `pretty` already has the annotations
 proposed in comment:3. So is #10735 really all that's left to allow
 annotations within `SDoc`s? And I remember somewhere that color would be
 impossible without a design like comment:3... and yet we have color now.

 Re comment:52: I like this idea a good deal, and I'll admit it's where I
 started my thinking about this problem, but then comment:3 seemed to go in
 a different (but quite worthwhile) direction.

 So I guess the direct question is: what should my student and I work on?
 Adding annotations to `SDoc`s seems redundant. Tackling #10735 will likely
 be beyond her level of experience. So I'm tempted to steer her toward
 comment:52... but I'd love some feedback before we start getting in too
 deep in one particular direction.

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


More information about the ghc-tickets mailing list