[GHC] #7268: Explicit type signatures for top level record pattern matches polymorphism fail

GHC cvs-ghc at haskell.org
Wed May 15 15:33:22 CEST 2013


#7268: Explicit type signatures for top level record pattern matches polymorphism
fail
---------------------------------------------+------------------------------
  Reporter:  TristanAllwood                  |          Owner:  simonpj         
      Type:  bug                             |         Status:  closed          
  Priority:  normal                          |      Milestone:  7.8.1           
 Component:  Compiler (Type checker)         |        Version:  7.4.1           
Resolution:  fixed                           |       Keywords:                  
        Os:  Unknown/Multiple                |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program       |     Difficulty:  Unknown         
  Testcase:  typecheck/should_compile/T7268  |      Blockedby:                  
  Blocking:                                  |        Related:                  
---------------------------------------------+------------------------------
Changes (by simonpj):

  * status:  new => closed
  * testcase:  => typecheck/should_compile/T7268
  * resolution:  => fixed


Comment:

 Excellent point thank you.  Pattern bindings are devilish tricky.  Fixed
 now.  I added a regression test for #7891 as well.

 Simon

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



More information about the ghc-tickets mailing list