[GHC] #13872: Strange Typeable error message involving TypeInType

GHC ghc-devs at haskell.org
Sat Jun 24 20:31:09 UTC 2017


#13872: Strange Typeable error message involving TypeInType
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |             Keywords:  TypeInType,
      Resolution:                    |  Typeable
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 `<>` is what the type pretty-printer calls `Coercion` types. AFAICT it's
 not entirely trivial making this `Typeable`, since the constructor's
 actual kind does indeed contain a coercion.

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


More information about the ghc-tickets mailing list