Don't forget to check the parent in an export list
Commit 3f374399 introduced a bug which caused us to forget to include the parent of an export item of the form T(..) (that is, IEThingAll) when checking for duplicate exports. Fixes #23318
Showing
- compiler/GHC/Tc/Gen/Export.hs 23 additions, 26 deletionscompiler/GHC/Tc/Gen/Export.hs
- testsuite/tests/rename/should_compile/T23318.hs 2 additions, 0 deletionstestsuite/tests/rename/should_compile/T23318.hs
- testsuite/tests/rename/should_compile/T23318.stderr 3 additions, 0 deletionstestsuite/tests/rename/should_compile/T23318.stderr
- testsuite/tests/rename/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/rename/should_compile/all.T
Loading
Please register or sign in to comment