Strange behavior of -ddump-minimal-imports
The following two line module:
import System.Exit
main = undefined >>= undefined
when compiled with ghc -c -ddump-minimal-imports Test.hs
produces the following in Main.imports:
import System.Exit ( (>>=), undefined )
Those symbols are not exported by System.Exit.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |