[EMAIL PROTECTED] wrote:
Fri Oct 20 20:58:29 PDT 2006 Manuel M T Chakravarty <[EMAIL PROTECTED]>
* Fix parent position in RnNames.nubAvails
- `RnNames.nubAvails', which amalgamates AvailInfo items that belong to the
same parent, needs to be careful that the parent name occurs first if it is
in the list of subnames at all. (Otherwise, we can get funny export items
in ifaces.)
>
> - I discovered this while debugging family import/exports, but I am pretty
> sure the bug would also have shown up without using families under the
> right circumstances.
I'm interested - what goes wrong if the parent doesn't occur first? I noticed
that it often didn't when I was working on this code. I checked and it was the
same in 6.4.2, so I assumed it must be ok, and I didn't encounter any problems
except that the pretty-printing code had to print out the parent name.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc