Commit 62d94840 authored by Simon Marlow's avatar Simon Marlow
Browse files

should be using GET_CON_DESC() to get the constructor name

parent edb58a77
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment