[GHC] #14623: Allow qAddDependentFile on directories

#14623: Allow qAddDependentFile on directories -------------------------------------+------------------------------------- Reporter: ryantrinkle | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: Component: Template | Version: 8.2.2 Haskell | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Currently, qAddDependentFile can only be applied to files; when applied to a directory, the following exception occurs: {{{ *** Exception: path/to/dir: openBinaryFile: inappropriate type (is a directory) }}} However, it can be useful to walk directory trees at compile time with TemplateHaskell, and it would be nice to ensure that rebuilds reflect changes to directory structure, even when files are not changed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14623 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC