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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
No, just fix the warnings.
Add -Wincomplete-uni-patterns to ghc-options in Cabal.cabal. (Note: it's not available on all GHCs we support, only on GHC-8.0+, older GHCs use -fwarn-incomplete-patterns, but it's ok not to enable the flag for them).
EDIT: there is a reason why that warning is added to -Wall.
4e6b2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, just fix the warnings.
Add
-Wincomplete-uni-patterns
toghc-options
inCabal.cabal
. (Note: it's not available on all GHCs we support, only on GHC-8.0+, older GHCs use-fwarn-incomplete-patterns
, but it's ok not to enable the flag for them).EDIT: there is a reason why that warning is added to
-Wall
.4e6b2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! I didn't realise the "no" was suppressing.
Thanks for the guidance, I'll try to submit something that works for all the versions.