Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5501 commits behind the upstream repository.
Matthew Pickering's avatar
Matthew Pickering authored
How things should work:

*  -i is the search path for source files
*  -hidir explicitly sets the search path for interface files and the output location for interface files.
*  -odir sets the search path and output location for object files.

Before in one shot mode we would look for the interface file in the
search locations given by `-i`, but then set the path to be in the
`hidir`, so in unusual situations the finder could find an interface
file in the `-i` dir but later fail because it tried to read the
interface file from the `-hidir`.

A bug identified by #20569
5e5a12d9
History
Name Last commit Last update
..
A.hs
B.hs