[GHC] #7969: -ddump-minimal-imports should preserve imports required to implement standalone derived instances

#7969: -ddump-minimal-imports should preserve imports required to implement standalone derived instances -----------------------------+---------------------------------------------- Reporter: dsf | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- 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. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7969 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7969: -ddump-minimal-imports should preserve imports required to implement
standalone derived instances
-----------------------------+----------------------------------------------
Reporter: dsf | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
Comment(by simonpj@…):
commit b2cde434bbf3060dc5eda39876e4c9180aea1d1a
{{{
Author: Simon Peyton Jones

#7969: -ddump-minimal-imports should preserve imports required to implement standalone derived instances ------------------------------------------+--------------------------------- Reporter: dsf | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.2 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: rename/should_compile/T7969 | Blockedby: Blocking: | Related: ------------------------------------------+--------------------------------- Changes (by simonpj): * status: new => closed * difficulty: => Unknown * resolution: => fixed * testcase: => rename/should_compile/T7969 Comment: Good point, thank you. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7969#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC