[ghc-steering-committee] Proposal: accept "add incomplete-uni-patterns and incomplete-record-updates to -Wall"
Manuel M T Chakravarty
chak at justtesting.org
Tue Jan 9 02:06:38 UTC 2018
+1
> 08.01.2018 21:23 Simon Marlow <marlowsd at gmail.com>:
>
> I propose that we accept the proposal
>
> add incomplete-uni-patterns and incomplete-record-updates to -Wall
>
> https://github.com/ghc-proposals/ghc-proposals/pull/71
> <https://github.com/ghc-proposals/ghc-proposals/pull/71>
>
> <https://github.com/ghc-proposals/ghc-proposals/pull/71>
> Both warnings are avoidable and considered bad style, which makes them appropriate to include in -Wall.
>
> The reason that -Wincomplete-uni-patterns wasn't originally made part of -Wall was due to worries about noisiness (https://ghc.haskell.org/trac/ghc/ticket/4905 <https://ghc.haskell.org/trac/ghc/ticket/4905>), but that's not a valid concern. -Wall is intentionally a moving target, if you want to stay Wall-clean you accept that new compiler releases may entail some work.
>
> Basically I think this is a no-brainer.
>
> Cheers
> Simon
>
> _______________________________________________
> ghc-steering-committee mailing list
> ghc-steering-committee at haskell.org
> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20180109/11540ff8/attachment-0001.html>
More information about the ghc-steering-committee
mailing list