#6031: Cannot derive instances for empty datatypes defined in other modules
------------------------------+---------------------------------------------
 Reporter:  dreixel           |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.5               |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by simonpj@…):

 commit bf6f7085c62370081d4fe421202ec31c9e51bcb4
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Sun Apr 22 16:24:07 2012 +0100

     Empty data types should not be "trimmed" by TidyPgm

     That in turn means that you can derive Show etc in other modules,
     fixing Trac #6031

  compiler/main/TidyPgm.lhs |   26 +++++++++++++++++---------
  1 files changed, 17 insertions(+), 9 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6031#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to