
#11680: Out-of-scope suggestion given for an out-of-scope variable when using TH -------------------------------------+------------------------------------- Reporter: jme | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): Ideally -- if this mistake can be easily detected -- some information about how top-level splices break up a file would be helpful. This (documented) trap catches many. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11680#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler