[GHC] #719: error messages are too long sometimes

GHC trac at galois.com
Fri Oct 20 15:19:39 EDT 2006


#719: error messages are too long sometimes
-----------------------+----------------------------------------------------
 Reporter:  simonmar   |          Owner:             
     Type:  bug        |         Status:  closed     
 Priority:  low        |      Milestone:             
Component:  Compiler   |        Version:  6.4.1      
 Severity:  minor      |     Resolution:  fixed      
 Keywords:             |     Difficulty:  Easy (1 hr)
 Testcase:  tcfail168  |   Architecture:  Unknown    
       Os:  Unknown    |  
-----------------------+----------------------------------------------------
Changes (by igloo):

  * resolution:  => fixed
  * testcase:  => tcfail168
  * status:  new => closed

Comment:

 This gives the concise
 {{{
 [1 of 1] Compiling Main             ( tmp.hs, interpreted )

 tmp.hs:3:10:
     Couldn't match expected type `(->) Char' against inferred type `IO'
     Probable cause: `putChar' is applied to too many arguments
     In the expression: putChar 'a'
     In a 'do' expression: putChar 'a'
 Failed, modules loaded: none.
 Prelude> Leaving GHCi.
 }}}
 with 6.6.

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


More information about the Glasgow-haskell-bugs mailing list