-
Matt Renaud authored
Some fixes due to reported flag changes in stderr output from -Wdeprecations to -Wwarnings-deprecations (expected). Other changes were due to incorrectly including deprecations warnings when -fno-warn-deprecations were set because in RsEnv and RnName it checked for any of the flags being, regardless of if the warning came from use of WARNING or DEPRECATED. A new function has been added to DynFlags.hs which verifies that the "deprecation type" matches the set of enabled warning flags (deprecationTypeMatchesFlag). - overloadedrecflds/should_fail/overloadedrecfldsfail11.run overloadedrecfldsfail11 [stderr mismatch] (normal) FIXED: Use of a overloaded record field marked with WARNING should trigger -Wwarnings-deprecations instead of -Wdeprecations. - overloadedrecflds/should_fail/overloadedrecfldsfail12.run overloadedrecfldsfail12 [stderr mismatch] (normal) FIXED: Use of a symbol with WARNING should trigger -Wwarnings-deprecations instead of -Wdeprecations. - rename/should_compile/rn066.run rn066 [stderr mismatch] (normal) FIXED: Use of a symbol with WARNING should trigger -Wwarnings-deprecations instead of -Wdeprecations. - safeHaskell/unsafeLibs/GoodImport03.run GoodImport03 [stderr mismatch] (normal) FIXED: Check for WARNING/DEPRECATION when adding warnings and match with flags. - typecheck/should_compile/tc223.run tc223 [stderr mismatch] (normal) FIXED: Check for WARNING/DEPRECATION when adding warnings and match with flags.
71b73094