Ticket #440 (closed bug: None)
parse error way too late
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

