+ | name == name' -- Duplicate export
+ -- But we don't want to warn if the same thing is exported
+ -- by two different module exports. See ticket #4478.
+ -> if diffModules ie ie'
+ then return occs
+ else do
+ { warn_dup_exports <- doptM Opt_WarnDuplicateExports ;