logo       

[ ghc-Bugs-1292829 ] Bad parse error message: msg#00071

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1292829 ] Bad parse error message

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise