RE: A couple of bugs



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Wed, 9 Aug 2000 15:31:54 +0100


> > Indeed, {-# -} is technically a legal comment, and nhc98 is wrong > > to reject it. > So, when a #-} is not found, it should be IMHO treated as a valid comment. > Both ghc and hugs accept it. Indeed, as I said, nhc98 is wrong to reject it. I don't yet have a bugfix, but am working on it. > > > parser generated by happy fails with "Internal happy error". I will look deeper into this question of Happy-generated parsers and nhc98. > > You can work around this bug by forcing the > > compiler to keep all prelude information in the .hi file: just give > > the -prelude flag, e.g. > > nhc98 -c -prelude A.hs > Ok, but will this bug be fixed? This one will probably not be fixed in the forseeable future, because (a) it is rare (b) there is a workaround (c) fixing it properly turns out to be rather complicated. Regards, Malcolm


About this list Date view Thread view Subject view Author view