• Ryan Scott's avatar
    Keep top-level names in typed TH quotes alive · bb835c96
    Ryan Scott authored
    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
    Reviewers: bgamari, mpickering
    Reviewed By: mpickering
    Subscribers: mpickering, rwbarton, carter
    GHC Trac Issues: #15783
    Differential Revision: https://phabricator.haskell.org/D5248
all.T 20 KB