[GHC] #15341: :info prints kinds in closed type family equations without enabling -fprint-explicit-kinds

GHC ghc-devs at haskell.org
Thu Jul 5 13:51:59 UTC 2018


#15341: :info prints kinds in closed type family equations without enabling
-fprint-explicit-kinds
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  TypeFamilies
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4932
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"dbdcacfc55f28d8a85484cc1cf13dd78c45bf7ee/ghc" dbdcacf/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="dbdcacfc55f28d8a85484cc1cf13dd78c45bf7ee"
 Make ppr_tc_args aware of -fprint-explicit-kinds

 Summary:
 `ppr_tc_args` was printing invisible kind arguments even
 when `-fprint-explicit-kinds` wasn't enabled. Easily fixed.

 Test Plan: make test TEST=T15341

 Reviewers: goldfire, bgamari, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, rwbarton, thomie, carter

 GHC Trac Issues: #15341

 Differential Revision: https://phabricator.haskell.org/D4932
 }}}

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


More information about the ghc-tickets mailing list