[GHC] #10810: Data constructor operators mis-printed in Template Haskell

GHC ghc-devs at haskell.org
Mon Sep 21 01:43:34 UTC 2015


#10810: Data constructor operators mis-printed in Template Haskell
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  8.0.1
       Component:  Template Haskell  |                 Version:  7.10.2
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"6a2092050c14570b9131fb5189c96dc562713b4c/ghc" 6a20920/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6a2092050c14570b9131fb5189c96dc562713b4c"
 Small improvement in pretty-printing constructors.

 This fixes #10810 by cleaning up pretty-printing of constructor
 declarations. This change also removes a (in my opinion) deeply
 bogus orphan instance OutputableBndr [Located name], making
 HsDecls now a non-orphan module. Yay all around.

 Test case: th/T10810
 }}}

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


More information about the ghc-tickets mailing list