Ticket #1821 (closed bug: fixed)
Parser or lexer mess-up
|Reported by:||simonpj||Owned by:||igloo|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||read_1821||Blocked By:|
This program gives a parse error:
module Par where f x = x where -- ######### x86_64 machine code: g y = y h y = y
With the HEAD we get:
Par.hs:7:8: parse error on input `='
This is killing the stage2 build of the HEAD, in ByteCodeFFI:
ghci/ByteCodeFFI.lhs:444:26: parse error on input `='
The problem is something to do with the comment (!). Remove it, and all is fine. I think something to do with Haddock. But surely comments should not mess up code? Programmers unaware of Haddock will not even look at the comments when trying to correct parse errors!
Happily 6.8 seems ok.