Generalise GHC diagnostic code infrastructure
This commit generalises the infrastructure used for diagnostic codes, allowing it to be used for other namespaces than the GHC namespace. In particular, this enables GHCi to re-use the same infrastructure to emit error messages.
Showing
- compiler/GHC/Driver/Errors/Ppr.hs 2 additions, 2 deletionscompiler/GHC/Driver/Errors/Ppr.hs
- compiler/GHC/HsToCore/Errors/Ppr.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/Errors/Ppr.hs
- compiler/GHC/Iface/Errors/Ppr.hs 1 addition, 1 deletioncompiler/GHC/Iface/Errors/Ppr.hs
- compiler/GHC/Parser/Errors/Ppr.hs 1 addition, 1 deletioncompiler/GHC/Parser/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Ppr.hs 1 addition, 1 deletioncompiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Types/Error/Codes.hs 186 additions, 104 deletionscompiler/GHC/Types/Error/Codes.hs
- linters/lint-codes/LintCodes/Static.hs 3 additions, 2 deletionslinters/lint-codes/LintCodes/Static.hs
- linters/lint-codes/Main.hs 1 addition, 1 deletionlinters/lint-codes/Main.hs
Loading
Please register or sign in to comment