#4486: Unable to satisfy "Defined but not used: data constructor" warning
---------------------------+------------------------------------------------
  Reporter:  mitar         |          Owner:                  
      Type:  bug           |         Status:  closed          
  Priority:  normal        |      Milestone:  7.2.1           
 Component:  Compiler      |        Version:  6.12.3          
Resolution:  worksforme    |       Keywords:                  
  Testcase:                |      Blockedby:                  
Difficulty:                |             Os:  Unknown/Multiple
  Blocking:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 I can't reproduce this.  Here's the module I'm compiling:
 {{{
 module T4486( FooBar(..) ) where
 data FooBar = FooBar {}
 }}}
 Here we go:
 {{{
 bash-3.1$ ghc -c T4486.hs -Wall -fforce-recomp
 bash-3.1$ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.12.3
 }}}
 If you get different results, please re-open and show the results you get.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4486#comment:2>
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