diff options
Diffstat (limited to 'compiler/rename/RnBinds.hs')
-rw-r--r-- | compiler/rename/RnBinds.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rename/RnBinds.hs b/compiler/rename/RnBinds.hs index 1a24c11893..159ed8bc1c 100644 --- a/compiler/rename/RnBinds.hs +++ b/compiler/rename/RnBinds.hs @@ -935,9 +935,9 @@ renameSig ctxt sig@(FixSig (FixitySig vs f)) = do { new_vs <- mapM (lookupSigOccRn ctxt sig) vs ; return (FixSig (FixitySig new_vs f), emptyFVs) } -renameSig ctxt sig@(MinimalSig s bf) +renameSig ctxt sig@(MinimalSig s (L l bf)) = do new_bf <- traverse (lookupSigOccRn ctxt sig) bf - return (MinimalSig s new_bf, emptyFVs) + return (MinimalSig s (L l new_bf), emptyFVs) renameSig ctxt sig@(PatSynSig v (flag, qtvs) req prov ty) = do { v' <- lookupSigOccRn ctxt sig v |