#15783: Quoting an internal variable causes an error when splicing -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: Template Haskell | Version: 8.6.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5248 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ryan Scott <ryan.gl.scott@…>): In [changeset:"bb835c96c3d962c2e08d23f6fb900665c89953b4/ghc" bb835c96/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="bb835c96c3d962c2e08d23f6fb900665c89953b4" Keep top-level names in typed TH quotes alive 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 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15783#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler