Fix parent position in RnNames.nubAvails 2006-10-22
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Sat, 21 Oct 2006 03:58:29 +0000 (03:58 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Sat, 21 Oct 2006 03:58:29 +0000 (03:58 +0000)
commit9530e7922d07ac2272e26078c6c626a333d1a761
tree4cb850a431811ae0e96e48768ccf13bc561b7de3
parenta00334cc6a209c009c7b6e5dc3926f3871c9b097
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.
compiler/rename/RnNames.lhs