
#12993: GHC 8.0.2-rc2 template Haskell interface file issue -------------------------------------+------------------------------------- Reporter: glguy | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 8.0.2-rc1 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): The name `runA` is being "exported" through a quote. Minimal reproducer: {{{ -- TA.hs {-# LANGUAGE TemplateHaskell #-} module TA (q) where data X = X { x :: Int } q = [|x|] -- TB.hs {-# LANGUAGE TemplateHaskell #-} module TB where import TA f = $(q) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12993#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler