summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Utils/Monad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Tc/Utils/Monad.hs')
-rw-r--r--compiler/GHC/Tc/Utils/Monad.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Utils/Monad.hs b/compiler/GHC/Tc/Utils/Monad.hs
index 8319212147..2f61ff8777 100644
--- a/compiler/GHC/Tc/Utils/Monad.hs
+++ b/compiler/GHC/Tc/Utils/Monad.hs
@@ -1921,7 +1921,7 @@ emitAnonTypeHole extra_constraints tv
, hole_loc = ct_loc }
; emitHole hole }
where
- occ = mkTyVarOcc "_"
+ occ = mkTyVarOccFS (fsLit "_")
sort | YesExtraConstraint <- extra_constraints = ConstraintHole
| otherwise = TypeHole