[GHC] #13083: Constraint solving failure with Coercible + type family + newtype

GHC ghc-devs at haskell.org
Sun Jan 8 15:09:02 UTC 2017


#13083: Constraint solving failure with Coercible + type family + newtype
-------------------------------------+-------------------------------------
        Reporter:  conal             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:  Coercible
Operating System:  MacOS X           |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Derp, I didn't read the source closely enough. In particular, I missed
 this more glaring issue:

 {{{#!hs
 -- Note that Par1 has the wrong kind (* -> *) for V Par1
 }}}

 So please ignore everything I said in comment:1 :)

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


More information about the ghc-tickets mailing list