From 62d948405f6b9a95fe4b31b7cffa387e5425d6db Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 13 Jun 2007 09:52:01 +0000 Subject: [PATCH] should be using GET_CON_DESC() to get the constructor name --- rts/Printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Printer.c b/rts/Printer.c index 7364edd..b33d238 100644 --- a/rts/Printer.c +++ b/rts/Printer.c @@ -1164,7 +1164,7 @@ void prettyPrintClosure_ (StgClosure *obj) con_info = get_con_itbl (obj); /* obtain the name of the constructor */ - descriptor = con_info->con_desc; + descriptor = GET_CON_DESC(con_info); debugBelch ("(%s", descriptor); -- 1.7.10.4