[GHC] #7989: "No constructor has all these fields" message can be improved

GHC ghc-devs at haskell.org
Wed Jun 19 13:11:34 CEST 2013


#7989: "No constructor has all these fields" message can be improved
---------------------------------+------------------------------------------
    Reporter:  akio              |       Owner:                  
        Type:  feature request   |      Status:  patch           
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.7             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  Other           
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by akio):

 Replying to [comment:5 monoidal]:
 > Do you handle this situation?
 >
 > [...]
 >
 > Error message here cannot mention only two fields.

 You are right, I wasn't thinking of that situation. I rewrote the patch.

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



More information about the ghc-tickets mailing list