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