[GHC] #11325: Type of hole does not get refined after pattern matching on [GADT] constructors

GHC ghc-devs at haskell.org
Fri May 19 10:17:41 UTC 2017


#11325: Type of hole does not get refined after pattern matching on [GADT]
constructors
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.11
  checker)                           |
      Resolution:                    |             Keywords:  GADTs
Operating System:  Linux             |         Architecture:  x86
 Type of failure:  Incorrect         |            Test Case:
  warning at compile-time            |
      Blocked By:                    |             Blocking:
 Related Tickets:  #12468            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I've confirmed that the 7.10 behaviour is restored, but I didn't add a
 second test ... the test for #12468 seems sufficient.

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


More information about the ghc-tickets mailing list