summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Coercion/Opt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/Coercion/Opt.hs')
-rw-r--r--compiler/GHC/Core/Coercion/Opt.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Coercion/Opt.hs b/compiler/GHC/Core/Coercion/Opt.hs
index 4be4441682..041be10e3b 100644
--- a/compiler/GHC/Core/Coercion/Opt.hs
+++ b/compiler/GHC/Core/Coercion/Opt.hs
@@ -296,7 +296,8 @@ opt_co4 env sym rep r (CoVarCo cv)
cv1 = case lookupInScope (lcInScopeSet env) cv of
Just cv1 -> cv1
Nothing -> warnPprTrace True
- (text "opt_co: not in scope:" <+> ppr cv $$ ppr env)
+ "opt_co: not in scope"
+ (ppr cv $$ ppr env)
cv
-- cv1 might have a substituted kind!