diff options
author | Richard Eisenberg <richard.eisenberg@tweag.io> | 2022-07-15 09:52:18 -0400 |
---|---|---|
committer | Richard Eisenberg <richard.eisenberg@tweag.io> | 2022-07-15 09:52:18 -0400 |
commit | 092512a47094b1b987ab9ba119d0cb059ad22b34 (patch) | |
tree | 8c6b2cdba8f4774ef56a9bf82a1045d5a6e47a26 | |
parent | 27406a5114d5641e203071a466fb89cdf569c18c (diff) | |
download | haskell-wip/T21684.tar.gz |
Uncomment check for unlisted codeswip/T21684
-rw-r--r-- | compiler/GHC/Types/Error.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Types/Error.hs b/compiler/GHC/Types/Error.hs index eec75c1ba5..a5dbe16ce3 100644 --- a/compiler/GHC/Types/Error.hs +++ b/compiler/GHC/Types/Error.hs @@ -260,8 +260,8 @@ fromGhcDiagnosticCode mk_ghc_dc = where check_code :: GhcDiagnosticCode -> GhcDiagnosticCode check_code ghc_code = -{- assertPpr (ghc_code `elem` allUsedDiagnosticCodes) - (text "Unknown diagnostic code:" <+> ppr ghc_code) $ -} + assertPpr (ghc_code `elem` allUsedDiagnosticCodes) + (text "Unknown diagnostic code:" <+> ppr ghc_code) $ ghc_code -- | A class identifying diagnostic message types within GHC. |