[GHC] #11712: Very confusing error message with -fprint-explicit-kinds

GHC ghc-devs at haskell.org
Wed Mar 16 12:23:54 UTC 2016


#11712: Very confusing error message with -fprint-explicit-kinds
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  7.10.3
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes, that looks terribly inconsistent.

 I like printing equalities as `(a :: k) ~ (b :: k')`, at least with
 `-fprint-explicit-kinds`.

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


More information about the ghc-tickets mailing list