summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/Name/Shape.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Types/Name/Shape.hs')
-rw-r--r--compiler/GHC/Types/Name/Shape.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Types/Name/Shape.hs b/compiler/GHC/Types/Name/Shape.hs
index 304f341b53..456c1d6d24 100644
--- a/compiler/GHC/Types/Name/Shape.hs
+++ b/compiler/GHC/Types/Name/Shape.hs
@@ -198,9 +198,9 @@ setNameGreName hsc_env mb_mod gname = case gname of
-- | Set the 'Module' of a 'FieldSelector'
setNameFieldSelector :: HscEnv -> Maybe Module -> FieldLabel -> IO FieldLabel
setNameFieldSelector _ Nothing f = return f
-setNameFieldSelector hsc_env mb_mod (FieldLabel l b sel) = do
+setNameFieldSelector hsc_env mb_mod (FieldLabel l b has_sel sel) = do
sel' <- initIfaceLoad hsc_env $ setNameModule mb_mod sel
- return (FieldLabel l b sel')
+ return (FieldLabel l b has_sel sel')
{-
************************************************************************