Warnings

Ben Gamari ben at smart-cactus.org
Tue May 4 23:31:25 UTC 2021


Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org> writes:

> If 'transformers' purposely has orphan instances, shouldn't we switch off the warnings about them?
> Simon
>
We actually do so in Make, but strangely only in the stage2 build (see
mk/warnings.mk). It's unclear to me why this is the case. I think the
ideal solution is to add an OPTIONS_GHC -Wno-orphans pragma upstream in
the affected module, although this would require getting code upstream
which is a bit tiresome due it being in darcs.

Cheers,

 - Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210504/965e6e32/attachment.sig>


More information about the ghc-devs mailing list