Forked from
Glasgow Haskell Compiler / GHC
Adam Gundry
authored
Closes #17209. This implements GHC Proposal 541, allowing a WARNING pragma to be annotated with a category like so: {-# WARNING in "x-partial" head "This function is undefined on empty lists." #-} The user can then enable, disable and set the severity of such warnings using command-line flags `-Wx-partial`, `-Werror=x-partial` and so on. There is a new warning group `-Wextended-warnings` containing all these warnings. Warnings without a category are treated as if the category was `deprecations`, and are (still) controlled by the flags `-Wdeprecations` and `-Wwarnings-deprecations`. Updates Haddock submodule.
Code owners
Name | Last commit | Last update |
---|---|---|
.. | ||
GHC | ||
Language/Haskell | ||
cbits | ||
.hlint.yaml | ||
CodeGen.Platform.h | ||
GHC.hs | ||
LICENSE | ||
Setup.hs | ||
Unique.h | ||
flattening-notes | ||
ghc-llvm-version.h.in | ||
ghc.cabal.in | ||
profiling-notes |