From e08cad76e8a434aca42996f79fc8bb790f291570 Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Tue, 8 May 2012 10:25:22 +0100 Subject: Wibbles to 'simplify the SimplCont data type' --- compiler/simplCore/SimplUtils.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/simplCore/SimplUtils.lhs') diff --git a/compiler/simplCore/SimplUtils.lhs b/compiler/simplCore/SimplUtils.lhs index d68e2a4a46..87aefbab89 100644 --- a/compiler/simplCore/SimplUtils.lhs +++ b/compiler/simplCore/SimplUtils.lhs @@ -162,7 +162,7 @@ addArgTo ai arg = ai { ai_args = arg : ai_args ai , ai_type = applyTypeToArg (ai_type ai) arg } instance Outputable SimplCont where - ppr (Stop _ interesting) = ptext (sLit "Stop") <> brackets (ppr interesting) + ppr (Stop ty interesting) = ptext (sLit "Stop") <> brackets (ppr interesting) <+> ppr ty ppr (ApplyTo dup arg _ cont) = ((ptext (sLit "ApplyTo") <+> ppr dup <+> pprParendExpr arg) {- $$ nest 2 (pprSimplEnv se) -}) $$ ppr cont ppr (StrictBind b _ _ _ cont) = (ptext (sLit "StrictBind") <+> ppr b) $$ ppr cont -- cgit v1.2.1