Ticket #440 (closed bug: None)
parse error way too late
|Reported by:||as49||Owned by:||nobody|
|Type of failure:||Difficulty:|
|Test Case:||Blocked By:|
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.
Note: See TracTickets for help on using tickets.