[GHC] #11642: Typechecker doesn't use evidence available from pattern synonym?

GHC ghc-devs at haskell.org
Thu Feb 25 18:23:16 UTC 2016


#11642: Typechecker doesn't use evidence available from pattern synonym?
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  7.10.3
  checker)                           |
      Resolution:                    |             Keywords:
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 goldfire):

 Looks like a bug to me.

 Also you're right that the error message should say "type".

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


More information about the ghc-tickets mailing list