should be using GET_CON_DESC() to get the constructor name
authorSimon Marlow <simonmar@microsoft.com>
Wed, 13 Jun 2007 09:52:01 +0000 (09:52 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 13 Jun 2007 09:52:01 +0000 (09:52 +0000)
rts/Printer.c

index 7364edd..b33d238 100644 (file)
@@ -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);