[GHC] #10862: No way to exclude current directory from search path
GHC
ghc-devs at haskell.org
Wed Sep 9 15:47:45 UTC 2015
#10862: No way to exclude current directory from search path
-------------------------------------+-------------------------------------
Reporter: literon | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-------------------------------------+-------------------------------------
Having Main.hs in the current directory, executing
ghc --make Main -i
still compiles the module, even though -i should in theory "reset the
search path back to nothing". But it seems nothing ~ the default (current
dir).
I would propose to either change the behavior, or add a new flag, in order
to be able to better control the build environment.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10862>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list