Refine the test for naughty record selectors
The test for naughtiness in record selectors is surprisingly subtle.
See the revised Note [Naughty record selectors]
in GHC.Tc.TyCl.Utils.
Fixes #23038 (closed).
The test for naughtiness in record selectors is surprisingly subtle.
See the revised Note [Naughty record selectors]
in GHC.Tc.TyCl.Utils.
Fixes #23038 (closed).