From 8afaccb2d5e665385fdc0620eb2fbcf03da0db4b Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Thu, 2 Aug 2007 16:51:10 +0000 Subject: [PATCH] Dump renamer output with -ddump-rn for command-line entry in ghci --- compiler/typecheck/TcRnDriver.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs index 8468f87..17bd303 100644 --- a/compiler/typecheck/TcRnDriver.lhs +++ b/compiler/typecheck/TcRnDriver.lhs @@ -877,6 +877,7 @@ tcRnStmt hsc_env ictxt rdr_stmt (([rn_stmt], _), fvs) <- rnStmts DoExpr [rdr_stmt] (return ((), emptyFVs)) ; traceRn (text "tcRnStmt" <+> vcat [ppr rdr_stmt, ppr rn_stmt, ppr fvs]) ; failIfErrsM ; + rnDump (ppr rn_stmt) ; -- The real work is done here (bound_ids, tc_expr) <- mkPlan rn_stmt ; -- 1.7.10.4