[GHC] #14141: Custom type errors don't trigger when matching on a GADT constructor with an error in the constraint

GHC ghc-devs at haskell.org
Fri Sep 29 12:36:58 UTC 2017


#14141: Custom type errors don't trigger when matching on a GADT constructor with
an error in the constraint
-------------------------------------+-------------------------------------
        Reporter:  Darwin226         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.2
  checker)                           |             Keywords:
      Resolution:                    |  CustomTypeErrors
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  GHC accepts       |  (amd64)
  invalid program                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11503            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * related:   => #11503


Comment:

 I think this ticket is #11503 in disguise (or at least shares a symptom
 with it).

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


More information about the ghc-tickets mailing list