[jhc] Another bug

David Roundy roundyd at physics.oregonstate.edu
Sun Sep 13 19:14:47 EDT 2009


Here's another bug,

Compiling the attached file, I get

$ jhc test.hs
jhc test.hs
jhc 0.7.3 (0.7.2-30)
Finding Dependencies...
Using Ho Cache: '/mnt/home/droundy/.jhc/cache'
Main                    [test.hs]
Typechecking...
[1 of 1] Main             (.............................................)
Compiling...
[1 of 1] Main             <..................................................>
src/FrontEnd/Representation.hs:98:0: No instance nor default method
for class operation Data.Binary.put

If I uncomment the type signature for main, the file compiles.  It's
not an important sort of program, but a compiler bug is a compiler
bug, and I imagine it might manifest itself in some non-trivial
program.
-- 
David Roundy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.hs
Type: text/x-haskell
Size: 52 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/jhc/attachments/20090913/fa8d281e/test.bin


More information about the jhc mailing list