[GHC] #11464: Type casts cause confusing error

GHC ghc-devs at haskell.org
Thu Jan 21 15:04:02 UTC 2016


#11464: Type casts cause confusing error
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  typecheck/should_fail/T11464
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 One could theoretically want `tcSplitCastedTyConApp_maybe` which is
 somewhat less crude, but I agree that this works.

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


More information about the ghc-tickets mailing list