-ddump-minimal-imports should preserve imports required to implement standalone derived instances
If a module contains a "deriving instance Show Foo" declaration, the import of Foo's constructors needs to be preserved for the module to compile.
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 |