RE: warn-redundant-constraints present as errors

2015-01-09 Thread Simon Peyton Jones
to excecute I suppose there could be yet another flag to control it (!) Simon From: Konstantine Rybnikov [mailto:k...@k-bx.com] Sent: 09 January 2015 09:19 To: Alan Kim Zimmerman Cc: ghc-devs@haskell.org; Simon Peyton Jones Subject: Re: warn-redundant-constraints present as errors On a slightly

Re: warn-redundant-constraints present as errors

2015-01-09 Thread Johan Tibell
to excecute I suppose there could be yet another flag to control it (!) Simon *From:* Konstantine Rybnikov [mailto:k...@k-bx.com] *Sent:* 09 January 2015 09:19 *To:* Alan Kim Zimmerman *Cc:* ghc-devs@haskell.org; Simon Peyton Jones *Subject:* Re: warn-redundant-constraints present

Re: warn-redundant-constraints present as errors

2015-01-09 Thread Konstantine Rybnikov
On a slightly unrelated note I should say it would be great to have errors contain word Error:. This is especially nice to have because when you build with -j your error that stops compilation gets lost somewhere in the middle of many warnings (which my projects have, unfortunately). On Thu, Jan

RE: warn-redundant-constraints present as errors

2015-01-09 Thread Simon Peyton Jones
I’ve fixed this From: Alan Kim Zimmerman [mailto:alan.z...@gmail.com] Sent: 08 January 2015 21:46 To: ghc-devs@haskell.org; Simon Peyton Jones Subject: warn-redundant-constraints present as errors This is a great feature, here is some feedback My syntax highlighter in emacs expects warnings

RE: warn-redundant-constraints present as errors

2015-01-09 Thread Simon Peyton Jones
SYB.Data t constraint Simon From: Alan Kim Zimmerman [mailto:alan.z...@gmail.com] Sent: 09 January 2015 11:22 To: Simon Peyton Jones Cc: ghc-devs@haskell.org Subject: Re: warn-redundant-constraints present as errors Thanks. I've found a case where it warns of a redundant constraint, but if I

RE: warn-redundant-constraints present as errors

2015-01-09 Thread Simon Peyton Jones
11:54 To: Simon Peyton Jones Cc: ghc-devs@haskell.org Subject: Re: warn-redundant-constraints present as errors In the original definingSigsNames requires the constraint, I left that out to simplify the example, as the movement of the warning to an error still happens. Original definingSigsNames

Re: warn-redundant-constraints present as errors

2015-01-09 Thread Alan Kim Zimmerman
Peyton Jones *Cc:* ghc-devs@haskell.org *Subject:* Re: warn-redundant-constraints present as errors Thanks. I've found a case where it warns of a redundant constraint, but if I remove the constraint I get an error saying the constraint is required

Re: warn-redundant-constraints present as errors

2015-01-09 Thread Alan Kim Zimmerman
Peyton Jones simo...@microsoft.com wrote: I’ve fixed this *From:* Alan Kim Zimmerman [mailto:alan.z...@gmail.com] *Sent:* 08 January 2015 21:46 *To:* ghc-devs@haskell.org; Simon Peyton Jones *Subject:* warn-redundant-constraints present as errors This is a great feature, here is some

Re: warn-redundant-constraints present as errors

2015-01-09 Thread Alan Kim Zimmerman
:* Re: warn-redundant-constraints present as errors Thanks. I've found a case where it warns of a redundant constraint, but if I remove the constraint I get an error saying the constraint is required import qualified GHC as GHC import

warn-redundant-constraints present as errors

2015-01-08 Thread Alan Kim Zimmerman
This is a great feature, here is some feedback My syntax highlighter in emacs expects warnings to have the word warning in them. So for the two warnings reported below, the first is highlighted as an error, and the second as a warning Language/Haskell/Refact/Utils/TypeUtils.hs:3036:17: