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

GHC trac at galois.com
Tue Jan 5 07:53:51 EST 2010


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

 I think part of the problem is that it is ambiguous whether "type
 signature" refers to `e :: t` (in which case it is "invalid") or `:: t`
 (in which case it is "unexpected").

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


More information about the Glasgow-haskell-bugs mailing list