GHC doesn't accept url specifying output file that is in a directory that is created by the -outputdir flag
Command:
ghc p.hs -outputdir simple -o simple/po
Output:
<command line>: error: directory portion of "simple/po" does not exist (used with "-o" option.)
Directory "simple" does not exist before the time of compilation.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | lowest |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |