Dumping core-prep goes to stdout.
Running:
ghc -ddump-to-file -ddump-prep -ddump-stg -ddump-cmm --make file.hs -o file
and the stg and cmm stages are correctly dumped to appropriately named files, but the Core Prep output still goes to stdout.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |