[GHC] #9636: Function with type error accepted

GHC ghc-devs at haskell.org
Fri Apr 17 08:02:09 UTC 2015


#9636: Function with type error accepted
-------------------------------------+-------------------------------------
        Reporter:  augustss          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.3
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by adamgundry):

 I like idea of using an `Error` type family, but I don't think this should
 be automatic for all closed type families, or at least there should be
 some way to switch it off (see Phab:D481).

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


More information about the ghc-tickets mailing list