Re: Warning when deriving Foldable/Traversable using -Wall

2014-10-08 Thread Alan & Kim Zimmerman
Ok, so stage2 is in fact behaving correctly, the stage1 code needs to have CPP directives around it. In other words this is not actually a bug. Thanks Alan On Wed, Oct 8, 2014 at 2:05 PM, Nicolas Trangez wrote: > On Wed, 2014-10-08 at 14:00 +0200, Alan & Kim Zimmerman wrote: > > The current

RE: Warning when deriving Foldable/Traversable using -Wall

2014-10-08 Thread Simon Peyton Jones
Yes, please add as a Trac ticket! thank you Simon From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Alan & Kim Zimmerman Sent: 08 October 2014 13:00 To: ghc-devs@haskell.org Subject: Warning when deriving Foldable/Traversable using -Wall I am not sure how to report

Re: Warning when deriving Foldable/Traversable using -Wall

2014-10-08 Thread Nicolas Trangez
On Wed, 2014-10-08 at 14:00 +0200, Alan & Kim Zimmerman wrote: > The current HEAD gives a spurious unused declaration when deriving > Typable/Traversable Why would this be spurious, given `Foldable` and `Traversable` are now exported by `Prelude`, so those imports are in fact not necessary? Nicol

Re: Warning when deriving Foldable/Traversable using -Wall

2014-10-08 Thread Herbert Valerio Riedel
On 2014-10-08 at 14:00:05 +0200, Alan & Kim Zimmerman wrote: [...] > Should this go into Trac? Fwiw, there is a version "7.9" you can select when writing a Trac ticket for the very purpose to file bugs against GHC HEAD. [...] > The file being compiled is > > ---

Warning when deriving Foldable/Traversable using -Wall

2014-10-08 Thread Alan & Kim Zimmerman
I am not sure how to report bugs against the current development version of GHC. Should this go into Trac? The current HEAD gives a spurious unused declaration when deriving Typable/Traversable Details Compiling against current HEAD (0ed9a2779a2adf0347088134fdb9f60ae9f2735b) Adding test('T9