[GHC] #1308: Type signature in warning is wrong

GHC trac at galois.com
Mon Nov 12 11:24:24 EST 2007


#1308: Type signature in warning is wrong
----------------------+-----------------------------------------------------
 Reporter:  guest     |          Owner:             
     Type:  bug       |         Status:  new        
 Priority:  normal    |      Milestone:  6.10 branch
Component:  Compiler  |        Version:  6.7        
 Severity:  normal    |     Resolution:             
 Keywords:            |     Difficulty:  Unknown    
 Testcase:            |   Architecture:  Unknown    
       Os:  Windows   |  
----------------------+-----------------------------------------------------
Changes (by simonpj):

  * milestone:  6.8 branch => 6.10 branch

Comment:

 * We aren't sure if the "NB: it's monomorphic" note has been added; it
 should be.
  * The warning would be more informative if it was postponed until the end
 of typechecking, because then the 't' would be filled in.

 It'd be v useful if you could attach a concrete example.  Then we might
 actually fix this one.  Thanks

 Simon

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


More information about the Glasgow-haskell-bugs mailing list