Opened 2 years ago

Last modified 14 months ago

#13923 new task

Add a suppression flag to stop Typeable bindings being emitted with -ddump-simpl

Reported by: mpickering Owned by:
Priority: low Milestone:
Component: Compiler Version: 8.0.1
Keywords: newcomer Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


When reading core output, it is very distracting to always have to wade through a large number of bindings generated by Typeable. In most cases I don't care about any of these so it would be easier if there was some way to stop them being printed or being generated in the first place.

Change History (2)

comment:1 Changed 2 years ago by bgamari

You could probably filter them out by name pretty easily. Just add a special case to the HsBind and Bind Outputable instances with an associated DynFlag. I'm not sure whether you really want to stop emitting them entirely; afterall, then some programs would fail to compile.

comment:2 Changed 14 months ago by mpickering

Keywords: newcomer added
Note: See TracTickets for help on using tickets.