[GHC] #13333: Typeable regression in GHC HEAD

GHC ghc-devs at haskell.org
Mon Mar 27 05:02:22 UTC 2017


#13333: Typeable regression in GHC HEAD
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |
      Resolution:                    |             Keywords:  typeable
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Looking at `-ddump-tc-trace` from the program in the ticket description,
 it seems that we are failing to solve for this,
 {{{
 WC {wc_simple =
       [WD] $dTypeable_a29a
         {0}:: Typeable (T |> Trans (Sym cobox ->_N <*>_N)
                                    (cobox ->_N <*>_N)) (CDictCan)}
 }}}
 I believe the reason for this is that we don't handle casts in the
 `Typeable` solver. I'll need to think about this.

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


More information about the ghc-tickets mailing list