[GHC] #3805: Bad error message "Invalid type signature"

GHC trac at galois.com
Fri Jan 8 04:01:56 EST 2010


#3805: Bad error message "Invalid type signature"
--------------------------------+-------------------------------------------
  Reporter:  asuffield          |          Owner:                  
      Type:  bug                |         Status:  closed          
  Priority:  normal             |      Milestone:                  
 Component:  Compiler (Parser)  |        Version:  6.12.1          
Resolution:  fixed              |       Keywords:                  
Difficulty:                     |             Os:  Unknown/Multiple
  Testcase:                     |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown       |  
--------------------------------+-------------------------------------------
Changes (by simonpj):

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

Comment:

 OK I've done this, as above
 {{{
 Thu Jan  7 07:10:02 PST 2010  simonpj at microsoft.com
   * Clarify error message (Trac #3805)

     M ./compiler/parser/RdrHsSyn.lhs -1 +1
 }}}
 and
 {{{
 Tue Jan  5 09:55:32 GMT 2010  simonpj at microsoft.com
   * Improve error message (idea in Trac #3805)

   If we see

      foreign export ccall foo :: ...blah...

   we now use the "foreign" to suggest -XForeignFunctionInterface

     M ./compiler/parser/RdrHsSyn.lhs -1 +13
 }}}

 Simon

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


More information about the Glasgow-haskell-bugs mailing list