Bugs item #1266898, was opened at 2005-08-23 08:57
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=1266898&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: 6.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Simon (as49)
Assigned to: Nobody/Anonymous (nobody)
Summary: parse error way too late

Initial Comment:
On the attached file the compiler reports

typeerror.hs:29: parse error (possibly incorrect
indentation)

where line no 29 is the type signature of the second
function (lookup). I thought ghc was off by one line
and looked desperately at line 30 (which was stupid
since ghc's line numbers are only too far down, never
early). The solution is that I missed the equal sign in
the first function. I report this since I'm puzzled by
the fact that ghc got all the way down to the next type
signature before the parser found an error.

Axel.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1266898&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to