Looks like a bug to me! I am currently elbows-deep in re-engineering GHC's
entire constraint generation and solving mechanism, which will, I hope, simply
solve your problem.
But meanwhile can I ask a favour: submit a Trac report with the offending code
in reproducible form? Then I'll be
Done: http://hackage.haskell.org/trac/ghc/ticket/3826
Regards,
Sean
On Tue, Jan 19, 2010 at 11:15, Simon Peyton-Jones simo...@microsoft.comwrote:
Looks like a bug to me! I am currently elbows-deep in re-engineering GHC's
entire constraint generation and solving mechanism, which will, I hope,
GHC 6.12.1 hsc2hs seems to have an issue with compiling sources
that contain certain UTF-8 charactes in the comments.
It contains code like:
showCChar c= ['\\',
intToDigit (ord c `quot` 64),
intToDigit (ord c `quot` 8 `mod` 8),