summaryrefslogtreecommitdiff
path: root/compiler/stranal/WwLib.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/stranal/WwLib.lhs')
-rw-r--r--compiler/stranal/WwLib.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stranal/WwLib.lhs b/compiler/stranal/WwLib.lhs
index 1b8b270024..7627ac9b04 100644
--- a/compiler/stranal/WwLib.lhs
+++ b/compiler/stranal/WwLib.lhs
@@ -515,7 +515,7 @@ mk_absent_let :: Id -> Maybe (CoreExpr -> CoreExpr)
mk_absent_let arg
| not (isUnLiftedType arg_ty)
= Just (Let (NonRec arg abs_rhs))
- | Just (tc, _) <- splitTyConApp_maybe arg_ty
+ | Just tc <- tyConAppTyCon_maybe arg_ty
, Just lit <- absentLiteralOf tc
= Just (Let (NonRec arg (Lit lit)))
| arg_ty `eqType` realWorldStatePrimTy