on master help sign in
Turn off -Woverlowed-literals in damlc (#375)
33b276cMartin Huschenbett
src/Development/IDE/UtilGHC.hs+1−1
@@ -94,7 +94,6 @@ wOptsSet =
94wOptsSetFatal :: [ WarningFlag ]
94wOptsSetFatal :: [ WarningFlag ]
95wOptsSetFatal =
95wOptsSetFatal =
96 [ Opt_WarnMissingFields
96 [ Opt_WarnMissingFields
97− , Opt_WarnOverflowedLiterals
98 ]
97 ]
99
98
100-- | Warning options unset for DAML compilation. Note that these can be modified
99-- | Warning options unset for DAML compilation. Note that these can be modified
@@ -103,6 +102,7 @@ wOptsSetFatal =
103wOptsUnset :: [ WarningFlag ]
102wOptsUnset :: [ WarningFlag ]
104wOptsUnset =
103wOptsUnset =
105 [ Opt_WarnMissingMonadFailInstances -- failable pattern plus RebindableSyntax raises this error
104 [ Opt_WarnMissingMonadFailInstances -- failable pattern plus RebindableSyntax raises this error
105+ , Opt_WarnOverflowedLiterals -- this does not play well with -ticky and the error message is misleading
106 ]
106 ]
107
107
108
108