@@ -94,7 +94,6 @@ wOptsSet =
94wOptsSetFatal :: [ WarningFlag ]
94wOptsSetFatal :: [ WarningFlag ]
95wOptsSetFatal =
95wOptsSetFatal =
96 [ Opt_WarnMissingFields
96 [ Opt_WarnMissingFields
97− , Opt_WarnOverflowedLiterals
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