X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fiface%2FMkIface.lhs;h=8c1b2a0467aa9515cd6398406434ffeafb716eac;hb=7f10c5a6003704ba701d055e3d5cf113f46080ba;hp=4ab116171d9034f6cf37bb26bac4b962418d0683;hpb=9636f8cd435e598132687fc1e007c181f2f221e6;p=ghc-hetmet.git diff --git a/compiler/iface/MkIface.lhs b/compiler/iface/MkIface.lhs index 4ab1161..8c1b2a0 100644 --- a/compiler/iface/MkIface.lhs +++ b/compiler/iface/MkIface.lhs @@ -847,7 +847,8 @@ mkIfaceExports exports -- Usually just one, but see Note [Original module] add_for_mod env mod - = add_one env mod (AvailTC tc_occ names_from_mod) + = add_one env mod (AvailTC tc_occ (sort names_from_mod)) + -- NB. sort the children, we need a canonical order where names_from_mod = [nameOccName n | n <- ns, nameModule n == mod] \end{code}