
#9813: Error when reifying type constructor -------------------------------------+------------------------------------- Reporter: owst | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.8.3 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:D1899 Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): I think this is too optimistic. In general we can't analyze the argument of `reify` in `g` to know that it refers only to `f`. Plus the `...` could contain arbitrary code that could use functions in other packages that reify arbitrary names. I would say that both `f` and `g` can only refer to `h`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9813#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler