You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1113 we bumped to ghc 9.6.2 but discovered there was a bug with spurious warnings and deriving: https://gitlab.haskell.org/ghc/ghc/-/issues/23143. We added some pragmas {-# OPTIONS -Wno-redundant-constraints #-} (e.g.
) to silence these. The issue is now fixed upstream, and released in ghc 9.6.3. When we upgrade ghc (note that haskell.nix does not yet support 9.6.3) we should remove these pragmas, so they do not quash other (valid) warnings. (We may also want to bump a minimum version bound to enforce ghc 9.6.3's use)
The text was updated successfully, but these errors were encountered:
We may also want to bump a minimum version bound to enforce ghc 9.6.3's use
I'd be inclined not to. As a library maintainer, I've found that being warning-free across versions tends to be more effort than it's worth (although it is a shame that "warnings" in GHC can be anything from totally harmless (e.g. missing signature) to essentially errors (incomplete patterns) - though this may improve soon: ghc-proposals/ghc-proposals#571).
In #1113 we bumped to ghc 9.6.2 but discovered there was a bug with spurious warnings and
deriving
: https://gitlab.haskell.org/ghc/ghc/-/issues/23143. We added some pragmas{-# OPTIONS -Wno-redundant-constraints #-}
(e.g.primer/primer-api/src/Primer/API.hs
Line 10 in 091330c
The text was updated successfully, but these errors were encountered: