No shadowing warnings for NoFieldSelector fields
This commit ensures we don't emit shadowing warnings when a user shadows a field defined with NoFieldSelectors. Fixes #24381
Showing
- compiler/GHC/Rename/Utils.hs 1 addition, 1 deletioncompiler/GHC/Rename/Utils.hs
- testsuite/tests/overloadedrecflds/should_compile/T24381.hs 6 additions, 0 deletionstestsuite/tests/overloadedrecflds/should_compile/T24381.hs
- testsuite/tests/overloadedrecflds/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/overloadedrecflds/should_compile/all.T
Loading
Please register or sign in to comment