Re: #16374: Cannot deduce constraint from itself with poly-kinded type family

"GHC" <[email protected]> Fri, 08 Mar 2019 10:12:15 -0000
Newsgroups gmane.comp.lang.haskell.glasgow.bugs
Message-ID <[email protected]>
--===============9195142712930101499==
Content-Type: multipart/related;
 boundary="===============7718716033783228889=="

--===============7718716033783228889==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

#16374: Cannot deduce constraint from itself with poly-kinded type family
-------------------------------------+-------------------------------------
        Reporter:  roland            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.6.3
  checker)                           |             Keywords:
      Resolution:                    |  TypeErrorMessages
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * keywords:   => TypeErrorMessages


Comment:

 > It might be helpful to have GHC automatically enable -fprint-explicit-
 kinds is an ambiguous type variable occurs in a kind position, such as in
 this program.

 I totally agree.  Would anyone like to do this?

 There are a number of other [wiki:Status/TypeErrorMessages tickets about
 improving type error messages]

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16374#comment:2>