Opened 11 months ago

Last modified 11 months ago

#9403 new task

Make --show-iface more human readable

Reported by: ezyang Owned by: ezyang
Priority: low Milestone:
Component: Compiler Version: 7.9
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

Right now --show-iface is not particularly interpretable, even if you are looking at the Outputable instance for ModIface. The problem seems to be the output for mi_deps, mi_usages, mi_decls, mi_insts, mi_fam_insts and mi_rules is not clearly delimited, making it unclear (for example) what import -/ base:Prelude HASH refers to unless you already happen to know that this must be from mi_usages.

It should be relatively easy to improve this, but I want to make sure people who rely on this output aren't blindsided by the changes.

Change History (1)

comment:1 Changed 11 months ago by simonpj

I'm all for it! I doubt that anyone relies on the syntactic form of the output of --show-iface

Simon

Note: See TracTickets for help on using tickets.