Run the renamed source plugin after each HsGroup

Authored by mpickering on Jul 9 2018, 10:48 AM.



This allows modification of each HsGroup after it has been renamed.

The old behaviour of keeping the renamed source until later can be
recovered if desired by using the keepRenamedSource plugin but it
shouldn't really be necessary as it can be inspected in the TcGblEnv.

Diff Detail

rGHC Glasgow Haskell Compiler
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
mpickering created this revision.Jul 9 2018, 10:48 AM
alpmestan accepted this revision.Jul 10 2018, 8:48 AM
alpmestan added a subscriber: alpmestan.

Looks good.

This revision is now accepted and ready to land.Jul 10 2018, 8:48 AM
nboldi accepted this revision.Jul 12 2018, 5:19 AM

I like the changes, it clears the design of the plugins.

This revision was automatically updated to reflect the committed changes.