Keep top-level names in typed TH quotes alive
ClosedPublic

Authored by RyanGlScott on Oct 20 2018, 9:58 AM.

Details

Summary

When renaming untyped TH quotes, some care is taken to
ensure that uses of top-level names in quotes do not have their
bindings discarded during desugaring. The same care was not applied
to typed TH quotes, so this patch brings the two into sync.

Test Plan

make test TEST=T15783

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
RyanGlScott created this revision.Oct 20 2018, 9:58 AM
mpickering accepted this revision.Oct 20 2018, 10:08 AM
mpickering added a subscriber: mpickering.

Thanks a lot Ryan.

This revision is now accepted and ready to land.Oct 20 2018, 10:08 AM
This revision was automatically updated to reflect the committed changes.