summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Module.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Tc/Module.hs')
-rw-r--r--compiler/GHC/Tc/Module.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Tc/Module.hs b/compiler/GHC/Tc/Module.hs
index e906dd267f..777086343b 100644
--- a/compiler/GHC/Tc/Module.hs
+++ b/compiler/GHC/Tc/Module.hs
@@ -1781,7 +1781,7 @@ checkMainType tcg_env
[main_gre] ->
do { let main_name = greMangledName main_gre
- ctxt = FunSigCtxt main_name False
+ ctxt = FunSigCtxt main_name NoRRC
; main_id <- tcLookupId main_name
; (io_ty,_) <- getIOType
; (_, lie) <- captureTopConstraints $
@@ -1914,7 +1914,7 @@ setMainCtxt main_name io_ty thing_inside
checkConstraints skol_info [] [] $ -- Builds an implication if necessary
thing_inside -- e.g. with -fdefer-type-errors
where
- skol_info = SigSkol (FunSigCtxt main_name False) io_ty []
+ skol_info = SigSkol (FunSigCtxt main_name NoRRC) io_ty []
main_ctxt = text "When checking the type of the"
<+> ppMainFn (nameOccName main_name)