[cvs-nhc98] Re: [nhc-bugs] CVS copy doesn't compile

Ian Lynagh igloo@earth.li
Wed, 19 Dec 2001 12:09:07 +0000


On Wed, Dec 19, 2001 at 11:54:08AM +0000, Malcolm Wallace wrote:
> 
> > Just to be sure, did you comment out "import HGetFileName" or did you
> > uncomment it?
> 
> Aha.  I didn't look closely enough at your diff.  I uncommented the
> export of hGetFileName, but forgot to uncomment its corresponding
> import.  For some reason, it compiled for me correctly anyway.
> 
> So, try a cvs update in the src/prelude/IO directory now, and let's
> see if you get the newly commited file, or whether you need to wait.

I now see it uncommented  :-)

However, I am still hitting

-----
/home/ian/cvs/nhc/script/nhc98 -cpp -p -c +CTS -part -redefine -CTS -P..
-P../PreludeIO -P../IO -prelude -o
/home/ian/cvs/nhc/targets/ix86-Linux/objp/prelude/LowB/PrimOpenSocket.p.o
PrimOpenSocket.hs

Fail: GcodeFix.hs:165: Non-exhaustive patterns in function nthcon


make[2]: ***
[/home/ian/cvs/nhc/targets/ix86-Linux/objp/prelude/LowB/PrimOpenSocket.p.o]
Error 1
make[2]: Leaving directory `/home/ian/cvs/nhc/src/prelude/LowB'
make[1]: *** [LowB.make] Error 2
make[1]: Leaving directory `/home/ian/cvs/nhc/src/prelude'
make: *** [targets/ix86-Linux/profprelude] Error 2
-----

or, with the debugging line uncommented (why is it commented out
anyway?)

Fail: nthcon: n==0 con==37


Thanks
Ian