[GHC] #2046: Parse errors for mismatched brackets are awful

GHC trac at galois.com
Wed Jan 16 04:32:52 EST 2008


#2046: Parse errors for mismatched brackets are awful
-------------------------------+--------------------------------------------
 Reporter:  NeilMitchell       |          Owner:           
     Type:  feature request    |         Status:  closed   
 Priority:  normal             |      Milestone:           
Component:  Compiler (Parser)  |        Version:  6.6.1    
 Severity:  minor              |     Resolution:  duplicate
 Keywords:                     |     Difficulty:  Unknown  
 Testcase:                     |   Architecture:  Unknown  
       Os:  Unknown            |  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * component:  Compiler => Compiler (Parser)
  * difficulty:  => Unknown
  * status:  new => closed
  * resolution:  => duplicate

Comment:

 This is a long-standing problem, see #459 :-)

 The "possibly incorrect indentation" message arises because the token the
 parser is looking at is one that was generated by layout.  I honestly
 don't know whether there's anything we can easily do to improve matters in
 the context of the current parser, but I suspect not.

 Anyway, I propose to look at it next time I'm in the area.

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


More information about the Glasgow-haskell-bugs mailing list