Parser or lexer mess-up
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.9 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |