We have to be careful to use the right OccNames in the right places when reporting export clashes for DuplicateRecordFields. The cases in which re-exports are prohibited are still slightly unsatisfying (see Trac #13352), but at least the panic is gone.
mpickering simonpj bgamari
- rGHCfb462f948b4a: Fix panic on module re-exports of DuplicateRcordFields
- Trac Issues
new test overloadedrecflds/should_fail/T14953