summaryrefslogtreecommitdiff
path: root/compiler/rename/RnPat.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rename/RnPat.hs')
-rw-r--r--compiler/rename/RnPat.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rename/RnPat.hs b/compiler/rename/RnPat.hs
index 77f08f4049..88496d496b 100644
--- a/compiler/rename/RnPat.hs
+++ b/compiler/rename/RnPat.hs
@@ -49,7 +49,7 @@ import DynFlags
import PrelNames
import TyCon ( tyConName )
import ConLike
-import TypeRep ( TyThing(..) )
+import Type ( TyThing(..) )
import Name
import NameSet
import RdrName
@@ -614,7 +614,7 @@ rnHsRecFields ctxt mk_arg (HsRecFields { rec_flds = flds, rec_dotdot = dotdot })
HsRecFieldCon {} -> arg_in_scope lbl
_other -> True ]
- ; addUsedGREs (map thirdOf3 dot_dot_gres)
+ ; addUsedGREs (map thdOf3 dot_dot_gres)
; return [ L loc (HsRecField
{ hsRecFieldLbl = L loc (FieldOcc arg_rdr sel)
, hsRecFieldArg = L loc (mk_arg loc arg_rdr)