[GHC] #459: Bad parse error message

GHC cvs-ghc at haskell.org
Fri Feb 1 14:44:44 CET 2013


#459: Bad parse error message
--------------------------------+-------------------------------------------
  Reporter:  nobody             |          Owner:                  
      Type:  bug                |         Status:  closed          
  Priority:  normal             |      Milestone:  _|_             
 Component:  Compiler (Parser)  |        Version:  6.4.1           
Resolution:  fixed              |       Keywords:                  
        Os:  Unknown/Multiple   |   Architecture:  Unknown/Multiple
   Failure:  Other              |     Difficulty:  Unknown         
  Testcase:                     |      Blockedby:                  
  Blocking:                     |        Related:                  
--------------------------------+-------------------------------------------
Changes (by igloo):

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


Comment:

 The error is now
 {{{
 parse error (possibly incorrect indentation or mismatched brackets)
 }}}
 which is I think as we're going to get. While we can see that it's
 obviously a bracket problem rather than an indentation problem in this
 small example, in general it's hard for GHC to suggest the right one, so
 suggesting both seems reasonable.

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



More information about the ghc-tickets mailing list