[ ghc-Bugs-1292829 ] Bad parse error message

SourceForge.net noreply at sourceforge.net
Fri Sep 16 08:08:20 EDT 2005


Bugs item #1292829, was opened at 2005-09-16 05:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1292829&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler (Parser)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bad parse error message

Initial Comment:
Simon asked me to report this very minor "bug".

When compiling a file that looks like:

main = print (1+2

the parser complains (and rightly so). However, it
blames the above on "possibly incorrect indentation",
whereas it is obvious I just forgot a parenthesis.

/Koen Claessen

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1292829&group_id=8032



More information about the Glasgow-haskell-bugs mailing list