On 2016-02-15 at 21:05:29 +0100, Sven Panne wrote:

[...]

>    * Given the myriad of warning-related options, It is *extremely* hard to
> figure out which one caused the actual warning in question. The solution to
> this is very easy and done this way in clang/gcc (don't remember which one,
> I'm switching quite often): Just suffix all warnings consistently with the
> option causing it, e.g.
>
>     Top-level binding with no type signature: [ -Wmissing-pat-syn-sigs]:
>     <code causing the warning>

Fyi, https://ghc.haskell.org/trac/ghc/wiki/Design/Warnings

and specifically https://ghc.haskell.org/trac/ghc/ticket/10752

:-)
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to