[Git][ghc/ghc][wip/amg/T22757] Add `-Wunclassified` warning flag so all warnings have flags (#22757)

Adam Gundry (@adamgundry) gitlab at gitlab.haskell.org
Fri Mar 24 16:36:51 UTC 2023



Adam Gundry pushed to branch wip/amg/T22757 at Glasgow Haskell Compiler / GHC


Commits:
a2f4dbfd by Adam Gundry at 2023-03-24T16:36:43+00:00
Add `-Wunclassified` warning flag so all warnings have flags (#22757)

In particular this means that warnings without flags, such as those generated
by `reportWarning` in Template Haskell, can still be suppresed using `-w`.

- - - - -


30 changed files:

- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Types/Error.hs
- compiler/GHC/Utils/Error.hs
- docs/users_guide/using-warnings.rst
- testsuite/tests/corelint/LintEtaExpand.stderr
- testsuite/tests/corelint/T21115b.stderr
- testsuite/tests/deSugar/should_compile/T13290.stderr
- testsuite/tests/dependent/should_compile/T14066a.stderr
- testsuite/tests/driver/T20436/T20436.stderr
- testsuite/tests/ghc-api/T10052/T10052.stderr
- testsuite/tests/ghci.debugger/scripts/print007.stderr
- testsuite/tests/ghci/scripts/StaticPtr.stderr
- testsuite/tests/ghci/should_fail/T10549.stderr
- testsuite/tests/ghci/should_fail/T10549a.stderr
- testsuite/tests/indexed-types/should_compile/T9085.stderr
- testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr
- testsuite/tests/plugins/T19926.stderr
- testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr
- testsuite/tests/rename/should_compile/rn049.stderr
- testsuite/tests/safeHaskell/check/Check05.stderr
- testsuite/tests/safeHaskell/flags/SafeFlags18.stderr
- testsuite/tests/safeHaskell/ghci/p1.stderr
- testsuite/tests/safeHaskell/ghci/p14.stderr
- testsuite/tests/safeHaskell/ghci/p16.stderr
- testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr
- testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr
- testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr
- testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr
- testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr
- testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a2f4dbfd57ec8dc52db9b41761d3b958f6a143d5

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a2f4dbfd57ec8dc52db9b41761d3b958f6a143d5
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230324/c4d81021/attachment.html>


More information about the ghc-commits mailing list