[GHC] #8483: Use addDependentFile in Language.Haskell.TH.Syntax.quoteFile
GHC
ghc-devs at haskell.org
Fri Nov 1 17:14:34 UTC 2013
#8483: Use addDependentFile in Language.Haskell.TH.Syntax.quoteFile
--------------------------------------+------------------------------------
Reporter: aavogt | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: libraries (other) | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
--------------------------------------+------------------------------------
Comment (by aavogt):
I think there is no problem.
You get a listing of the directory you call ghc from here:
{{{
{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH
import System.Cmd
do
runIO (system "ls")
[d| () = () |]
}}}
If `addDependentFile` also looks relative to the path ghc is called from,
then it seems like you will only have one file referenced using my patch.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8483#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list