Skip to content

-ddump-minimal-imports should honour -outputdir

When enabling the -ddump-minimal-imports feature for emitting <module-name>.imports files, these files are always created in the current working directory of the ghc process, regardless of the setting of any of the following options

   Redirecting output
       -hcsuf suffix  -hidir dir  -hisuf suffix  -o filename
       -odir dir  -ohi filename   -osuf suffix  -stubdir  dir
       -dumpdir dir  -outputdir dir
Trac metadata
Trac field Value
Version 7.0.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information